editors

changeset 3:603a2c2dcf01

* Joe syntax file
author Jeremy Cowgar <jeremy@cowgar.com>
date Sat Aug 29 16:15:19 2009 +0000 (2009-08-29)
parents f585b44372fe
children 57c8640e8997
files joe/euphoria.jsf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/joe/euphoria.jsf	Sat Aug 29 16:15:19 2009 +0000
     1.3 @@ -0,0 +1,163 @@
     1.4 +# JOE syntax highlight file for Euphoria
     1.5 +# http://www.rapideuphoria.org
     1.6 +
     1.7 +=Idle fg_333
     1.8 +=Preproc blue bold 
     1.9 +=Comment bold fg_020
    1.10 +=Keyword bold fg_022 
    1.11 +=Type cyan
    1.12 +=Constant red
    1.13 +=Escape bold red
    1.14 +
    1.15 +:idle Idle
    1.16 +	*		rest		noeat
    1.17 +
    1.18 +:rest Idle
    1.19 +	*		rest
    1.20 +	"-"		maybe_comment	recolor=-1
    1.21 +	"\n"		idle
    1.22 +	"0-9"		decimal		recolor=-1
    1.23 +	"\""		string		recolor=-1
    1.24 +	"\'"		char		recolor=-1
    1.25 +	"a-zA-Z_"	ident		buffer
    1.26 +
    1.27 +:after_term Idle
    1.28 +	*		rest		noeat
    1.29 +	"	)]"	after_term
    1.30 +	"/%"		rest
    1.31 +
    1.32 +:maybe_comment Idle
    1.33 +	*		idle		noeat
    1.34 +	"-"		line_comment	recolor=-2
    1.35 +
    1.36 +:line_comment Comment
    1.37 +	*		line_comment
    1.38 +	"\n"		rest
    1.39 +
    1.40 +:string	Constant
    1.41 +	*		string
    1.42 +	"\""		idle
    1.43 +	"\\"		string_escape	recolor=-1
    1.44 +	"%"		string_control	recolor=-1
    1.45 +
    1.46 +:string_escape Escape
    1.47 +	*		string
    1.48 +	"x"		string_hex1
    1.49 +	"0-7"		string_octal2
    1.50 +	"\n"		string		recolor=-2
    1.51 +
    1.52 +:string_hex1 Escape
    1.53 +	*		string		noeat
    1.54 +	"0-9a-fA-F"	string_hex2
    1.55 +
    1.56 +:string_hex2 Escape
    1.57 +	*		string		noeat
    1.58 +	"0-9a-fA-F"	string
    1.59 +
    1.60 +:string_octal2 Escape
    1.61 +	*		string		noeat
    1.62 +	"0-7"		string_octal3
    1.63 +
    1.64 +:string_octal3 Escape
    1.65 +	*		string		noeat
    1.66 +	"0-7"		string
    1.67 +
    1.68 +:string_control Escape
    1.69 +	*		string
    1.70 +	"\""		string noeat
    1.71 +	"\n"		reset
    1.72 +	"0-9.\-+ #hjILtz$"	string_control
    1.73 +
    1.74 +:char Constant
    1.75 +	*		char
    1.76 +	"\n"		reset
    1.77 +	"'"		idle
    1.78 +	"\\"		char_escape	recolor=-1
    1.79 +
    1.80 +:char_escape	Escape
    1.81 +	*		char
    1.82 +	"x"		char_hex1
    1.83 +	"0-7"		char_octal2
    1.84 +	"\n"		char		recolor=-2
    1.85 +
    1.86 +:char_hex1 Escape
    1.87 +	*		char		noeat
    1.88 +	"0-9a-fA-F"	char_hex2
    1.89 +
    1.90 +:char_hex2 Escape
    1.91 +	*		char		noeat
    1.92 +	"0-9a-fA-F"	char
    1.93 +
    1.94 +:char_octal2 Escape
    1.95 +	*		char		noeat
    1.96 +	"0-7"		char_octal3
    1.97 +
    1.98 +:char_octal3 Escape
    1.99 +	*		char		noeat
   1.100 +	"0-7"		char
   1.101 +
   1.102 +:decimal Constant
   1.103 +	*		after_term	noeat
   1.104 +	"0-9_"		decimal
   1.105 +	"."		float
   1.106 +
   1.107 +:float Constant
   1.108 +	*		after_term	noeat
   1.109 +	"0-9_"		float
   1.110 +
   1.111 +:ident Idle
   1.112 +	*		after_term	noeat strings
   1.113 +	"as"		kw
   1.114 +	"and"		kw
   1.115 +	"break"		kw
   1.116 +	"by"		kw
   1.117 +	"case"		kw
   1.118 +	"constant"	kw
   1.119 +	"continue"	kw
   1.120 +	"do"		kw
   1.121 +	"end"		kw
   1.122 +	"else"		kw
   1.123 +	"elsif"		kw
   1.124 +	"exit"		kw
   1.125 +	"entry"		kw
   1.126 +	"enum"		kw
   1.127 +	"export"	kw
   1.128 +	"for"		kw
   1.129 +	"function"	kw
   1.130 +	"global"	kw
   1.131 +	"include"	kw
   1.132 +	"if"		kw
   1.133 +	"label"		kw
   1.134 +	"not"		kw
   1.135 +	"or"		kw
   1.136 +	"procedure"	kw
   1.137 +	"return"	kw
   1.138 +	"retry"		kw
   1.139 +	"switch"	kw
   1.140 +	"then"		kw
   1.141 +	"type"		kw
   1.142 +	"to"		kw
   1.143 +	"while"		kw
   1.144 +	"xor"		kw
   1.145 +	
   1.146 +	"atom"		typ
   1.147 +	"integer"	typ
   1.148 +	"sequence"	typ
   1.149 +	"object"	typ
   1.150 +	
   1.151 +	"ifdef"		prepro
   1.152 +	"elsifdef"	prepro
   1.153 +	"with"		prepro
   1.154 +	"without"	prepro
   1.155 +	
   1.156 +done
   1.157 +	"a-zA-Z0-9_"	ident
   1.158 +
   1.159 +:kw Keyword
   1.160 +	*	rest	noeat
   1.161 +
   1.162 +:typ Type
   1.163 +	*	rest	noeat
   1.164 +
   1.165 +:prepro Preproc
   1.166 +	*	rest	noeat

SCM Home | OpenEuphoria.org Home