parser: maybe fixed a parser bug; examples: added them

This commit is contained in:
2017-05-25 18:04:57 -04:00
parent e91588ab96
commit e612b3c226
4 changed files with 15 additions and 1 deletions

3
examples/higherorder.bc Normal file
View File

@@ -0,0 +1,3 @@
define inc(x) { x + 1}
define call(f, arg) { f(arg)}
call(inc, 10)