Skip to content

Latest commit

 

History

History
43 lines (38 loc) · 1.55 KB

README.md

File metadata and controls

43 lines (38 loc) · 1.55 KB

graphite

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

Stargazers Last commit Issues

TODO

  • Lexer

  • Parser

  • Codegen

  • Type support & checking

  • Function definition

  • Variable definition

  • Mutable/Immutable variables (immutable by default btw)

  • Null (?, !!, null)

  • Binary expressions (=, ==, !=, +, -, /, *)

  • Unary expressions (*, &, -, +, ++, --, !)

  • If expression

  • For & While statement

  • Arrays

  • Structs (just works nothing else)

  • Module management (public, private, include) (garbage btw)

  • Object generation

  • Code optimization (LLVM IR Optimization, no optimization from graphite)

  • Stdlib

  • Maps

  • Scope management and ownership system similar to crab 🦀 (aka crap) or C++ RAII

  • Switch expression

  • CLI (graphite, graphitec)

  • OOP

  • Fix sturct gep issues

  • Struct semantic analysis

  • Make bang operator work with expressions (currently only supports variable reference)

  • Improve my garbage code

  • Fix stupid parser errors