Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fine tuning of statemachine example, moving InvalidStateTransition ↵ | Paul McGuire | 2019-05-27 | 7 | -12/+167 | |
| | | | | declaration inside generated class; added video state machine demo; added vending machine state machine demo showing how to using statemachine without importing a .pystate file | |||||
* | Updated runTests to call postParse before dumping parsed results; added ↵ | Paul McGuire | 2019-05-26 | 6 | -211/+383 | |
| | | | | nested_markup.py and updated delta_time.py (renamed from deltaTime.py) examples | |||||
* | Fix generated stateMixin class to properly implement overridable transition ↵ | Paul McGuire | 2019-04-17 | 2 | -9/+7 | |
| | | | | methods instead of messing with getattr; allows use of `super().transition_name()` in classes that subclass from the Mixin | |||||
* | Added change note re: changes to statemachine example; some code ↵ | Paul McGuire | 2019-04-16 | 2 | -1/+21 | |
| | | | | reformat/cleanup/commenting in statemachine.py | |||||
* | Refactor generated State code to use overridden transition methods instead ↵ | Paul McGuire | 2019-04-15 | 4 | -78/+117 | |
| | | | | of overriding getattr; add generation of state-managing mixin class to delegate to _state instance variable, and reworked demos to use mixin instead of replicating state code | |||||
* | Code updates to current idiomspyparsing_2.4.0 | Paul McGuire | 2019-04-07 | 2 | -54/+117 | |
| | ||||||
* | Additional useful kwargs for Char (passthru to Word) | Paul McGuire | 2019-04-07 | 1 | -3/+4 | |
| | ||||||
* | Merge remote-tracking branch 'origin/master' | Paul McGuire | 2019-04-07 | 1 | -1/+1 | |
|\ | ||||||
| * | snmp_api.h missing from manifest (#83) | Brandon Bergren | 2019-04-07 | 1 | -1/+1 | |
| | | | | | | Add examples/*.h to manifest so snmp_api.h gets packaged with the rest of the example files. | |||||
* | | Improved support for "python setup.py test" | Paul McGuire | 2019-04-07 | 6 | -275/+308 | |
|/ | ||||||
* | Fixed dict structure in makeHTMLTags expressions, and added tag_body ↵ | Paul McGuire | 2019-04-06 | 13 | -544/+497 | |
| | | | | attribute to the generated start expression giving easy access to a SkipTo(closeTag) that will parse the tag's body text; some code cleanup and removed duplication among examples | |||||
* | Updated examples to current pyparsing styles, and to use runTests | Paul McGuire | 2019-04-06 | 2 | -96/+90 | |
| | ||||||
* | Some reformatting for better readability, and more explanatory comments | Paul McGuire | 2019-04-05 | 1 | -22/+33 | |
| | ||||||
* | Add example include_preprocessor.py | Paul McGuire | 2019-04-05 | 2 | -0/+79 | |
| | ||||||
* | Fix tests for Py2 when using explain | Paul McGuire | 2019-04-02 | 1 | -0/+24 | |
| | ||||||
* | Remove disabling of tests for Py2 when using explain | Paul McGuire | 2019-04-01 | 1 | -8/+0 | |
| | ||||||
* | Fix unnumbered str format placeholders for Py2.6 | Paul McGuire | 2019-04-01 | 1 | -1/+1 | |
| | ||||||
* | General code cleanup; have unit test module exit(0 or 1) depending on test ↵ | Paul McGuire | 2019-04-01 | 4 | -29/+46 | |
| | | | | success, to trigger CI pass/fail; fix bug that crept into withAttribute; minor performance tweaks in Regex and Word | |||||
* | Separate bullet to collect all updates in Examples, and included new HTML ↵ | Paul McGuire | 2019-03-31 | 1 | -4/+11 | |
| | | | | table parsing example that I left out of earlier commit | |||||
* | Modifies makeXXXTags to reuse expressions for '<' and '>' literals, to be ↵ | Paul McGuire | 2019-03-30 | 1 | -14/+19 | |
| | | | | more packrat-friendly | |||||
* | SimpleSQL.py update - nested select and infixNotation for 'where' | Paul McGuire | 2019-03-30 | 2 | -88/+98 | |
| | ||||||
* | Add example showing scraping/parsing of an HTML table into a Python dict | Paul McGuire | 2019-03-30 | 1 | -0/+61 | |
| | ||||||
* | Update original "Hello, World!" parser to latest coding, plus runTests | Paul McGuire | 2019-03-30 | 1 | -17/+25 | |
| | ||||||
* | Convert docstrings containing regex examples to raw string literals, to ↵ | Paul McGuire | 2019-03-30 | 2 | -3/+6 | |
| | | | | avoid Py3.8 SyntaxWarnings (#80) | |||||
* | Catch up CHANGES file with other PRs and commits since last relaese | Paul McGuire | 2019-03-30 | 1 | -0/+10 | |
| | ||||||
* | Merge remote-tracking branch 'origin/master' | Paul McGuire | 2019-03-30 | 3 | -23/+113 | |
|\ | | | | | | | | | # Conflicts: # pyparsing.py | |||||
| * | Fix cases where an indentedBlock partially parsing will cause all other ↵ | TMiguelT | 2019-03-12 | 2 | -1/+83 | |
| | | | | | | | | | | | | | | correct indentedBlocks to fail (#75) * Add failing test for indentedBlock * Simplify fix by storing a backup stack | |||||
| * | Descriptive names for Forward expressions (#71) | Eric Wald | 2019-03-10 | 2 | -12/+13 | |
| | | | | | | Resolves the infinite recursion potential by setting a temporary name during resolution. | |||||
| * | Py2 simple_unit_tests.py compat changes - part 2 | ptmcg | 2019-03-10 | 1 | -4/+3 | |
| | | ||||||
| * | Support for simple_unit_tests under Python 2 (#72) | Eric Wald | 2019-03-10 | 2 | -7/+19 | |
| | | ||||||
* | | Add __compat__.collect_all_And_tokens to address version incompatibility, ↵ | Paul McGuire | 2019-03-30 | 3 | -7/+69 | |
|/ | | | | and conditionalize API-breaking behavior (#69) | |||||
* | Add compiler from rosettacode.org; fix bug in ParserElement.runTests that ↵ | Paul McGuire | 2019-01-31 | 2 | -4/+284 | |
| | | | | interpreted newlines in quotes as test delimiters | |||||
* | Update examples and unit tests to more preferred coding styles, imports for ↵ | ptmcg | 2019-01-30 | 14 | -115/+124 | |
| | | | | pyparsing_common as ppc and pyparsing_unicode as ppu | |||||
* | Add tests to show use of Combine and simple Regex | ptmcg | 2019-01-30 | 1 | -0/+32 | |
| | ||||||
* | Merge pull request #64 from mcepl/denosepyparsing_2.3.1 | Paul McGuire | 2019-01-10 | 1 | -193/+190 | |
|\ | | | | | Denose | |||||
| * | Remove dependency on nose | Matěj Cepl | 2019-01-07 | 1 | -183/+180 | |
| | | ||||||
| * | Convert CRLF to LF | Matěj Cepl | 2019-01-07 | 1 | -193/+193 | |
| | | ||||||
* | | Add note that explain() is only supported under Python 3. | ptmcg | 2019-01-09 | 2 | -8/+6 | |
| | | ||||||
* | | Disable explain() tests if running in Py2 | ptmcg | 2019-01-09 | 1 | -0/+8 | |
| | | ||||||
* | | Modify explain() for Py2 compat | ptmcg | 2019-01-09 | 1 | -2/+7 | |
| | | ||||||
* | | Add enumerated place holders for strings that invoke str.format(), for Py2 ↵ | ptmcg | 2019-01-09 | 18 | -80/+80 | |
| | | | | | | | | compatibility | |||||
* | | Add enumerated place holders for strings that invoke str.format(), for Py2 ↵ | ptmcg | 2019-01-09 | 1 | -10/+12 | |
| | | | | | | | | compatibility | |||||
* | | Update CHANGES to include note on fixing issue #65; generalized the note ↵ | ptmcg | 2019-01-07 | 1 | -2/+28 | |
| | | | | | | | | about the decaf language example; added sample code from the statemachine examples. | |||||
* | | Unit test to test fix for issue #65 | ptmcg | 2019-01-07 | 1 | -0/+14 | |
| | | ||||||
* | | Fix inconsistency between Keyword(caseless=True) and CaselessKeyword (issue #65) | ptmcg | 2019-01-07 | 1 | -7/+1 | |
|/ | ||||||
* | Merge pull request #62 from crowsonkb/changes_typo | Paul McGuire | 2019-01-06 | 1 | -1/+1 | |
|\ | | | | | Fix typo: 'chemcialFormulas.py' -> 'chemicalFormulas.py' | |||||
| * | Fix typo: 'chemcialFormulas.py' -> 'chemicalFormulas.py' | Katherine Crowson | 2019-01-06 | 1 | -1/+1 | |
|/ | ||||||
* | Convert exception logging to use ParseException.explain() | Paul McGuire | 2019-01-05 | 1 | -5/+7 | |
| | ||||||
* | Add experimental ParseException.explain() method, to return a multiline ↵ | Paul McGuire | 2019-01-05 | 3 | -4147/+4284 | |
| | | | | string showing the parse expressions leading to a parsing failure | |||||
* | Clean up CHANGES notes for new examples | ptmcg | 2018-12-31 | 3 | -260/+11 | |
| |