Heart of the mdc, the compiler!
- D 98.5%
- C++ 1.1%
- Shell 0.3%
| error_reporting | ||
| ir | ||
| mangle | ||
| parser | ||
| scripts | ||
| sem | ||
| test-suite | ||
| .gitignore | ||
| dub.json | ||
| LICENSE | ||
| readme.md | ||
Mai's Dlang Compiler (mdc)
A modern reimplementation of the D programming language.
License
The code in this repository is licensed under AGPL-3.0-or-later; for more details see the LICENSE file in the repository.
Structure
error_reportingcontains a package that allows using lib-error-reporting-cpp in dlangircontains a package for the complete IRparsercontains the complete parsing stage, including the ASTsemcontains the complete semantic analysis step; i.e. transforming AST into IRtest-suitecontains a test suite that tests the compiler at every stage
Roadmap
- Seperate AST from the parser into it's own package
- Implement semantic steps and an own IR (WIP)
- Translate IR into LLVMIR & build it (NIY)