File: bootstrap_gen_1_metagrammar.rb

# bootstrap_gen_1_metagrammar.rb

Path: | lib/treetop/bootstrap_gen_1_metagrammar.rb
Last Update: | Wed Aug 18 22:18:55 -0600 2010

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.

### Required files

rubygems

### Constants

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

[Validate]