Type parser

This commit is contained in:
2026-03-05 19:32:31 +11:00
parent f1eee4f6a8
commit 00ef8a7d56
8 changed files with 290 additions and 7 deletions

9
tests/closure.sols Normal file
View File

@@ -0,0 +1,9 @@
def createClosure(int x) fun(int) int {
return lambda(int y) int {
x + y
}
}
myVar = createClosure(5)
puts myVar(3)