File: jcf.jsf

package info (click to toggle)
joe 4.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,308 kB
  • sloc: ansic: 51,623; sh: 4,358; makefile: 149; csh: 26
file content (86 lines) | stat: -rw-r--r-- 1,324 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# JOE syntax highlight file for Joe Colors

=Idle
=Comment
=Preproc
=Define		+DefinedIdent
=ColorSection	+Preproc
=BuiltinSpec	+Keyword
=ColorAttr	+Keyword
=ColorDef	+Type
=ColorRef	+Type
=Constant
=Number		+Constant
=Operator
=Macro		+Variable +Escape

:idle Idle
	*		idle
	"#"		comment		recolor=-1
	"0-9"		number		recolor=-1
	"$"		hex_color	recolor=-1
	"*"		asterisk	recolor=-1
	"="		color_def	recolor=-1
	"+"		color_ref	recolor=-1
	"."		pre		recolor=-1 buffer
	"/"		slash		recolor=-1
	"-"		builtin		recolor=-1
	"["		macro_ref	recolor=-1
	"a-zA-Z"	attribute	recolor=-1

:comment Comment comment
	*		comment
	"\n"		idle

:number Number
	*		idle		noeat
	"0-9"		number

:hex_color Number
	*		idle		noeat
	"0-9a-fA-F"	hex_color

:asterisk Operator
	*		idle		noeat

:slash Operator
	*		idle		noeat

:color_def ColorDef
	*		idle		noeat
	"\c."		color_def

:color_ref ColorRef
	*		idle		noeat
	"\c."		color_ref

:pre Preproc
	*		idle		noeat strings
	".colors"	color_section
	".set"		macro_def
done
	"\c"		pre

:color_section ColorSection
	*		idle		noeat

:macro_def Preproc
	*		idle
	" \t"		macro_def
	"\i"		macro_name	noeat

:macro_name Define
	*		idle
	"\i\c"		macro_name

:macro_ref Macro
	*		macro_ref
	"\n]"		idle

:builtin BuiltinSpec
	*		idle		noeat
	"\c"		builtin

:attribute ColorAttr
	*		idle		noeat
	"a-zA-Z"	attribute