From f345fadd492ea5bb09e515d007be438fc08c9b93 Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 10 Aug 2023 02:26:42 +0200 Subject: Add imports --- test/src/TestLisp.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'test/src') 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) } -- cgit