'(":" "::" ";" ":>" "&:" "<<" "<PRIVATE" ">>"
"ABOUT:" "ARTICLE:"
"B"
- "COLOR:"
"CONSULT:" "call-next-method"
"EBNF:" ";EBNF"
"FOREIGN-ATOMIC-TYPE:" "FOREIGN-ENUM-TYPE:" "FOREIGN-RECORD-TYPE:" "FUNCTION-ALIAS:"
,(factor-syntax factor-word-definition-regex '("P" "W"))
,(factor-syntax (syntax-and-2-symbols '("ALIAS")) '("P" "W" "W"))
,(factor-syntax (syntax-and-2-symbols '("LOG")) '("P" "W" ""))
- ,(factor-syntax (syntax-and-1-symbol '("ALIEN" "CHAR" "NAN")) '("P" "CT"))
+ ,(factor-syntax (syntax-and-1-symbol '("ALIEN" "CHAR" "COLOR" "NAN" "HEXCOLOR")) '("P" "CT"))
,(factor-syntax factor-types-lines-regex '("P" "T"))
(,factor-float-regex . 'factor-font-lock-number)
-USING: accessors alien.c-types alien.syntax byte-arrays.hex kernel
-literals logging math ;
+USING: accessors alien.c-types alien.syntax byte-arrays.hex
+classes.struct colors.constants colors.hex kernel literals logging
+math ;
IN: strange
! FUEL Syntax Demo
HEX{ ab cd ef } drop
! ! Alien functions
+STRUCT: timeval
+ { sec long }
+ { usec long } ;
+
FUNCTION: int futimes ( int id, timeval[2] times )
FUNCTION: int booyah ( int x )
FUNCTION-ALIAS: test int bah ( int* ah, int[] eh )
+
+HEXCOLOR: ffffff COLOR: green NAN: 1234 CHAR: m ALIEN: 93
+2drop 2drop drop