module SyntaxTree::YARV

def self.interpret(source, options = Compiler::Options.new)

Compile and interpret the given source.
def self.interpret(source, options = Compiler::Options.new)
  iseq = RubyVM::InstructionSequence.compile(source, **options)
  iseq = InstructionSequence.from(iseq.to_a)
  VM.new.run_top_frame(iseq)
end