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