A core set of grammar files for use with Brogue. Translated from @dariusk's Corpora;
First insall Brogue and the core grammar set:
npm install --save brogue brogue-core-grammars
Then include the core grammars in your grammar file:
{
_includes: [
'path_to_node_modules_folder/brogue-core-grammars/grammars/core.grammar',
]
}
You are encouraged to explore the grammars
folder to find all of the included grammars.
The core.grammar
file includes all of the grammars in this repo, so you may aslo choose to
include them individually to reduce parsing time.