| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
function call as expression operand
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@463 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
each precedence level
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@460 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@459 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@451 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
implementation
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@447 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
global state in pyparsing; also, disable output buffering in unit tests when specific test classes are given to build the test suite
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@446 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@444 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
display of string values to show them in quotes, to help distinguish parsed numeric strings from parsed integers that have been converted to Python ints.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@443 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@437 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@435 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@432 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
CaselessKeyword when using setDefaultKeywordChars.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@429 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
pyparsing_common's signedInteger and sciReal to signed_integer and sci_real
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@428 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@425 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@421 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
class hierarchy for OneOrMore vs. ZeroOrMore, which was causing ZeroOrMore expressions to be treated as required expressions in an Each
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@416 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
through full call stack - trying to address UnicodeDecodeError exceptions from loading in more code than we need.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@415 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@413 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
| |
Suppress;
added AutoReset context manager class to unit tests, for saving/resetting global state when tests need to change globals
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@412 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@410 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
in And._ErrorStop.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@403 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@386 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@385 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
| |
compatibility.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@382 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@371 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@361 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@360 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@359 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
literalStringClass to _literalStringClass throughout
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@358 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@357 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@354 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
(including long, short, and mixed forms of IPv6; MAC address; ISO8601 date and date time strings
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@353 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
unit test for runTests
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@348 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
| |
action's name for the trace output
Some rework of unitTests.py, to simplify test suite building
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@346 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
|
|
|
|
| |
matches() method.
Added support for embedded comments in test string passed to runTests. Reworked embedded tests to include comments.
Added 'pyparsing_common' class containing common/helpful little expressions. Added embedded demonstration tests.
Reworked extraction of system.version for Py2/3-specific processing.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@344 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@342 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@336 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
expressions (dblQuotedString, sglQuotedString, and quotedString)
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@335 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
out the source code), replaced using traceback module extract_stack/extract_tb calls.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@334 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
characters to their whitespace counterparts; added support in new init arg, convertWhitespaceEscapes.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@330 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
converted to dicts, even if they were just unkeyed lists of tokens.
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@329 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
| |
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@328 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|
|
|
|
|
|
| |
obj.__dict__ with vars(obj) (several places); tightened up unit tests for SkipTo
git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@327 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b
|