Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 577 Bytes

README.md

File metadata and controls

33 lines (28 loc) · 577 Bytes

tack

very silly toy language

fn main(): i32 {
	return 42;
}

Features

  • own lexer & parser
  • very bad x86 codegen
  • literally nothing else

TODO

  • functions
  • variables
  • proper types (only supports i32 and bool atm)
  • if statements
  • else statements
  • else if
  • while statements
  • variable scoping in statements
  • string support
  • structs
  • external functions? (not writing my own malloc)
  • pointers
  • better build system (use temp folder maybe)
  • import
  • structs as function args
  • arrays