The Pencil Compiler Architecture

The Pencil compiler consists of several major blocks which are common in compiler designs: lexer, parser, symbol table, error handler, the runtime environment, and the code generator. The relationship between these components is demonstrated in Figure 1. The code generator is not explicitly shown; but with the parser these two components are implemented… CONTINUE READING