- fork the repo
git clone https://github.com/[your_username]/tof.git- run
cargo install - run
cargo run -- run example
// this is a sum example
sum : _ -> {
num1 : int (scan "num1 = " )
num2 : int (scan "num2 = ")
print "result = " (num1 + num2)
}
sum _
run cargo install to install tof so you can call tof using tof name
tof run filenametof playtof run filename --show-tokens
