Skip to content

JasonNFS/Modern-Compiler-Implementation-in-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modern Compiler Implementation in C++

CMake CodeQL

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

C++ 17/20 implementation of book Modern Compiler Implementation in C.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published