1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 22:54:23 +01:00
joe-syntax/scheme.jsf

75 lines
1015 B
Plaintext
Raw Normal View History

2015-05-01 23:32:18 +02:00
# JOE syntax highlight file for Scheme
=Idle
=Comment green
=Constant cyan
=Escape bold cyan
=Bad bold red
=Keyword bold
2015-05-02 21:03:17 +02:00
=Symbol red
2015-05-01 23:32:18 +02:00
:idle Idle
* idle
";" line_comment recolor=-1
"1-9" number recolor=-1
"\"" string recolor=-1
"'" symbol recolor=-1
"#" maybe_bool
"a-zA-Z_" ident buffer
:line_comment Comment
* line_comment
"\n" idle
:number Constant
* idle noeat
"0-9" number
:string Constant
* string
"\"" idle
2015-05-02 21:03:17 +02:00
:symbol Symbol
2015-05-01 23:32:18 +02:00
* idle noeat
"(" special_symbol
"a-zA-Z0-9_-" symbol
2015-05-02 21:03:17 +02:00
:special_symbol Symbol
2015-05-01 23:32:18 +02:00
* idle noeat
")" symbol
:maybe_bool Idle
* idle noeat
"tf" bool recolor=-2
:bool Constant
* idle noeat
:ident Idle
* idle noeat strings
"call-with-current-continuation" kw
"car" kw
"cdr" kw
"cons" kw
"define" kw
"even?" kw
"exact?" kw
"if" kw
"lambda" kw
"let" kw
"letrec" kw
"let*" kw
"list" kw
"map" kw
"null?" kw
"odd?" kw
"s" kw
"set!" kw
"zero?" kw
done
"a-zA-Z0-9_*!?-" ident
:kw Keyword
* idle noeat