An open API service indexing awesome lists of open source software.

https://github.com/wild-queue/imperative-language-compiler

A tool for running code written in an imperative programming language. This tool provides the ability to run code written in a toy imperative programming language by translating the code into C# code (and then running it using .Net) or by translating it directly into the .Net CIL. It also performs a type checking before running the code.
https://github.com/wild-queue/imperative-language-compiler

bison-flex compiler-construction cpp csharp dotnet makefile parser programming-language-translator

Last synced: about 1 month ago
JSON representation

A tool for running code written in an imperative programming language. This tool provides the ability to run code written in a toy imperative programming language by translating the code into C# code (and then running it using .Net) or by translating it directly into the .Net CIL. It also performs a type checking before running the code.

Awesome Lists containing this project

README

        

# About The Project

We implemented a compiler based on C++ for given Imperative programming language. See [grammar](GRAMMAR.md) of this language.

## Usage
Prerequisites: bison, ILASM from .NET build tools.
There are three options to run compiler:
1. Compile to C# language and run.
```c
make run file="your_file"
```
2. Compile to CIL and run.
```c
make run-cil file="your_file"
```
3. Run tests from `tests` forder.
```c
make test
```
## Authors of the project

Egor Shalagin, Vladislav Spigin, Maxim Latypov and Arseniy Rubtsov