Auto-generate the AST.

This commit is contained in:
2023-09-04 21:50:27 -07:00
parent f06ea93dc4
commit 174d51ca1c
58 changed files with 741 additions and 390 deletions

View File

@ -147,7 +147,7 @@ class Printer(buffer: StringBuilder) : NodeVisitor<Unit> {
visit(node.right)
}
override fun visitFunctionDeclaration(node: FunctionDefinition) {
override fun visitFunctionDefinition(node: FunctionDefinition) {
append("fn ")
visit(node.symbol)
append("(")