This a project to learn Compiler Design and Implementation. The goal is to implement a compiler for a C-like programming language.
In order to build and run the project you need to have the following dependencies installed:
To build the project, browse to the root folder and run the following command:
dotnet build
To compile a source file run the following command:
dotnet run <source-file>
Example:
dotnet run examples/hello.cp
Note: Actually the compiler just prints the diagnostic and the AST of the source file.
This project is licensed under the MIT License - see the LICENSE file for details.