Class: Treetop::Compiler::GrammarCompiler

Class | Treetop::Compiler::GrammarCompiler
In: | lib/treetop/compiler/grammar_compiler.rb
Parent: | Object

### Methods

compile ruby_source ruby_source_from_string

### Public Instance methods

compile(source_path, target_path = source_path.gsub(/\.(treetop|tt)\Z/, '.rb'))
ruby_source(source_path)

compile a treetop file into ruby

ruby_source_from_string(s)

compile a string containing treetop source into ruby

[Validate]