Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Code reorg/reformat, added results names | Paul McGuire | 2019-07-06 | 1 | -127/+151 | |
| | ||||||
* | Run *all* the unit tests! | Paul McGuire | 2019-07-06 | 1 | -1/+0 | |
| | ||||||
* | Add support for multiple '...' skips in a single expression; `_skippped` ↵ | Paul McGuire | 2019-07-06 | 4 | -31/+49 | |
| | | | | results name will always return a list of skipped items | |||||
* | Cleanup unit tests for SkipTo expressions, especially using '...' | Paul McGuire | 2019-07-05 | 1 | -31/+47 | |
| | ||||||
* | Update examples to reflect newer pyparsing and coding styles, and use '...' ↵ | ptmcg | 2019-07-05 | 3 | -91/+93 | |
| | | | | to illustrate repetition and skipping | |||||
* | Add support for "(expr | ...)" as a form of "on-error, skip" notation | ptmcg | 2019-07-05 | 3 | -57/+126 | |
| | ||||||
* | Further mods to `Forward.__str__` to possibly address memory issues reported ↵ | ptmcg | 2019-07-05 | 2 | -7/+11 | |
| | | | | in #85 and #91, and also does not stomp on user-defined expression names | |||||
* | Slight mod to `Forward.__str__` to possibly address memory issues reported ↵ | ptmcg | 2019-07-05 | 1 | -4/+4 | |
| | | | | in #91 | |||||
* | Fix numeric unit tests to be Py2-friendly | ptmcg | 2019-07-04 | 1 | -29/+47 | |
| | ||||||
* | Minor code changes in runTests | ptmcg | 2019-07-04 | 1 | -19/+20 | |
| | ||||||
* | Wrap expressions using ... in unitTests.py with eval() so that Py2 won't ↵ | Paul McGuire | 2019-07-04 | 1 | -7/+8 | |
| | | | | complain about syntax | |||||
* | Add support for ... as short cut for SkipTo in And, and for repetition as ↵ | Paul McGuire | 2019-07-03 | 4 | -36/+207 | |
| | | | | OneOrMore and ZeroOrMore; fix PY2 test bug in unitTests.py | |||||
* | Issue #93 - interaction of Or and addCondition sometimes selects alternative ↵ | Paul McGuire | 2019-07-02 | 3 | -24/+76 | |
| | | | | that is not the longest | |||||
* | Fix up changes to parse reals without leading digits before the decimal, and ↵ | Paul McGuire | 2019-06-29 | 3 | -3/+95 | |
| | | | | add unit tests | |||||
* | Merge remote-tracking branch 'origin/master' | Paul McGuire | 2019-06-29 | 1 | -2/+2 | |
|\ | ||||||
| * | Support for omitted integer part of the float number (#98) | Paul McGuire | 2019-06-29 | 1 | -2/+2 | |
| |\ | | | | | | | | | | | | | | | | * Added support for omitted integer part of the float number * Added support for omitted integer part in sci_real numbers | |||||
| | * | Added support for omitted integer part in sci_real numbers | Andrey Sobolev | 2019-06-14 | 1 | -1/+1 | |
| | | | ||||||
| | * | Added support for omitted integer part of the float number | Andrey Sobolev | 2019-06-12 | 1 | -1/+1 | |
| | | | ||||||
* | | | Add support for expr.setParseAction(None) to clear all parse actions | Paul McGuire | 2019-06-29 | 3 | -3/+29 | |
|/ / | ||||||
* | | Drop Python 2.6 from TravisCI versions, apparently no longer supported | Paul McGuire | 2019-06-29 | 1 | -1/+0 | |
| | | ||||||
* | | Fix runTests to output results if post_parse returns None | Paul McGuire | 2019-06-29 | 1 | -1/+3 | |
| | | ||||||
* | | Fix issue #87, regression in indentedBlock | Paul McGuire | 2019-06-29 | 3 | -11/+136 | |
| | | ||||||
* | | Fix typo: "the the" (#99) | Jon Dufresne | 2019-06-29 | 2 | -2/+2 | |
|/ | ||||||
* | Suppress PyCharm IDE settings from Git repo | Paul McGuire | 2019-06-05 | 1 | -3/+5 | |
| | ||||||
* | Add better help directing to ParseResults as the return type for ↵ | Paul McGuire | 2019-06-05 | 3 | -3/+10 | |
| | | | | ParserElement.parseString | |||||
* | Fix runTests output bug introduced in d2332c95675d71c10605eaf00b1171ef11d0970d | Paul McGuire | 2019-06-02 | 1 | -3/+6 | |
| | ||||||
* | Add compatibility results name; ungroup qty expression to simplify accessing ↵ | Paul McGuire | 2019-05-29 | 1 | -6/+8 | |
| | | | | qty value | |||||
* | Some code cleanup, and added tests and test validations | Paul McGuire | 2019-05-28 | 1 | -6/+27 | |
| | ||||||
* | Fix description in module header | Paul McGuire | 2019-05-28 | 1 | -1/+3 | |
| | ||||||
* | delta_time fixes: add more time validations; add 1-second epsilon when ↵ | ptmcg | 2019-05-28 | 1 | -2/+24 | |
| | | | | verifying computed times; add 'an' for 'an hour' times | |||||
* | Update generated code for both unnamed and named state transition state machines | Paul McGuire | 2019-05-27 | 1 | -1/+9 | |
| | ||||||
* | Typo - `isinstance` should be `issubclass` | Paul McGuire | 2019-05-27 | 1 | -1/+1 | |
| | ||||||
* | 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 |