diff options
Diffstat (limited to 'dat.h')
-rw-r--r-- | dat.h | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -1 +1,28 @@ +typedef struct Term Term; +struct Term +{ + int tag; + + Rune *text; + int arity; + Term *next; + Term *children; + int numbertype; + vlong ival; + double dval; +}; + +enum { + CompoundTerm, + AtomTerm, + VariableTerm, + NumberTerm, + StringTerm, +}; + +enum { + NumberInt, + NumberFloat, +}; + int debug;
\ No newline at end of file |