dafef4e30f
I can now run this program: fn main -> result/ebx: int { result <- do-add 3 4 } fn do-add a: int, b: int -> result/ebx: int { result <- copy a result <- add b } We still can't define local variables, but can write any programs involving ints by passing in enough arguments for temporaries. |
||
---|---|---|
.. | ||
Readme.md | ||
assort | ||
assort.subx | ||
braces | ||
braces.subx | ||
calls | ||
calls.subx | ||
crenshaw2-1 | ||
crenshaw2-1.subx | ||
crenshaw2-1b | ||
crenshaw2-1b.subx | ||
dquotes | ||
dquotes.subx | ||
factorial | ||
factorial.subx | ||
factorial2.subx | ||
factorial3.subx | ||
factorial4.subx | ||
handle | ||
handle.subx | ||
hex | ||
hex.subx | ||
mu | ||
mu.subx | ||
mulisp.subx | ||
pack | ||
pack.subx | ||
random | ||
random.subx | ||
sigils | ||
sigils.subx | ||
subx-params.subx | ||
survey | ||
survey.subx | ||
tests | ||
tests.subx |
Readme.md
Larger programs than in the examples/ subdirectory, combining the techniques demonstrated there.