Embeddable scripting language
function add |x, y| does
returns x + y
end
add |1, 2|
function hello do
print "Hello, World!"
end
hello
# Regular comment
- Remove return keyword, have like rust where if there are just tokens then return the result of the tokens.
- Problem wtih spaces being picked up in lexer, which makes stuff like function calls, variable references, numbers, strings not be recognized and tokonized correctly.
git clone https://github.com/johron/vol.git
cd vol
cargo build