implement basic type annotations (not yet used or declarable)

This commit is contained in:
Alex Zenla
2025-07-20 00:52:24 -07:00
parent a48fac4581
commit 5ac70d800e
25 changed files with 161 additions and 28 deletions

View File

@ -54,8 +54,6 @@ class EvaluationVisitor(root: Scope, val stack: CallStack) : FunctionLevelVisito
override fun visitLongLiteral(node: LongLiteral): Any = node.value
override fun visitSymbol(node: Symbol): Any = None
override fun visitFunctionCall(node: FunctionCall): Any {
val arguments = node.arguments.map { it.visit(this) }
val functionValue = currentScope.value(node.symbol.id) as CallableFunction