From 2363ceebafdf3a5d75f350b94f6e699874b143cd Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 27 Jan 2020 02:23:31 -0800 Subject: 5932 --- html/apps/ex2.2.mu.html | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 html/apps/ex2.2.mu.html (limited to 'html/apps/ex2.2.mu.html') diff --git a/html/apps/ex2.2.mu.html b/html/apps/ex2.2.mu.html new file mode 100644 index 00000000..3a011474 --- /dev/null +++ b/html/apps/ex2.2.mu.html @@ -0,0 +1,70 @@ + + + + +Mu - apps/ex2.2.mu + + + + + + + + + + +https://github.com/akkartik/mu/blob/master/apps/ex2.2.mu +
+ 1 fn main -> result/ebx: int {
+ 2   result <- foo
+ 3 }
+ 4 
+ 5 fn foo -> result/ebx: int {
+ 6   var n: int
+ 7   copy-to n 3
+ 8   increment n
+ 9   result <- copy n
+10 }
+
+ + + -- cgit 1.4.1-2-gfad0 da'>blame)
1
2
3
4
5
6