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: 3 months ago
JSON representation

Fast (🚀), Memory safe (🚀), Simple (🚀) language compiler written in C++ (bad 😡) using LLVM (🚀)

Awesome Lists containing this project

README

        


graphite


Fast (🚀), Memory safe (🚀), Simple (🚀) language compiler written in C++ (bad 😡) using LLVM (🚀)



Stargazers
Last commit
Issues

## 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)
- [x] If expression
- [x] For & While statement
- [x] Object generation
- [x] Code optimization (LLVM IR Optimization, no optimization from graphite)
- [x] Arrays
- [ ] Structs
- [x] Module management (garbage)
- [ ] Classes
- [ ] Stdlib
- [ ] Maps
- [ ] Scope management and ownership system similar to crab lang
- [ ] Switch expression
- [ ] CLI

- [ ] Rename `use` to `include`

- [ ] Multiple codegen backend support

- [ ] Fix bugs with pointers
- [x] Move type resolving logic to somewhere else from the parser

- [ ] ~~Add unit tests~~