Solution of Complier Lab Assgn., IIT Kharagpur
-
Updated
Jan 10, 2019 - Yacc
Solution of Complier Lab Assgn., IIT Kharagpur
A small compiler written in C using Flex and Bison that supports the following features - While loops, for loops, simple arithmetic expressions, array declaration and access. The compiler takes as input a program written in a custom language (like C) and generates assembly code that can run on MARS simulator.
Different grammar rules were developed with the purpose of simulate the behaviour of a syntactic analyzer for Tiny C, a subset of the C language
IT250 Mini Project to contruct a C Compiler using Lex, Yacc and Python
Add a description, image, and links to the compilers-design topic page so that developers can more easily learn about it.
To associate your repository with the compilers-design topic, visit your repo's landing page and select "manage topics."