Feature enhancements are provided, like a method for memory cache clearing and improving composing and text representation. Some small bugs are fixed. pyPEG is a quick and easy solution for creating a parser in Python programs. pyPEG uses a PEG language in Python data structures to parse, so it can be used dynamically to parse nearly every context free language. The output is a plain Python data structure called pyAST, or, as an alternative, XML. pyPEG implements an intrinsic Packrat parser. Memoization is used for performance improvements. pyPEG is used by defining a data model with a grammar. Therefore it cannot only be used to parse text, but to compose text out of the language model, too. It can be used for code generation. You can find pyPEG2 in the PyPI repository. The homepage is here: <http://fdik.org/pyPEG>. pyPEG is maintained in a Bitbucket repository at <https://bitbucket.org/fdik/pypeg/>. Yours, VB. -- Volker Birk, Oberer Graben 4, CH-8400 Winterthur, Schweiz, Erde, Solar-System, Orion Arm, Milchstrasse, Lokale Gruppe, Virgo-Superhaufen, Coma-Virgo-Filament. mailto:dingens@bumens.org http://fdik.org D-IRCNet fdik!vb@dragon.pibit.ch
participants (1)
-
Volker Birk