Skip to content

Latest commit

 

History

History

Assignment 5

In this assignment, you are expected to generate Machine Independent Code for the compiler.


Contents:

A5_42.c : Contains main function A5_42.l : Contains FLEX specifications A5_42.y : Contains BISON specifications A5_42.nc : nanoC file (to test FLEX token specifications) A5_42_translator.cpp: symbol table generator Makefile : To "make" / "make clean" to test nanoC file (nc) This produces output.txt / removes output.txt make test: to test all 5 input (nc) output.txt : Generated after running Makefile