pegjs/Rakefile
David Majda 917cf1cf2a Start rule of the grammar is now implicitly its first rule
Before this change, the start rule was the one named "start" and there
was an option to override that. This is now impossible.

The goal of this change is to contain all information for the parser
generation in the grammar itself.

In the future, some override directive for the start rule (like Bison's
"%start") may be added to the grammar.
2010-06-08 11:03:28 +02:00

5 lines
120 B
Ruby

desc "Generate the grammar parser"
task :metaparser do
system "bin/pegjs PEG.grammarParser lib/metagrammar.pegjs"
end