parser refactoring
[sv2nmigen.git] / absyn.py
diff --git a/absyn.py b/absyn.py
new file mode 100644 (file)
index 0000000..c59f8b6
--- /dev/null
+++ b/absyn.py
@@ -0,0 +1,5 @@
+class Absyn:
+    def __init__(self):
+        self.outputfile = open("output.py","w")
+    def printpy(self,p):
+        self.outputfile.write(str(p)+"\n")