5e64d09a15
1. |PEG.Compiler| -> |PEG.compiler| 2. |PEG.grammarParser| -> |PEG.parser| This brings us closer to the desired structure of the PEG object, which is: +-PEG |- parser +- compiler |- checks |- passes +- emitter These are the only things (together with the |PEG.buildParser| function and exceptions) that I want to be publicly accessible -- as extension points and also for easy testing of PEG.js's components.
5 lines
113 B
Ruby
5 lines
113 B
Ruby
desc "Generate the grammar parser"
|
|
task :metaparser do
|
|
system "bin/pegjs PEG.parser lib/metagrammar.pegjs"
|
|
end
|