summaryrefslogtreecommitdiff
path: root/src/thue/program.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/thue/program.cr')
-rw-r--r--src/thue/program.cr13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/thue/program.cr b/src/thue/program.cr
new file mode 100644
index 0000000..c59780b
--- /dev/null
+++ b/src/thue/program.cr
@@ -0,0 +1,13 @@
+require "./thue.cr"
+require "./parser.cr"
+
+class Thue::Program
+ def initialize(@parser : Parser)
+ end
+
+ def interpret
+ something = @parser.parse
+ puts something
+ end
+end
+