feat(core): add load and include prelude
This commit is contained in:
@@ -15,6 +15,8 @@ fn main() {
|
||||
"(defun do-n-times (f n) (if (= n 0) '() (cons (f) (do-n-times f (- n 1)))))",
|
||||
"(do-n-times (lambda () (print 'hello)) 5)",
|
||||
"(progn (print 'hello) (print 'world))",
|
||||
"(load \"(defun loaded-foo (x) (+ x 1))\")",
|
||||
"(loaded-foo 1)",
|
||||
];
|
||||
|
||||
let environment = Environment::default();
|
||||
|
||||
Reference in New Issue
Block a user