about summary refs log tree commit diff stats
path: root/archive/1.vm.arc/edit.arc.t
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/1.vm.arc/edit.arc.t
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/1.vm.arc/edit.arc.t')
0 files changed, 0 insertions, 0 deletions
pre>
3657eae ^
650a1fb ^


42277b1 ^
b2e98bf ^





eb184e0 ^



b2e98bf ^
605630c ^
650a1fb ^
eb184e0 ^
650a1fb ^

3791ec0 ^
f777d21 ^
eb184e0 ^


3791ec0 ^





eb184e0 ^



3791ec0 ^

0228dcd ^
eb184e0 ^


3791ec0 ^

eb184e0 ^





d8675f6 ^
eb184e0 ^




3791ec0 ^


eb184e0 ^

3791ec0 ^

eb184e0 ^


6458d72 ^

605630c ^
6649dcc ^
3791ec0 ^
f777d21 ^


650a1fb ^
605630c ^
1e7e57d ^
6649dcc ^
c3e5f5c ^

6649dcc ^

1e7e57d ^

d8675f6 ^

0680c76 ^

d8675f6 ^
3657eae ^
650a1fb ^
6649dcc ^
650a1fb ^

6649dcc ^
650a1fb ^
0dfe729 ^


3657eae ^
6458d72 ^

f60c597 ^
6458d72 ^
f1a34ae ^
650a1fb ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127