module Treetop

def self.load_from_string(s)

compile a treetop source string and load it
def self.load_from_string(s)
  compiler = Treetop::Compiler::GrammarCompiler.new
  Object.class_eval(compiler.ruby_source_from_string(s))
end