From 448c544c194082fed8bb3e5815e49d2b4264cdd9 Mon Sep 17 00:00:00 2001 From: Westsi <76999267+Westsi@users.noreply.github.com> Date: Tue, 2 Jul 2024 23:28:56 -0400 Subject: [PATCH] added ast passes --- ast/simplifyleaves.go | 5 +++++ ast/splitinfix.go | 5 +++++ ast/treewalk.go | 1 + 3 files changed, 11 insertions(+) create mode 100644 ast/simplifyleaves.go create mode 100644 ast/splitinfix.go create mode 100644 ast/treewalk.go diff --git a/ast/simplifyleaves.go b/ast/simplifyleaves.go new file mode 100644 index 0000000..204141e --- /dev/null +++ b/ast/simplifyleaves.go @@ -0,0 +1,5 @@ +package ast + +func (a *Program) SimplifyLeaves() { + +} diff --git a/ast/splitinfix.go b/ast/splitinfix.go new file mode 100644 index 0000000..c0c882e --- /dev/null +++ b/ast/splitinfix.go @@ -0,0 +1,5 @@ +package ast + +func (a *Program) SplitInfix() { + +} diff --git a/ast/treewalk.go b/ast/treewalk.go new file mode 100644 index 0000000..bd41296 --- /dev/null +++ b/ast/treewalk.go @@ -0,0 +1 @@ +package ast