summaryrefslogtreecommitdiff
path: root/src/thue
diff options
context:
space:
mode:
Diffstat (limited to 'src/thue')
-rw-r--r--src/thue/program.cr5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/thue/program.cr b/src/thue/program.cr
index f449f5a..96e1284 100644
--- a/src/thue/program.cr
+++ b/src/thue/program.cr
@@ -1,5 +1,6 @@
require "./thue.cr"
require "./parser.cr"
+require "../util.cr"
class Thue::Program
def initialize(@parser : Parser)
@@ -17,5 +18,9 @@ class Thue::Program
puts state
end
+
+ def compile
+ raise Util::NoCompilerAvailableError.new("No available compilier for Thue")
+ end
end