Compilers Review

While studying for my compilers final, I made a map of the information covered (using kdissert):

Tagged Tags: , on May 14, 2010 at 7:31 pm

Pyth Compiler

An x86 compiler for Pyth (a Python dialect)

The core lexer and parser are generated using Flex and Bison, from which the parser outputs an AST tree. Static analysis is preformed on the tree generating errors or producing a tree decorated with declaration, type and scope information. The tree is then transformed into an intermediate language (IL) for a virtual machine. Optionally, the IL can also be compiled down to assembly language (IA32) and used to produce a standalone executable.

Download: Source (C++)

Tagged on May 1, 2010 at 12:00 am