-
Updated
create_diagram()
code to be compatible with railroad-diagrams package version 3.0. Fixes Issue #477 (railroad diagrams generated with black bars), reported by Sam Morley-Short. -
Fixed bug in
NotAny
, where parse actions on the negated expr were not being run. This could causeNotAny
to incorrectly fail if the expr would normally match, but would fail to match if a condition used as a parse action returned False. Fixes Issue #482, raised by byaka, thank you! -
Fixed
create_diagram()
to accept keyword args, to be passed through to thetemplate.render()
method to generate the output HTML (PR submitted by Aussie Schnore, good catch!) -
Fixed bug in
python_quoted_string
regex. -
Added
examples/bf.py
Brainf*ck parser/executor example. Illustrates using a pyparsing grammar to parse language syntax, and attach executable AST nodes to the parsed results.