dotfiles

My dotfiles.
git clone git://git.ryanmj.xyz/dotfiles.git
Log | Files | Refs | LICENSE

avr.jsf.in (2816B)


      1 # JOE syntax highlight file for AVR assembly language
      2 
      3 =Idle
      4 =Preproc	cyan		# basic color for directives
      5 =Inc		blue		# "include" - color
      6 =Def		magenta		# same for "def" and "equ"
      7 =Definit	cyan		# text after ".def" or ".equ"
      8 =Macro		red			# color of word "macro"
      9 =Path		cyan			# color for include-path
     10 =Com		yellow		# command
     11 =Comment	green		# comment-color
     12 =Label		red			# label
     13 
     14 
     15 :idle Idle
     16 	*				idle
     17 	"."				preproc		recolor=-1
     18 	";"				comment		recolor=-1
     19 	"a-zA-Z_0-9"	ident		recolor=-1 buffer mark
     20 
     21 :preproc Preproc
     22 	*			preproc
     23 	"a-zA-Z"	preident	buffer
     24 	"\n"		idle
     25 	";"			comment recolor=-1
     26 	
     27 :preident Preproc
     28 	*			preproc		noeat istrings
     29 	"include"	preinc
     30 	"def"		predef
     31 	"equ"		predef
     32 	"macro"		premacro
     33 	"endmacro"	premacro
     34 	"endm"		premacro
     35 done
     36 	"a-zA-Z"	preident
     37 	";"			comment		recolor=-1
     38 
     39 :preinc Inc
     40 	*			preinc
     41 	" \t"		path
     42 	"\n"		idle
     43 	";"			comment		recolor=-1
     44 
     45 :predef Def
     46 	*			predef
     47 	" \t"		definition
     48 	"\n"		idle
     49 	";"			comment		recolor=-1
     50 
     51 :definition Definit
     52 	*			definition
     53 	"\n"		idle
     54 	";"			comment		recolor=-1
     55 
     56 :premacro Macro
     57 	*			premacro 
     58 	" \t\n"		idle
     59 	";"			comment 	recolor=-1
     60 
     61 :path Path
     62 	*			path
     63 	"\n"		idle
     64 	";"			comment		recolor=-1
     65 
     66 :comment Comment
     67 	*			comment
     68 	"\n"		idle
     69 
     70 :ident Idle
     71 	*				idle noeat istrings
     72 	"and"		com
     73 	"andi"		com
     74 	"eor"		com
     75 	"or"		com
     76 	"ori"		com
     77 	"com"		com
     78 	"neg"		com
     79 	"clr"		com
     80 	"ser"		com
     81 	"cr"		com
     82 	"tst"		com
     83 	"swap"		com
     84 	"add"		com
     85 	"adc"		com
     86 	"adiw"		com
     87 	"sub"		com
     88 	"subi"		com
     89 	"sbc"		com
     90 	"sbci"		com
     91 	"sbiw"		com
     92 	"dec"		com
     93 	"inc"		com
     94 	"asr"		com
     95 	"lsl"		com
     96 	"lsr"		com
     97 	"rol"		com
     98 	"ror"		com
     99 	"mul"		com
    100 	"muls"		com
    101 	"mulsu"		com
    102 	"fmul"		com
    103 	"fmuls"		com
    104 	"fmulsu"	com
    105 	"cbr"		com
    106 	"sbr"		com
    107 	"sbi"		com
    108 	"cbi"		com
    109 	"bclr"		com
    110 	"bset"		com
    111 	"bld"		com
    112 	"bst"		com
    113 	"clc"		com
    114 	"sec"		com
    115 	"cln"		com
    116 	"sen"		com
    117 	"clz"		com
    118 	"sez"		com
    119 	"cli"		com
    120 	"sei"		com
    121 	"cls"		com
    122 	"ses"		com
    123 	"clv"		com
    124 	"sev"		com
    125 	"clt"		com
    126 	"set"		com
    127 	"clh"		com
    128 	"seh"		com
    129 	"mov"		com
    130 	"movw"		com
    131 	"ldi"		com
    132 	"ld"		com
    133 	"ldd"		com
    134 	"lds"		com
    135 	"st"		com
    136 	"std"		com
    137 	"sts"		com
    138 	"lpm"		com
    139 	"elpm"		com
    140 	"spm"		com
    141 	"espm"		com
    142 	"in"		com
    143 	"out"		com
    144 	"push"		com
    145 	"pop"		com
    146 	"rjmp"		com
    147 	"ijmp"		com
    148 	"eijmp"		com
    149 	"jmp"		com
    150 	"rcall"		com
    151 	"icall"		com
    152 	"eicall"	com
    153 	"call"		com
    154 	"ret"		com
    155 	"reti"		com
    156 	"cp"		com
    157 	"cpc"		com
    158 	"cpi"		com
    159 	"cpse"		com
    160 	"sbrc"		com
    161 	"sbrs"		com
    162 	"sbic"		com
    163 	"sbis"		com
    164 	"brbc"		com
    165 	"brbs"		com
    166 	"brcs"		com
    167 	"brcc"		com
    168 	"breq"		com
    169 	"brne"		com
    170 	"brsh"		com
    171 	"brlo"		com
    172 	"brmi"		com
    173 	"brpl"		com
    174 	"brge"		com
    175 	"brlt"		com
    176 	"brhs"		com
    177 	"brhc"		com
    178 	"brts"		com
    179 	"brtc"		com
    180 	"brvs"		com
    181 	"brvc"		com
    182 	"brid"		com
    183 	"brie"		com
    184 	"nop"		com
    185 	"sleep"		com
    186 	"wdr"		com
    187 done
    188 	"a-zA-Z0-9_"	ident
    189 	":"				itslabel recolor=-1 markend recolormark
    190 
    191 :itslabel Label
    192 	*			idle
    193 
    194 :com Com
    195 	*			idle noeat