Sha256: db99d3ebfcfd65035116fcf190617cc74238b338589525d54391b8cf8cb3abcd

Contents?: true

Size: 484 Bytes

Versions: 24

Compression:

Stored size: 484 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
dir = File.dirname(__FILE__)
require File.join(dir, '..', 'lib', 'treetop', 'bootstrap_gen_1_metagrammar')

GENERATED_METAGRAMMAR_PATH = File.join(TREETOP_ROOT, 'compiler', 'metagrammar.rb')

File.open(METAGRAMMAR_PATH) do |source_file|
  File.open(GENERATED_METAGRAMMAR_PATH, 'w') do |target_file|
    generated_source = Treetop::Compiler::MetagrammarParser.new.parse(source_file.read).compile
    target_file.write(generated_source)
  end
end

Version data entries

24 entries across 24 versions & 4 rubygems

Version Path
skylinecms-3.1.0 vendor/digitpaint/personify/vendor/treetop/script/generate_metagrammar.rb
personify-1.0.0 vendor/treetop/script/generate_metagrammar.rb
westarete-skylinecms-3.0.8.20100329 vendor/digitpaint/personify/vendor/treetop/script/generate_metagrammar.rb
westarete-skylinecms-3.0.8.20100330 vendor/digitpaint/personify/vendor/treetop/script/generate_metagrammar.rb
mail-2.1.3 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-2.1.2 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-2.1.1 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-2.1.0 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-2.0.5 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-2.0.3 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-1.6.0 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-1.5.4 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-1.5.3 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-1.5.2 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-1.5.1 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-1.5.0 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-1.4.3 lib/mail/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-1.4.2 lib/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-1.4.1 lib/vendor/treetop-1.4.3/script/generate_metagrammar.rb
mail-1.4.0 lib/vendor/treetop-1.4.3/script/generate_metagrammar.rb