Skip to content

Latest commit

 

History

History

Assignment 6

In this assignment, you are expected to generate the Target Code for the Compiler.


Contents:

A6_42.c : Contains main function

A6_42.l : Contains FLEX specifications

A6_42.y : Contains BISON specifications

A6_42.nc : nanoC file (to test FLEX token specifications)

A6_42_target_translator.cpp: Target code translator

A6_42_translator.cpp: symbol table generator

Makefile : To "make" / "make clean" to test nanoC file (nc) This produces output / removes output

: make test1
./test1

: make test2
./test2

: make test3
./test3

: make test4
./test4

: make test5
./test5