Comments
Loading Dream Comments...
You must be logged in to write a comment - Log In
For space and time efficiency during compilation and expression evaluation, we have added yet another tag : $F8 (see the "F" drawing description). It is a quick Buf having exactly three elements, and with no symbol table or dope vector. It is typically used in expression parse trees, for example (<:: R (+ A (* B C)))) or its reflection (::> (+ A ( * B C))) R). These of course correspond to the source expressions
R <:: A + B * C; and A + B * C ::> R;
Nodes may also be useful in binary trees and other similar quick-lookup structures. The length field is implicitly 3 so is omitted, as is the flag byte and dope vector, thus a Node contains only data, i.e. $F8 X $ED A $ED B $00.
Nodes may of course contain other nodes (and usually do), typically during expression parsing.