Skip to content

Wyatt419/Modern-Compiler-Implementation-in-cpp

 
 

Repository files navigation

Modern Compiler Implementation in C++

CMake

This is a c++ 17/20 implementation of book Modern Compiler Implementation in C. Still in working, any question or suggestion are welcome :)

Lexer ✅ | Parser ✅ | AST ☑️ | Semantic ☑️ | IR ☑️ | Back End ☑️

Build

mkdir build
cd build && cmake ..
cmake --build .
ctest # run unit test and regression test.

Implementation

Lexer & parser

Lexer use flex to implement the token scanner. Parser use Bison to implement the context free grammer.

About

Modern Compiler Implementation in c++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.4%
  • CMake 1.3%
  • Shell 0.3%