Skip to content

An opensource Cpp compiler for compiling latest versions of cpp programs, built as an alternative for Dev Cpp.

License

Notifications You must be signed in to change notification settings

techy4shri/Shri-Cpp-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Shri-Cpp-Compiler

An opensource Cpp compiler for compiling latest versions of cpp programs, built as an alternative for Dev Cpp. This is mainly built for compiling latest cpp versions in the computer labs at my college because VS Code is bulky for them but feel free to check it out and use yourself.

Features (In Progress)

  • Lexical analysis
  • Parsing using recursive descent
  • AST and symbol table generation
  • Semantic checks
  • Intermediate Code Generation (IR)
  • Basic Optimization
  • Assembly/Machine Code Generation

Project Structure

See docs/architecture.md for full phase diagram and flow.

Build Instructions

mkdir build && cd build
cmake ..
make
./cpp-compiler ../test/samples/hello.cpp

About

An opensource Cpp compiler for compiling latest versions of cpp programs, built as an alternative for Dev Cpp.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published