Skip to content

A hobby compiler with a LLVM backend implemented in Python with llvmlite

Notifications You must be signed in to change notification settings

gzalz/lang-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A hobby compiler with a LLVM backend implemented in Python with llvmlite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published