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.
- Host: GitHub
- URL: https://github.com/techy4shri/shri-cpp-compiler
- Owner: techy4shri
- License: agpl-3.0
- Created: 2025-07-04T11:55:07.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-07-10T20:02:27.000Z (6 months ago)
- Last Synced: 2025-07-19T10:56:22.748Z (6 months ago)
- Topics: compiler, compiler-design, cpp, cpp-compiler, developer-tools
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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