]> gitweb.factorcode.org Git - factor.git/blobdiff - misc/fuel/strange-syntax.factor
colors: merge colors.constants and colors.hex.
[factor.git] / misc / fuel / strange-syntax.factor
index 5c52c48ea9b302a2e8890146d874eed2bb0f1edd..32d04f6ee524ffeaf6b45e72afd41a436a90ee5b 100644 (file)
@@ -1,6 +1,5 @@
-USING: accessors alien.c-types alien.syntax
-classes.struct colors.constants colors.hex kernel literals logging
-math ;
+USING: accessors alien.c-types alien.syntax classes.struct
+colors kernel literals logging math ;
 IN: strange
 
 ! FUEL Syntax Demo
@@ -96,7 +95,7 @@ FUNCTION: int futimes ( int id,
 FUNCTION: int booyah ( int x )
 FUNCTION-ALIAS: test int bah ( int* ah, int[] eh )
 
-HEXCOLOR: ffffff COLOR: green NAN: 1234 CHAR: m ALIEN: 93
+COLOR: #ffffff COLOR: green NAN: 1234 CHAR: m ALIEN: 93
 2drop 2drop drop
 
 PRIMITIVE: one ( a -- b )