A repository of example Terra programs
-
You can play around with the code in the Terra REPL:
terra -i file.t
evaluates the contents offile.t
and enters the REPL. -
Every Terra function
f
can be pretty-printed withf:printpretty()
and disassembled withf:disas()
, which shows the function's LLVM IR and assembly. -
Tested with Terra 1.0.1