summaryrefslogtreecommitdiff
path: root/src/LispExecutionContext.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-04-30 00:12:27 +0200
committerLinnea Gräf <nea@nea.moe>2024-04-30 00:12:27 +0200
commitb51321b27fdf513a3de09d084bbd4e69a26fb76e (patch)
tree873c433cc96e382321736fe0bcb4e2948789ced6 /src/LispExecutionContext.kt
parent37d5b9ce0acf6eb25162c097990983f388ec3a19 (diff)
downloadnealisp-b51321b27fdf513a3de09d084bbd4e69a26fb76e.tar.gz
nealisp-b51321b27fdf513a3de09d084bbd4e69a26fb76e.tar.bz2
nealisp-b51321b27fdf513a3de09d084bbd4e69a26fb76e.zip
Add lists
Diffstat (limited to 'src/LispExecutionContext.kt')
-rw-r--r--src/LispExecutionContext.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LispExecutionContext.kt b/src/LispExecutionContext.kt
index 0a1dc41..70df965 100644
--- a/src/LispExecutionContext.kt
+++ b/src/LispExecutionContext.kt
@@ -78,7 +78,7 @@ class LispExecutionContext() {
fun executeProgram(stackFrame: StackFrame, program: LispAst.Program): LispData? {
var lastValue: LispData? = null
for (node in program.nodes) {
- lastValue = executeLisp(stackFrame, node)
+ lastValue = resolveValue(stackFrame, node)
}
return lastValue
}