The interpreter processes Better Scheme code in three phases. The first phase is the lexer which breaks the textual input into a serious of tokens. The second phase, the parser takes this stream of tokens and coverts it into an object structure representing the abstract syntax tree. This is aided by the fact that program and data are the same in Scheme. The final phase executes the object structure.
jwalker@cs.oberlin.edu |