Go to file
greg 169e662049 Collapse Separator tokens
only ever gonna be one in a row
2017-09-19 22:10:52 -07:00
src Collapse Separator tokens 2017-09-19 22:10:52 -07:00
.gitignore Initial commit 2017-09-19 22:10:51 -07:00
Cargo.toml Initial commit 2017-09-19 22:10:51 -07:00
Grammar Editing Grammar 2017-09-19 22:10:52 -07:00
README null is also a keyword 2017-09-19 22:10:51 -07:00

No-runtime-value-error-language

A language wth a largely-python-like where there are no value errors. Can call null like a function



Grammar:

#comments are hashes
# newlines are equivalent to semicolons for breaking up statements

let a = 1.3; let b = "string literal"
let c = 2

if a < 3 then any(); number(); of(); exprs(); else whatever(); end

while condition; do(); whatever(); let a = 3; a; end

#function definition
fn my_function(arg1, arg2); statements(); end


Keywords:
if, then, else, while, let, fn, end, null