Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/budchirp/graphite
Fast (🚀), Memory safe (🚀), Simple (🚀) language compiler written in C++ (bad 😡) using LLVM (🚀)
https://github.com/budchirp/graphite
compiler cpp llvm llvm-ir
Last synced: about 10 hours ago
JSON representation
Fast (🚀), Memory safe (🚀), Simple (🚀) language compiler written in C++ (bad 😡) using LLVM (🚀)
- Host: GitHub
- URL: https://github.com/budchirp/graphite
- Owner: budchirp
- License: gpl-3.0
- Created: 2024-12-02T18:02:25.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-01-24T00:00:22.000Z (14 days ago)
- Last Synced: 2025-02-04T17:18:33.604Z (2 days ago)
- Topics: compiler, cpp, llvm, llvm-ir
- Language: C++
- Homepage:
- Size: 569 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
graphite
Fast (🚀), Memory safe (🚀), Simple (🚀) language compiler written in C++ (bad 😡) using LLVM (🚀)
## TODO
- [x] Lexer
- [x] Parser
- [x] Codegen
- [x] Type support
- [x] Type checking
- [x] Function definition
- [x] Variable definition
- [x] Mutable/Immutable variables
- [x] Null (?, !!, null, nullptr)
- [x] If expression
- [x] For & While statement
- [x] Object generation
- [x] Code optimization (idk how well it works)
- [x] Arrays
- [ ] Structs
- [ ] Module management
- [ ] Classes
- [ ] Stdlib
- [ ] Maps
- [ ] Scope management and ownership system similar to crab lang
- [ ] Switch expression
- [ ] CLI- [ ] Multiple codegen backend support
- [ ] Fix bugs with pointers
- [ ] ~~Add unit tests~~