Skip to content

C compiler using antlr4 with cpp backend and using llvm for code generation

Notifications You must be signed in to change notification settings

paraka/c-compiler-antlr4-cpp-llvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c-compiler-antlr4-cpp-llvm

Writting a C compiler in c++ has been in my TODO list for a long time. It is time to make it real.

The idea is to use antlr4 (4.7 version) which let us to create a cpp backend from grammar and to use awesome llvm for code generation.

= Compile project =

$ mkdir build

$ cd build

$ cmake ..

$ make -j 8

About

C compiler using antlr4 with cpp backend and using llvm for code generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published