Path: | lib/treetop/bootstrap_gen_1_metagrammar.rb |
Last Update: | Mon Aug 10 03:23:25 -0400 2009 |
This file‘s job is to load a Treetop::Compiler::Metagrammar and Treetop::Compiler::MetagrammarParser into the environment by compiling the current metagrammar.treetop using a trusted version of Treetop.
TREETOP_VERSION_REQUIRED_TO_BOOTSTRAP | = | '>= 1.1.5' | ||
Trusted | = | Module.new | Relocating trusted version of Treetop to Trusted::Treetop | |
Treetop | = | Treetop | ||
METAGRAMMAR_PATH | = | File.join(TREETOP_ROOT, 'compiler', 'metagrammar.treetop') | Compile and evaluate freshly generated metagrammar source |