Pymeta3

Latest version: v0.5.1

Safety actively analyzes 613649 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.0

- Builders now work from a grammar AST, rather than being driven by
the grammar parser directly.
- All parse operations now carry error information, including what
was expected to be parsed and where.
* Consequently, ParseError now has a 'formatError' method that takes
the input string and returns a human-readable description the
parse failure.
- New example: TermL parser, in examples/terml.
- New script, bin/generate_parser. Takes a file containing a PyMeta
grammar as input and writes a Python module file.

- A couple bugfixes:
248643 subclassed grammars don't inherit base namespace
564135 makeGrammar error handling for nonsensical grammars is broken

0.3.0

- Input stream now implemented like the Javascript version, with immutable
position objects.

0.2.0

- Grammars generate Python source instead of ASTs.
- OMeta now has a "metagrammarClass" attribute, to ease extension of
the metagrammar.

0.1.1

- Fixed a bug in 'super'.

0.1

- Initial release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.