Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 324 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 324 Bytes

lang-compiler: Hobby Programming Language Compiler

See code.lng for an example program.

Expressions

let {name}: {type} = expression

print(expression)

Variable names can be alphanumeric.

Types

  • u8: Unsigned 8-bit integer
  • str: String

Compiling

python3 compile.py <input file>

Running

./main