dev-cafe / parselglossy

Generic input parsing library, speaking in tongues.
https://parselglossy.readthedocs.io
MIT License
7 stars 2 forks source link

Document how to use grammar specifications different from packaged ones #79

Open bast opened 5 years ago

bast commented 5 years ago

I think the grammar definitions should be part of the tutorials, not part of the core library.

robertodr commented 5 years ago

Yes, once this project becomes a generator we can "synthesize" input handler and documentation from template and grammar that live entirely within the client.

robertodr commented 4 years ago

To be decided with #84

robertodr commented 4 years ago

This is solved, I think. The generator is the recommended way to use parselglossy and the grammar can be defined in whatever way (use of pyparsing not required!) as long as the result of that step is a dictionary stored in a variable called ir. This is documented and I suggest to close this, unless you think more documentation would help clarify this point.

bast commented 4 years ago

I think what is left to do is to document how to use own grammar or how to change the grammar. We can also rename the issue or start a new one.