Add named function parameters

This commit is contained in:
Stone_Red
2026-08-06 21:00:18 +02:00
parent e7bf9591ba
commit 6bc5d01a2e
10 changed files with 220 additions and 15 deletions
+2 -3
View File
@@ -45,9 +45,8 @@ func greet:
print_line Hello, ${name}!
end_func
func add:
var result = %in + %in calc
return ${result}
func add: a, b
return ${a} + ${b} calc
call greet with Alice
call greet with Bob