| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Add Python 3.4 and 3.5 versions to setup metadata
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@286 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
per suggestions from Williamzjc - thanks William! (Oh yeah, I'm not supporting Python 2.3 with this code any more...)
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@285 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
are purely filters.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@284 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@283 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
CaselessLiteral instead of CaselessKeyword
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@282 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
an unnamed array of sub-structure results.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@281 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
- enhanced version of replaceWith
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@280 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@279 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@277 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
types from parse actions that implement __eq__.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@276 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@275 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@274 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
names are defined for a given level of a nested parse result
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@273 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@272 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@271 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@270 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
improvements were made in last release
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@269 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
| |
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.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@268 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@266 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@265 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@264 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
local/nonlocal reference problems
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@263 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
|
|
|
| |
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().
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@262 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@261 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
Removed deprecation of '<<' operator
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@260 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
Added copying of examples from SVN source, and cleanup any pycs that might by lying around
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@259 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@258 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
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
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@257 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
accept "expr()" as a shortcut for "expr.copy()".
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@256 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@255 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
| |
Python 3.x versions.
Fix bug in <<= operator, added 'return self'.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@254 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
future TypeErrors get correctly raised and don't continue to try updating the argcount
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@252 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@251 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@249 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@247 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@246 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
print as a function in debug routines; remove unnecessary list comprehensions
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@245 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@244 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
arguments to infixNotation
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@242 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
arguments to infixNotation
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@241 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
optional lpar and rpar arguments
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@240 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
arguments to infixNotation
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@239 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@238 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@237 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@235 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@234 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@233 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@226 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@223 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|