diff options
Diffstat (limited to 'dat.h')
-rw-r--r-- | dat.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,4 +1,6 @@ typedef struct Term Term; +typedef struct Binding Binding; + struct Term { int tag; @@ -13,6 +15,14 @@ struct Term uvlong clausenr; }; +struct Binding +{ + Rune *name; + uvlong nr; /* Unique number for each clause. Every time a clause is used, it gets a new number. */ + Term *value; + Binding *next; +}; + enum { CompoundTerm, AtomTerm, |