Skip to content

Releases: dev-cafe/parselglossy

Fix bug in `pyparsing` import

28 Sep 14:06
12a0881
Compare
Choose a tag to compare

What's Changed

  • Fixed a bug in the generated parser where pyparsing could not be found. #117

Full Changelog: v0.8.0...v0.8.1

Update to use pyparsing >=3.0

22 Jul 07:58
1af13f2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.8.0

Minor fixes and usability improvements

31 Aug 11:57
834e787
Compare
Choose a tag to compare

This minor release improves the code generated: docstring-s are pruned from the template, such that the generated stencil function in the API takes up a lesser number of lines.
Additionally, the generated validate API function learnt to recognize a Python dict directly as intermediate representation.

Fix exposing internal dependencies in generated parser

26 Aug 06:27
Compare
Choose a tag to compare

We fixed a leaky dependency in the generator: the networkx Python module would be imported, unnecessarily, also in the generated parser Python module.

Improve usage of parselglossy

16 Aug 08:07
ac08e56
Compare
Choose a tag to compare

parselglossy can now be used to generate a Python module for input parsing that only depends on a standard Python installation.
This is a huge improvement in user experience: parselglossy is a developer-only dependency and it will not anymore ripple down to users.
See PR #84.
The CLI received a corresponding breaking change: only the generate subcommand has been left. See PR #97

In addition:

  • parselglossy learnt to analyze dependencies between default actions of different keywords. Cyclic dependencies are disallowed and will result in an error (see PR #96) Non-cyclic dependencies are reordered (see PR #99) so that no type errors can arise (see Issue #76)
  • Repeated keywords are identified and flagged as an error (see PR #89)
  • We dropped support for Python 3.5
  • We switched to Flit to manage packaging.

Improve grammars and validation

28 Mar 19:49
2f44a75
Compare
Choose a tag to compare
Pre-release

This release features:

  • Robustness and speed improvements in the available grammars.
  • Refactor of the validation process to output informative errors.
  • First version of the application programming interface (API).
  • First version of the command-line interface (CLI) using the Click library.
  • Autogeneration of documentation in reStructuredText (.rst) format.