summaryrefslogtreecommitdiff
path: root/src/program.cr
blob: 9f925832ed657e867c5facf92c7a3256cfcba4a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require "./util.cr"

abstract struct Flint::Program
  def initialize(@source_io : IO)
  end

  abstract def interpret : Nil

  def compile
    raise Util::NoCompilerAvailableError.new("No compiler available for this language.")
  end
end