diff options
Diffstat (limited to 'pit/test')
| -rw-r--r-- | pit/test/compile.pit | 6 | ||||
| -rw-r--r-- | pit/test/recurse.pit | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/pit/test/compile.pit b/pit/test/compile.pit new file mode 100644 index 0000000..37d7f57 --- /dev/null +++ b/pit/test/compile.pit @@ -0,0 +1,6 @@ +(defmacro! foo () + (setq! bar (lambda (x) (foo) (+ x 1))) + '(print 'hi)) + +(foo) +(print (funcall bar 1))
\ No newline at end of file diff --git a/pit/test/recurse.pit b/pit/test/recurse.pit new file mode 100644 index 0000000..8e1f784 --- /dev/null +++ b/pit/test/recurse.pit @@ -0,0 +1,5 @@ +(defun! foo () + (print! 'hi) + (foo)) + +(foo)
\ No newline at end of file |
