Skip to content

A simple compiler to convert a crude input language into C++ source code. The compiler was written as part of the CS2CO18 module and was created using Lex and Yacc. It also attempts to fix code with simple errors where they are identified.

Notifications You must be signed in to change notification settings

Sam-Malpass/Simple-Compiler

Repository files navigation

Simple-Compiler

A simple compiler to convert a crude input language into C++ source code

Instructions

Put code to be compiled in "Test Code" and call it "Test Program". Then in the parent directory do "make Run" or "sudo make Run". The output will be put into the "Compiled Code" folder as "Main.cpp".

About

A simple compiler to convert a crude input language into C++ source code. The compiler was written as part of the CS2CO18 module and was created using Lex and Yacc. It also attempts to fix code with simple errors where they are identified.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published