Joe Groff
|
f9668be814
|
alien.enums: make enum>number foldable so it optimizes constant enums to constant ints, make number>enum a macro so it doesn't use c-type metadata at runtime
|
2010-04-20 17:05:14 -07:00 |
Erik Charlebois
|
fdeb305a3c
|
Use generic word for enum>number. Tests and documentations.
|
2010-04-19 20:08:40 -07:00 |
Erik Charlebois
|
baab8c060d
|
Remove ENUM: f and replace uses with CONSTANTs.
Fix bootstrap and load-all errors from enum classes.
|
2010-04-19 20:08:40 -07:00 |
Joe Groff
|
52903ee597
|
prettyprint ENUM: definitions
|
2010-04-19 20:07:18 -07:00 |
Joe Groff
|
d3f770d545
|
add alien.enums vocab with enum-c-types that convert between symbols and integer values in the FFI. update ENUM: to define symbolic enums, and take an optional base type
|
2010-04-19 20:07:18 -07:00 |