about summary refs log tree commit diff stats
path: root/archive/2.vm/display.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-01 15:55:12 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-01 15:55:12 -0800
commitdafef4e30fcfb53e6546ce0f53859bf9f1420dd2 (patch)
tree712ed1da30d3543b559b74703d319425873be525 /archive/2.vm/display.mu
parent612636182166a706ff1f64e1705a79ac233836fe (diff)
downloadmu-dafef4e30fcfb53e6546ce0f53859bf9f1420dd2.tar.gz
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.
Diffstat (limited to 'archive/2.vm/display.mu')
0 files changed, 0 insertions, 0 deletions
oat <hi@eli.li> 2023-12-30 16:17:09 -0500 *' href='/elioat/tour/commit/js/bird-words/README.md?id=c65877874732ba263f7dfc5eec6368af2a85cc41'>c658778 ^
1
2
3
4
5
6
7
8
9
10
11
12