
Project: Compiler for a MiniC 351
Various components which make up miniC front-end are:
miniC.c generated from miniC.y – the grammar specification file – by yacc. Contains code for
yylex(), several utility functions and yacc action terms for generating the RPN IR, 4-tuple
list IR and non-optimized assembly code.
init.c initializes the Symbol Table by inserting pre-defined constants, keywords and built-in functions.
symbol.c contains functions for the Symbol Table creation, insertion and access.
codegen.c contains functions for generating non-optimized assembly language code for each of
the parsed source language construct.
tb_print.c provides code ...