diff options
Diffstat (limited to '_tests/syntax.scm')
| -rw-r--r-- | _tests/syntax.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/_tests/syntax.scm b/_tests/syntax.scm new file mode 100644 index 0000000..467e669 --- /dev/null +++ b/_tests/syntax.scm @@ -0,0 +1,36 @@ +(let ((foo bar)) + (normal scheme stuff)) + +;; local +(let foo bar) + +;; local fn +(let foo + {(x:Int y:Double) + (print x) + (print y) + (+ x y)}) + +;; exported +(define foo bar) + +;; exported fn +(define foo + {(x:Int y:Double) + (print x) + (print y) + (+ y z)}) + + + + + + +(<scope> ((<lexical> <expr>) + )) + + + +(foo (+ x (* y z)) + (blah) + (blah)) |
