Chapter 6. Language Mechanics

Line Reading
Tokenization
Evaluation

This chapter provides technical details on how the FMSLogo language engine works.

When FMSLogo loads a Logo program, it repeats the following steps until it has processed all input:

  1. It reads a line from a stream of characters.

  2. The line is parsed into a sequence of tokens.

  3. The sequence of tokens is evaluated as an instruction list.

Each of these steps is explained in detail in the following sections.


SourceForge.net Logo