Skip to content

Fast (πŸš€), Memory safe (πŸš€), Simple (πŸš€) language compiler written in C++ (bad 😑) using LLVM (πŸš€)

License

Notifications You must be signed in to change notification settings

budchirp/graphite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

graphite

Fast (πŸš€), Memory safe (πŸš€), Simple (πŸš€) language compiler written in C++ (bad 😑) using LLVM (πŸš€)

Stargazers Last commit Issues

TODO

  • Lexer

  • Parser

  • Codegen

  • Type support

  • Type checking

  • Function definition

  • Variable definition

  • Mutable/Immutable variables

  • Null (?, !!, null)

  • If expression

  • For & While statement

  • Object generation

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

  • Arrays

  • Structs

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

  • Classes

  • Stdlib

  • Maps

  • Scope management and ownership system similar to crab lang

  • Switch expression

  • CLI

  • Seperate CLI, Compiler frontend, Compiler backend into submodules

  • Multiple codegen backend support

About

Fast (πŸš€), Memory safe (πŸš€), Simple (πŸš€) language compiler written in C++ (bad 😑) using LLVM (πŸš€)

Topics

Resources

License

Stars

Watchers

Forks