An open API service indexing awesome lists of open source software.

https://github.com/techy4shri/shri-cpp-compiler

An opensource Cpp compiler for compiling latest versions of cpp programs, built as an alternative for Dev Cpp.
https://github.com/techy4shri/shri-cpp-compiler

compiler compiler-design cpp cpp-compiler developer-tools

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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)
- [x] 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

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