mu/apps
Kartik Agaram dafef4e30f 5849 - more integration testing of function calls
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.
2020-01-01 15:55:12 -08:00
..
Readme.md 5499 2019-07-31 15:28:23 -07:00
assort 5847 - literal inputs 2019-12-31 21:58:52 -08:00
assort.subx 5804 2019-12-08 23:31:05 -08:00
braces 5847 - literal inputs 2019-12-31 21:58:52 -08:00
braces.subx 5804 2019-12-08 23:31:05 -08:00
calls 5847 - literal inputs 2019-12-31 21:58:52 -08:00
calls.subx 5844 2019-12-30 01:21:00 -08:00
crenshaw2-1 5847 - literal inputs 2019-12-31 21:58:52 -08:00
crenshaw2-1.subx 5804 2019-12-08 23:31:05 -08:00
crenshaw2-1b 5847 - literal inputs 2019-12-31 21:58:52 -08:00
crenshaw2-1b.subx 5804 2019-12-08 23:31:05 -08:00
dquotes 5847 - literal inputs 2019-12-31 21:58:52 -08:00
dquotes.subx 5804 2019-12-08 23:31:05 -08:00
factorial 5847 - literal inputs 2019-12-31 21:58:52 -08:00
factorial.subx 5804 2019-12-08 23:31:05 -08:00
factorial2.subx 5809 2019-12-09 16:53:57 -08:00
factorial3.subx 5809 2019-12-09 16:53:57 -08:00
factorial4.subx 5809 2019-12-09 16:53:57 -08:00
handle 5847 - literal inputs 2019-12-31 21:58:52 -08:00
handle.subx 5804 2019-12-08 23:31:05 -08:00
hex 5847 - literal inputs 2019-12-31 21:58:52 -08:00
hex.subx 5804 2019-12-08 23:31:05 -08:00
mu 5849 - more integration testing of function calls 2020-01-01 15:55:12 -08:00
mu.subx 5849 - more integration testing of function calls 2020-01-01 15:55:12 -08:00
mulisp.subx 5804 2019-12-08 23:31:05 -08:00
pack 5847 - literal inputs 2019-12-31 21:58:52 -08:00
pack.subx 5804 2019-12-08 23:31:05 -08:00
random 5522 - example app: random number stream 2019-08-20 00:20:38 -07:00
random.subx 5661 2019-09-15 00:29:52 -07:00
sigils 5847 - literal inputs 2019-12-31 21:58:52 -08:00
sigils.subx 5804 2019-12-08 23:31:05 -08:00
subx-params.subx 5765 2019-11-26 22:11:23 -08:00
survey 5847 - literal inputs 2019-12-31 21:58:52 -08:00
survey.subx 5804 2019-12-08 23:31:05 -08:00
tests 5847 - literal inputs 2019-12-31 21:58:52 -08:00
tests.subx 5804 2019-12-08 23:31:05 -08:00

Readme.md

Larger programs than in the examples/ subdirectory, combining the techniques demonstrated there.