We implemented a compiler based on C++ for given Imperative programming language. See grammar of this language.
Prerequisites: bison, ILASM from .NET build tools. There are three options to run compiler:
- Compile to C# language and run.
make run file="your_file"
- Compile to CIL and run.
make run-cil file="your_file"
- Run tests from
tests
forder.
make test
Egor Shalagin, Vladislav Spigin, Maxim Latypov and Arseniy Rubtsov