diff options
author | nea <nea@nea.moe> | 2023-08-10 02:26:42 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-08-10 02:26:42 +0200 |
commit | f345fadd492ea5bb09e515d007be438fc08c9b93 (patch) | |
tree | 2b2b99dc7e75387ba16cdb43d107bcedf84d4938 /test/src/TestLisp.kt | |
parent | e4661bf1fecf5a214a020a56b9658dc49565e162 (diff) | |
download | nealisp-f345fadd492ea5bb09e515d007be438fc08c9b93.tar.gz nealisp-f345fadd492ea5bb09e515d007be438fc08c9b93.tar.bz2 nealisp-f345fadd492ea5bb09e515d007be438fc08c9b93.zip |
Add imports
Diffstat (limited to 'test/src/TestLisp.kt')
-rw-r--r-- | test/src/TestLisp.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/TestLisp.kt b/test/src/TestLisp.kt index 7a520fb..5563042 100644 --- a/test/src/TestLisp.kt +++ b/test/src/TestLisp.kt @@ -8,6 +8,7 @@ fun main() { val otherP = LispParser.parse(File(T::class.java.getResource("/test.lisp")!!.file)) val executionContext = LispExecutionContext() executionContext.setupStandardBindings() + executionContext.registerModule("secondary", LispParser.parse(File(T::class.java.getResource("/secondary.lisp")!!.file))) val bindings = executionContext.genBindings() executionContext.executeProgram(bindings, otherP) } |