Interpreter - call internal procedures

This commit is contained in:
Ginger Bill committed 2016-10-30 19:20:47 +00:00
1 parent ca311c4a59
commit 0ffe4b600d
4 files changed
+582

No files matched your search

+5
View File
@@ -1,6 +1,11 @@
#import "fmt.odin"
main :: proc() {
foo :: proc(x: i64) -> i64 {
return -x + 1
}
x, y: i64 = 123, 321
y = x + 2 - y
x = foo(y)
}