about summary refs log tree commit diff stats
path: root/archive/2.vm/http-server.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/http-server.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/http-server.mu')
0 files changed, 0 insertions, 0 deletions