summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Undo removal of generator handlingptmcg2016-08-111-1/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@408 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Remove dangling ref to _generatorTypeptmcg2016-08-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@407 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add support for all iterables (sets, generators, etc.) to oneOf and ↵ptmcg2016-08-112-11/+24
| | | | | | ParseExpression git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@406 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add missing authorship attributions and copyrights to examplesptmcg2016-08-0918-46/+92
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@404 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix regression when using packrat parsing and raising ParseSyntaxException ↵ptmcg2016-08-093-11/+42
| | | | | | in And._ErrorStop. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@403 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Update to current pyparsing featuresptmcg2016-08-073-45/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@400 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Typo in Keyword docstringptmcg2016-08-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@399 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* docstring tweak (ParseResults.asDict)ptmcg2016-08-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@398 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* More docstring cleanup/enhancementptmcg2016-08-071-27/+45
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@397 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix typo in SkipTo docstringptmcg2016-08-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@396 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix relative dir typo in xcopy pyparsing.py commandptmcg2016-08-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@395 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Reformat Word docstring to include links to helper stringsptmcg2016-08-071-9/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@394 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Update indentedGrammarExample.py to use indentedBlockptmcg2016-08-072-69/+10
| | | | | | Remove confusing example tagCapture.py git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@393 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add the last of the new inline doc examplesptmcg2016-08-061-57/+469
| | | | | | Added full option to ParseResults.dump(), and fullDump option to ParserElement.runTests git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@392 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add more inline doc examplesptmcg2016-08-061-36/+286
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@391 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed version dateptmcg2016-08-061-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@390 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add inline examples to docstrings, for realptmcg2016-08-051-481/+1094
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@389 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in upcaseTokens and downcaseTokens introduced in 2.1.5, when the ↵ptmcg2016-08-053-5/+15
| | | | | | parse action was used in conjunction with results names git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@388 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add inline examples to docstrings, so that reference docs will show sample ↵ptmcg2016-08-052-8/+16
| | | | | | code along with arg and usage descriptions - hopefully this will make them generally more useful, or at least a little less dry. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@387 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Deprecated ParseResults.asXML ptmcg2016-08-052-2/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@386 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Updated traceParseAction to use repr of input/output tokens instead of strptmcg2016-08-052-3/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@385 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Rename pyparsing_common's "numeric" and "number" expressions to "number" and ↵ptmcg2016-08-053-8/+18
| | | | | | "fnumber", to better indicate which expression forces conversion to float (that is fnumber) git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@384 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Update to reflect Py3 is now default Python in dev environmentptmcg2016-08-041-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@383 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* LRU rework to use OrderedDict instead, better cross-version Python ↵ptmcg2016-08-042-50/+93
| | | | | | compatibility. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@382 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Typo in Jython-specific unit testptmcg2016-07-271-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@381 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Typo in Jython-specific unit testptmcg2016-07-271-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@380 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Tweak unicode ranges for Jython 2.7.0 compatibilityptmcg2016-07-271-2/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@379 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Modified init for Py2 compatibility (need args attribute for exception ↵ptmcg2016-07-271-0/+1
| | | | | | construction during packratting) git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@378 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Final code cleanup for adding lru_cache. Removed DictCache wrapper on dict, ↵ptmcg2016-07-272-43/+39
| | | | | | just changed LruDictCache look more dict-like. Made container cacheing a little more explicit with variable names and comments. Added note to CHANGES file. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@377 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Rework to use lru_cache instead of TTLCacheptmcg2016-07-271-70/+62
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@376 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Remove pprint import; convert to use ParseResults.pprint methodsptmcg2016-07-271-3/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@375 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* _TTLCache logic cleanup, add get() method similar to dict.get ptmcg2016-07-271-7/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@374 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Redo packrat cache to use _TTLCache instead of dict, to permit cache size ↵ptmcg2016-07-261-21/+95
| | | | | | constraints git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@373 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Put test case classes back in order, as they are defined in the source ↵ptmcg2016-07-261-0/+4
| | | | | | module; makes test results evaluation easier git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@372 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fixed bug in pyparsing_common.numeric, integers were parsed as floatsptmcg2016-06-183-3/+20
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@371 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added ParserElement.split() generator methodptmcg2016-06-133-1/+118
| | | | | | Also fixed minor blip in originalTextFor, to inherit ignored exprs from the embedded expression. git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@369 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix docstring formatting for epydocptmcg2016-06-121-5/+5
| | | | | | Cleaned up expression naming in pyparsing_common git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@368 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix docstring formatting for epydocptmcg2016-06-121-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@367 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Fix test file path (change '\' to '/')ptmcg2016-06-121-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@366 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Needed for new test for parseFileptmcg2016-06-121-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@365 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Change result value returned by runTests to be a list of (test,result) tuplesptmcg2016-06-123-85/+176
| | | | | | | | | Add pyparsing_common helpers convertToDate and convertToDatetime Add named regex fields to iso8601_date and iso8601_datetime Fix pyparsing_common method stripHTMLTags Corresponding cleanups in unittests git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@364 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add names to new pyparsing_common fraction expressionsptmcg2016-06-081-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@363 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Update version timestampptmcg2016-06-081-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@362 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add support in pyparsing_common for fractions and mixed integer-fraction valuesptmcg2016-06-083-13/+44
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@361 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added pyparsing_common.stripHTMLTags; added links to pyparsing_common docstring ptmcg2016-06-022-8/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@360 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added new numerics.py exampleptmcg2016-05-252-0/+69
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@359 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Added tokenMap parse action helper; general code cleanup; renamed ↵ptmcg2016-05-243-66/+153
| | | | | | literalStringClass to _literalStringClass throughout git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@358 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Updated comments in pyparsing_common and CHANGESptmcg2016-05-182-2/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@357 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* Add hex_integer to pyparsing_commonptmcg2016-05-181-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@356 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
* runTests changes: made parseAll=True the default; added support for failure ↵ptmcg2016-05-183-30/+55
| | | | | | | | tests; always return success,results tuple revamp unitTests to use new failureTests arg git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@355 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b