917cf1cf2a
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.
5 lines
120 B
Ruby
5 lines
120 B
Ruby
desc "Generate the grammar parser"
|
|
task :metaparser do
|
|
system "bin/pegjs PEG.grammarParser lib/metagrammar.pegjs"
|
|
end
|