blob: 7a520fb2dc9a7aef0e11a18886d13f34487c3026 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import moe.nea.lisp.LispExecutionContext
import moe.nea.lisp.LispParser
import java.io.File
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()
executionContext.executeProgram(bindings, otherP)
}
|