Index of types
Index of exceptions
Index of values
Index of class attributes
Index of class methods
Index of classes
Index of modules


Commands
In this module there is the function to create the Intermediate Code for commands
Declaration
Here are all the functions used to generate the declaration table
Exceptions
Here are listed all the exceptions used into the program
Expressions
Here are all the functions to generate the intermediate code for the arithmetical and boolean expressions
Intermediate
This module contains all the informations about types, structures and classes that are used almost anywhere along the code; other specific objects are declared only where needed
Lexer
Main
This is the main function of the compiler, which s formed by five phases: 1-Generation of the Abstract Syntax Tree (with file output) 2-Generation of the Declarations Table 3-Generation of the Procedure Table 4-Generation of the Intermediate Code (with file output) 5-Generation of the Target Code (with file output)
Parser
Print
Contains the function to print the intermediate code into an output channel
Print_syntaxtree
Contains the functions to print the Abstract Syntax Tree
Semantic
Contains all the functions to perform a small semantic analisys, which means only type checking :) To do this has been introduced the "Semantic Type" which simplify the check
Subroutines
Contains the functions to create the procedure/function table
Syntaxtree
Target
Contains all the functions to generate the tagret code from the intermediate code instructions list All this methods return unit, or the string which has to be printed out