Skip to content

Aern-do/unnamed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unnamed

WIP

To Do

  • Lexer
  • Parser
  • Safe wrapper over LLVM
  • Compiler

Function declaration

func add(a: int, b: int) : int {
    a + b
}

return type is optional

func foo() {
    print("bar");
}

Variable declaration

let foo
let bar = 10
let mut foo
let mut bar = 10

If expression

if foo > bar {} else if foo < bar {} else {}
print(if foo == bar { 42 } else { 0 })

While expression

while i < 10 {}
print(while i < 10 { 0 })

About

Simple programming language written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published