aboutsummaryrefslogtreecommitdiff
path: root/ABC/Machine/IO.dcl
diff options
context:
space:
mode:
authorCamil Staps2016-07-05 17:25:10 +0200
committerCamil Staps2016-07-05 17:25:10 +0200
commitceb0b74bd0b368124679378ebfb2cf316deb2e39 (patch)
tree7f5c562952bcf0427d838274177123765fe93cf5 /ABC/Machine/IO.dcl
parentProgramStore as array for efficiency (diff)
Added Machine as module level
Diffstat (limited to 'ABC/Machine/IO.dcl')
-rw-r--r--ABC/Machine/IO.dcl17
1 files changed, 17 insertions, 0 deletions
diff --git a/ABC/Machine/IO.dcl b/ABC/Machine/IO.dcl
new file mode 100644
index 0000000..a9b1c5b
--- /dev/null
+++ b/ABC/Machine/IO.dcl
@@ -0,0 +1,17 @@
+definition module ABC.Machine.IO
+
+from StdOverloaded import class toString
+
+from ABC.Machine.Nodes import ::Node
+from ABC.Machine.GraphStore import ::Desc
+from ABC.Machine.Def import ::State
+
+:: IO (:== [Char])
+
+instance toString IO
+
+io_init :: IO
+io_print :: a IO -> IO | toString a
+
+show_node :: Node Desc -> String
+instance toString State