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 days 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 & checking
- [x] Function definition
- [x] Variable definition
- [x] Mutable/Immutable variables
- [x] Null (?, !!, null)
- [x] Binary expressions (=, ==, !=, +, -, /, *)
- [x] Unary expressions (*, &, -, +, ++, --, !)
- [x] If expression
- [x] For & While statement
- [x] Arrays
- [x] Structs (just works nothing else)
- [x] Module management (public, private, include)
- [x] Object generation
- [x] Code optimization (LLVM IR Optimization)

- [x] Inline assembly
- [ ] Better compiler (for module management)
- [ ] Stdlib
- [ ] Maps
- [ ] Scope management and ownership system similar to crab 🦀 (aka crap) or C++ RAII
- [ ] Switch expression
- [ ] CLI (graphite, graphitec)
- [ ] OOP
- [ ] Extern fn and var