summaryrefslogtreecommitdiff
path: root/examples/sexpParser.py
Commit message (Collapse)AuthorAgeFilesLines
* Add make_diagram.py to examples to demonstrate creating railroad diags for ↵ptmcg2020-06-271-67/+73
| | | | selected examples
* Blacken the project (#141)Jon Dufresne2019-10-311-14/+28
|
* Use pyupgrade to upgrade the code to use Python3 conventions (#138)Jon Dufresne2019-10-241-1/+1
| | | | | | | | | | | | The pyupgrade project is available at https://github.com/asottile/pyupgrade and can be installed through pip. The pyupgrade tool automatically upgrades syntax for newer versions of the language. As pyparsing is now Python 3 only, can apply some cleanups and simplifications. Ran the tool using the following command: $ find . -name \*.py -exec pyupgrade --py3-plus {} \; For now, pyparsing.py was skipped while it is refactored to a package.
* Remove unused imports (#147)Jon Dufresne2019-10-191-1/+0
| | | | | Discovered using the command: flake8 --select F401 .
* Version 2.4.2a1 - changing [...] notation to ZeroOrMore, not OneOrMorePaul McGuire2019-07-231-157/+157
|
* Update examples to reflect newer pyparsing and coding styles, and use '...' ↵ptmcg2019-07-051-35/+34
| | | | to illustrate repetition and skipping
* Update Travis-CI scripts to include examples; fix bug in runTests if ↵Paul McGuire2018-12-301-13/+4
| | | | postParse function returns None (or any non-str value)
* Trim trailing white space throughout the projectJon Dufresne2018-12-221-16/+16
| | | | | | Many editors clean up trailing white space on save. By removing it all in one go, it helps keep future diffs cleaner by avoiding spurious white space changes on unrelated lines.
* Move src to rootCengiz Kaygusuz2017-11-201-0/+167