ps.jsf (5932B)
1 # JOE syntax highlight file for Postscript 2 3 =Idle 4 =Ident 5 =Bad 6 =Comment 7 =Constant 8 =Boolean +Constant 9 =String +Constant 10 =StringEscape +Escape 11 =Number +Constant 12 =Keyword 13 14 :idle Idle 15 * idle 16 "%" line_comment recolor=-1 17 "0" first_digit recolor=-1 18 "1-9" decimal recolor=-1 19 "." maybe_float 20 "(<" string recolor=-1 save_c 21 "a-zA-Z_" ident buffer 22 23 :line_comment Comment comment 24 * line_comment 25 "BFHNTX" line_comment noeat call=comment_todo.comment_todo() 26 "\n" idle 27 28 :first_digit Number 29 * idle noeat 30 "xX" hex 31 "." float 32 "eE" epart 33 "0-7" octal 34 "89" bad_number recolor=-1 35 36 :bad_number Bad 37 * idle noeat 38 "0-9" bad_number 39 40 :octal Number 41 * idle noeat 42 "0-7" octal 43 "89" bad_number recolor=-1 44 45 :hex Number 46 * idle noeat 47 "0-9A-Fa-f" hex 48 49 :decimal Number 50 * idle noeat 51 "0-9" decimal 52 "eE" epart 53 "." float 54 55 :maybe_float Number 56 * idle recolor=-2 noeat 57 "0-9" float recolor=-2 58 59 :float Number 60 * idle noeat 61 "eE" epart 62 "0-9" float 63 64 :epart Number 65 * idle noeat 66 "0-9+\-" enum 67 68 :enum Number 69 * idle noeat 70 "0-9" enum 71 72 :string String string 73 * string 74 & idle 75 "\\" string_escape recolor=-1 76 "%" string_control recolor=-1 77 78 :string_escape StringEscape string 79 * string 80 "x" string_hex1 81 "0-7" string_octal2 82 "\n" string recolor=-2 83 84 :string_hex1 StringEscape string 85 * string noeat 86 "0-9a-fA-F" string_hex2 87 88 :string_hex2 StringEscape string 89 * string noeat 90 "0-9a-fA-F" string 91 92 :string_octal2 StringEscape string 93 * string noeat 94 "0-7" string_octal3 95 96 :string_octal3 StringEscape string 97 * string noeat 98 "0-7" string 99 100 :string_control StringEscape string 101 * string_control 102 "\n" idle 103 "diouxXeEfFgGaAcspn%SC" string 104 105 :ident Ident 106 * idle noeat istrings 107 "exch" kw 108 "pop" kw 109 "copy" kw 110 "dup" kw 111 "index" kw 112 "roll" kw 113 "clear" kw 114 "count" kw 115 "mark" kw 116 "cleartomark" kw 117 "countomark" kw 118 "add" kw 119 "div" kw 120 "sub" kw 121 "idiv" kw 122 "mul" kw 123 "mod" kw 124 "abs" kw 125 "neg" kw 126 "ceiling" kw 127 "floor" kw 128 "round" kw 129 "truncate" kw 130 "sqrt" kw 131 "atan" kw 132 "cos" kw 133 "sin" kw 134 "exp" kw 135 "ln" kw 136 "log" kw 137 "rand" kw 138 "srand" kw 139 "rrand" kw 140 "array" kw 141 "length" kw 142 "get" kw 143 "put" kw 144 "getinterval" kw 145 "putinterval" kw 146 "aload" kw 147 "astore" kw 148 "copy" kw 149 "forall" kw 150 "dict" kw 151 "length" kw 152 "maxlength" kw 153 "begin" kw 154 "end" kw 155 "def" kw 156 "load" kw 157 "store" kw 158 "get" kw 159 "put" kw 160 "known" kw 161 "where" kw 162 "copy" kw 163 "forall" kw 164 "errordict" kw 165 "systemdict" kw 166 "userdict" kw 167 "currentdict" kw 168 "countdictstack" kw 169 "dictstack" kw 170 "string" kw 171 "length" kw 172 "get" kw 173 "put" kw 174 "getinterval" kw 175 "putinterval" kw 176 "copy" kw 177 "forall" kw 178 "anchorsearch" kw 179 "search" kw 180 "token" kw 181 "eq" kw 182 "ne" kw 183 "ge" kw 184 "gt" kw 185 "le" kw 186 "lt" kw 187 "and" kw 188 "not" kw 189 "or" kw 190 "xor" kw 191 "true" bool 192 "false" bool 193 "bitshift" kw 194 "exec" kw 195 "if" kw 196 "ifelse" kw 197 "for" kw 198 "repeat" kw 199 "loop" kw 200 "exit" kw 201 "stop" kw 202 "stopped" kw 203 "countexecstack" kw 204 "execstack" kw 205 "quit" kw 206 "start" kw 207 "type" kw 208 "cvlit" kw 209 "cvx" kw 210 "xcheck" kw 211 "executeonly" kw 212 "noaccess" kw 213 "readonly" kw 214 "rcheck" kw 215 "wcheck" kw 216 "cvi" kw 217 "cvn" kw 218 "cvr" kw 219 "cvrs" kw 220 "cvs" kw 221 "file" kw 222 "closefile" kw 223 "read" kw 224 "write" kw 225 "readhexstring" kw 226 "writehexstring" kw 227 "readstring" kw 228 "writestring" kw 229 "readline" kw 230 "token" kw 231 "bytesavailable" kw 232 "flush" kw 233 "flushfile" kw 234 "resetfile" kw 235 "status" kw 236 "run" kw 237 "currentfile" kw 238 "print" kw 239 "stack" kw 240 "pstack" kw 241 "prompt" kw 242 "echo" kw 243 "save" kw 244 "restore" kw 245 "vmstatus" kw 246 "bind" kw 247 "null" kw 248 "usertime" kw 249 "version" kw 250 "gsave" kw 251 "grestore" kw 252 "grestoreall" kw 253 "initgraphics" kw 254 "setlinewidth" kw 255 "currentlinewidth" kw 256 "setlinecap" kw 257 "currentlinecap" kw 258 "setlinejoin" kw 259 "currentlinejoin" kw 260 "setmiterlimit" kw 261 "currentmiterlimit" kw 262 "setdash" kw 263 "currentdash" kw 264 "setflat" kw 265 "currentflat" kw 266 "setgray" kw 267 "currentgray" kw 268 "sethsbcolor" kw 269 "currenthsbcolor" kw 270 "setrgbcolor" kw 271 "currentrgbcolor" kw 272 "setscreen" kw 273 "currentscreen" kw 274 "settransfer" kw 275 "currenttransfer" kw 276 "matrix" kw 277 "initmatrix" kw 278 "identmatrix" kw 279 "defaultmatrix" kw 280 "currentmatrix" kw 281 "setmatrix" kw 282 "translate" kw 283 "translate" kw 284 "scale" kw 285 "scale" kw 286 "rotate" kw 287 "concat" kw 288 "concatmatrix" kw 289 "transform" kw 290 "transform" kw 291 "dtransform" kw 292 "dtransform" kw 293 "itransform" kw 294 "itransform" kw 295 "idtransform" kw 296 "idtransform" kw 297 "invertmatrix" kw 298 "newpath" kw 299 "currentpoint" kw 300 "moveto" kw 301 "rmoveto" kw 302 "lineto" kw 303 "rlineto" kw 304 "arc" kw 305 "arcn" kw 306 "arcto" kw 307 "curveto" kw 308 "rcurveto" kw 309 "closepath" kw 310 "flattenpath" kw 311 "reversepath" kw 312 "strokepath" kw 313 "charpath" kw 314 "clippath" kw 315 "pathbbox" kw 316 "pathforall" kw 317 "initclip" kw 318 "clip" kw 319 "eoclip" kw 320 "erasepage" kw 321 "fill" kw 322 "eofill" kw 323 "stroke" kw 324 "image" kw 325 "imagemask" kw 326 "showpage" kw 327 "copypage" kw 328 "banddevice" kw 329 "framedevice" kw 330 "nulldevice" kw 331 "renderbands" kw 332 "definefont" kw 333 "findfont" kw 334 "scalefont" kw 335 "makefont" kw 336 "setfont" kw 337 "currentfont" kw 338 "show" kw 339 "ashow" kw 340 "widthshow" kw 341 "awidthshow" kw 342 "kshow" kw 343 "stringwidth" kw 344 "cachestatus" kw 345 "setcachedevice" kw 346 "setcharwidth" kw 347 "setcachelimit" kw 348 "dictfull" kw 349 "dictstackoverflow" kw 350 "dictstackunderflow" kw 351 "execstackoverflow" kw 352 "handleerror" kw 353 "interrupt" kw 354 "invalidaccess" kw 355 "invalidexit" kw 356 "invalidfileaccess" kw 357 "invalidfont" kw 358 "invalidrestore" kw 359 "ioerror" kw 360 "limitcheck" kw 361 "nocurrentpoint" kw 362 "rangecheck" kw 363 "stackoverflow" kw 364 "stackunderflow" kw 365 "syntaxerror" kw 366 "timeout" kw 367 "typecheck" kw 368 "undefined" kw 369 "undefinedfilename" kw 370 "undefinedresult" kw 371 "unmatchedmark" kw 372 "unregistered" kw 373 done 374 "a-zA-Z0-9_\-" ident 375 376 :kw Keyword 377 * idle noeat 378 379 :bool Boolean 380 * idle noeat