Auto-generate the AST.

This commit is contained in:
alex committed 2023-09-04 22:13:58 -07:00
1 parent f06ea93dc4
commit 174d51ca1c
58 files changed
+741 -390

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
plugins {
pork_module
id("gay.pizza.pork.module")
}
dependencies {
@@ -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("(")