diff options
author | nea <nea@nea.moe> | 2023-08-10 01:37:33 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-08-10 01:37:33 +0200 |
commit | 74371302593ee2ee365e697911c364246f460b63 (patch) | |
tree | f4c8e5c4e7f31fbab219425795d967ed8b77e4d0 /test/src/TestLisp.kt | |
parent | 7ce91434a452dc68f39aa34b646e691635c55e07 (diff) | |
download | nealisp-74371302593ee2ee365e697911c364246f460b63.tar.gz nealisp-74371302593ee2ee365e697911c364246f460b63.tar.bz2 nealisp-74371302593ee2ee365e697911c364246f460b63.zip |
Add builtins
Diffstat (limited to 'test/src/TestLisp.kt')
-rw-r--r-- | test/src/TestLisp.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/src/TestLisp.kt b/test/src/TestLisp.kt index f986f1c..7a520fb 100644 --- a/test/src/TestLisp.kt +++ b/test/src/TestLisp.kt @@ -1,4 +1,3 @@ -import moe.nea.lisp.CoreBindings import moe.nea.lisp.LispExecutionContext import moe.nea.lisp.LispParser import java.io.File @@ -8,7 +7,7 @@ object T fun main() { val otherP = LispParser.parse(File(T::class.java.getResource("/test.lisp")!!.file)) val executionContext = LispExecutionContext() + executionContext.setupStandardBindings() val bindings = executionContext.genBindings() - CoreBindings.offerAllTo(bindings) executionContext.executeProgram(bindings, otherP) } |