Back to wiki

RCS History

/ TOP / internals.mdwn

Differences for revision 1.5 from 1.4


--- /internals.mdwn	2007/09/27 18:15:32	1.4
+++ /internals.mdwn	2007/09/27 18:23:04	1.5
@@ -2,6 +2,8 @@
 
 The compiler is conceptually structured in two parts: [[pass1]] which is language-dependent, does parsing, typechecking and build trees, and [[pass2]] which is mostly language-independent.
 
+The main data structure used through the whole compiler is the [[NODE]]. The parse trees are built out of [[NODE]]s and it is the underlying data structure when generating code.
+
 The instruction generator searches for largest coverable tree, as described
 in the Dragon [book](books) for example, but with additions from me to find the most
 efficient instruction when there are multiple choices.

Powered by rcshistory.cgi 0.3