summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Tag for release 2.0.3pyparsing_2.0.3Paul McGuire2014-10-110-0/+0
|
* Minor mods to released examples Paul McGuire2014-10-115-2/+245
|
* Fixed bug in ParseResults __init__ method, when returning non-ParseResults ↵Paul McGuire2014-08-162-2/+6
| | | | types from parse actions that implement __eq__.
* update internal versioning timestampPaul McGuire2014-08-121-1/+1
|
* Properly return lists when parsing list values (instead of return ParseResults)Paul McGuire2014-08-121-0/+2
|
* Updated ParserElement.dump() to list out numbered array values if no results ↵Paul McGuire2014-08-122-3/+16
| | | | names are defined for a given level of a nested parse result
* Fixed UnboundLocalError in oneOf based on new scoping rules in Python 3.4Paul McGuire2014-06-282-0/+6
|
* Fixed bug in And class when initializing using a generator.Paul McGuire2014-05-222-3/+5
|
* Update pyparsing timestampPaul McGuire2014-05-071-1/+1
|
* Fixed Bug #73, errors introduced to ParseResults.pop method after ↵Paul McGuire2014-05-073-5/+49
| | | | improvements were made in last release
* Fixed escaping behavior in QuotedString. Formerly, only quotationPaul McGuire2014-04-293-11/+21
| | | | | marks (or characters designated as quotation marks in the QuotedString constructor) would be escaped. Now all escaped characters will be escaped, and the escaping backslashes will be removed.
* Cleanup *.pyc files from examples dir; add Python 3.4 Windows installerPaul McGuire2014-04-131-1/+1
|
* Added docstrings for new methods; added ending location for locatedExprPaul McGuire2014-04-134-5/+34
|
* Added ParseResults.pprint methodPaul McGuire2014-04-132-1/+13
|
* Fixed markInputline bug; reverted some <<= to << changes to avoid ↵Paul McGuire2014-04-093-12/+34
| | | | local/nonlocal reference problems
* - Expanded argument compatibility for classes and functions that take list ↵Paul McGuire2013-09-212-66/+152
| | | | | | | | arguments, to now accept generators as well. - Extended list-like behavior of ParseResults, adding support for append and extend. NOTE: if you have existing applications using these names as results names, you will have to access them using dict-style syntax: res["append"] and res["extend"] - ParseResults emulates the change in list vs. iterator semantics for methods like keys(), values(), and items(). Under Python 2.x, these methods will return lists, under Python 3.x, these methods will return iterators. - ParseResults now has a method haskeys() which returns True or False depending on whether any results names have been defined. This simplifies testing for the existence of results names under Python 3.x, which returns keys() as an iterator, not a list. - ParseResults now supports both list and dict semantics for pop(). If passed no argument or an integer argument, it will use list semantics and pop tokens from the list of parsed tokens. If passed a non-integer argument (most likely a string), it will use dict semantics and pop the corresponding value from any defined results names. A second default return value argument is supported, just as in dict.pop().
* Cleanup unit tests for cross 2.x/3.x Python compatibilityPaul McGuire2013-09-218-205/+673
|
* Added locatedExpr helper methodPaul McGuire2013-09-142-10/+20
| | | Removed deprecation of '<<' operator
* Remove old Py2/3 setup flagPaul McGuire2013-09-141-4/+2
| | | Added copying of examples from SVN source, and cleanup any pycs that might by lying around
* Move _expanded to inside soope of srange, since it is not used anywhere elsePaul McGuire2013-09-141-2/+1
|
* Fix Python 2.x/3.x compatibility (now that Pyparsing 2.0.x includes Python ↵Paul McGuire2013-09-141-55/+69
| | | | 2.6+ compatibility) - also fix bug with expressions that consist solely of a single term with no operations; and reorg class hierarchy for better DRY
* Extended "expr(name)" shortcut (same as "expr.setResultsName(name)") to ↵Paul McGuire2013-08-212-4/+15
| | | | accept "expr()" as a shortcut for "expr.copy()".
* Minor cleanup before releasing 2.0.1Paul McGuire2013-07-175-95/+97
|
* Prep release 2.0.1, to be compatible with Python 2.6 and 2.7, as well as ↵Paul McGuire2013-07-174-20/+107
| | | | | Python 3.x versions. Fix bug in <<= operator, added 'return self'.
* Add latch to _trim_arity so that once the correct arg count has been found, ↵Paul McGuire2012-12-161-3/+6
| | | | future TypeErrors get correctly raised and don't continue to try updating the argcount
* Fix minor bug in ErrorStop name/strPaul McGuire2012-11-291-0/+1
|
* Update unit tests to Python 3Paul McGuire2012-11-231-239/+253
|
* Fix indent typo in _trim_arityPaul McGuire2012-11-231-1/+1
|
* Clean up examples to be Python 3 compatiblePaul McGuire2012-11-2379-966/+1251
|
* Fix updates to Python 3: trim_arity count up from 0 instead of down from 2; ↵Paul McGuire2012-11-231-33/+31
| | | | print as a function in debug routines; remove unnecessary list comprehensions
* Update to v2.0.0, Python 3 compatible onlyPaul McGuire2012-11-196-7589/+90
|
* Rename operatorPrecedence to infixNotation; add optional lpar and rpar ↵Paul McGuire2012-11-171-4/+7
| | | | arguments to infixNotation
* Rename operatorPrecedence to infixNotation; add optional lpar and rpar ↵Paul McGuire2012-11-171-4/+7
| | | | arguments to infixNotation
* Add notes for operatorPrecedence renaming to infixNotation, and adding ↵Paul McGuire2012-11-171-0/+8
| | | | optional lpar and rpar arguments
* Rename operatorPrecedence to infixNotation; add optional lpar and rpar ↵Paul McGuire2012-11-171-4/+7
| | | | arguments to infixNotation
* Add example files to SVNPaul McGuire2012-10-0288-0/+15956
|
* Fix 'copy' statements to use backslashesPaul McGuire2012-10-021-4/+4
|
* Changes for release 1.5.7Paul McGuire2012-10-022-9/+10
|
* Update file structurePaul McGuire2012-10-021-8/+13
|
* Create standard SVN structurePaul McGuire2012-10-0117-0/+17592