| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://cloud.google.com/bigquery/docs/reference/legacy-sql
|
| |
|
|
|
|
|
| |
* Updated range for unicode blocks, updated add char logic to include last character in each block, update some function names
* Test case for CJK block and last character in block
|
| |
|
| |
|
|
|
|
| |
lazyclassproperty
|
|
|
|
| |
lazyclassproperty
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
expressions
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add line separators to HowToUsePyparsing.rst to call attention to PEP-8 naming in this document
* Update railroad diagram generation code, to show results names as group annotations, and break out all expressions with a name set using setName.
* Revert dataclasses back to NamedTuples for 3.6-7 compat; add setName calls in simpleBool.py; add simpleBool to make_diagram.py
* Remove default setName calls on delimitedList
* Add setName calls to simpleSQL for better diagram
* Remove hard-coded debug mode
* Move setName on delimitedList into test code
* Restore default setName() calls for delimitedList; set default vertical=3; update jsonParser.py and simpleSQL.py with better setName() calls (and update test_diagram.py accordingly); update test_diagram.py to move asserts after tempfiles are written, moved tempfiles to local dir instead of hard-to-find temp dir
* Get proper railroad diags for infixNotation
* Undo forced railroad_debug
* Code cleanup from PR comments
* Remove hard-coded base_expr name from infix_notation
* Add special EachItem to compose DiagramItem for Group-OneOrMore-Choice; refactored tests to move duplicated code to function; added names to mozillaCalendarParser.py for better diagram
* Make sure root element gets in the diagram, even if it has no custom name
* Update tests to reflect diagram structure changes
* Add LOOKAHEAD and LOOKBEHIND annotations for FollowedBy and PrecededBy elements, and changed the annotation on Each to [ALL]; renamed _first to _element_diagram_states; add expr.streamline() in create_diagram() to collapse nested exprs; added railroad_diagram_demo.py example general blackening; update CHANGES with latest enhancements; bump version date
* Fix pip command
* Update CHANGES and whats_new_in_3_0_0.rst with some features and acknowledgements
* Updates from PR review: change user instructions to use pyparsing[diagrams]; consistent annotations for NotAny along with FollowedBy and PrecededBy; fixed up comments and type annotations
* Remove unneeded pip installs for tox (already handled in tox.ini)
* Refactor duplicate code into decorator; drop unused group_results_name argument
* Add diagram handling for SkipTo, and for And's constructed using `expr*N` notation (use a OneOrMore diagram with a repeat count instead of a sequence of N exprs)
* Fix parsing ambiguity in railroad_diagram_demo.py so that parser can actually parse a valid input string
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
other pyparsing names (left in enable_left_recursion synonym as omen of names to come); added notes to CHANGES and whats_new_in_3_0_0.rst; added left_recursion.py to examples.
|
|
|
| |
Found via `codespell -q 3 -L ba,fourty,halp,inout,strng`
|
| |
|
|
|
|
| |
creating railroad diags; changed create_diagram from monkeypatch to included method on ParserElement; better debug exception if Dict is constructed with non-Group expression
|
| |
|
|
|
|
| |
action, plus aslist and asdict args to Group and Dict classes to emit native Python types instead of ParseResults; also update repr() output of ParseResults to include the type name instead of just a bare tuple.
|
| |
|
|
|
|
| |
in output
|
| |
|
|
|
|
| |
infix notation operators
|
|
|
|
| |
on reviewing railroad diag
|
| |
|
|
|
|
| |
selected examples
|
| |
|
| |
|
|
|
| |
Co-authored-by: jay <jayped007@gmail.com>
|
| |
|
| |
|
|
|
|
| |
#207); deleted duplicated examples (commit *all* changes this time)
|
|
|
|
| |
bigquery_view_parser.py; change some lambdas to explicit methods for clarity (some discussion in #207); deleted duplicated examples
|
| |
|
| |
|
|
|
|
| |
with 24-hour time)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Support whitespace in column identifier
* Support WITH clause nested in UNION clause
* SELECT statements can be surrounded by parenthesis
* Parse quoted table names
* Formatting code with `black`
|
|
|
|
| |
minor changes to select_parser
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* select_parser example: misc improvements
* sqlite now supports TRUE and FALSE as literal values
* use common numeric expressions
* fix identifier quoting
* downcase identifiers unless they're quoted
* fix string quoting
* add support for sql comments
* additional test cases
* Reformat test-runner aspects
* Improve support for NOT expressions (eg. NOT IN, NOT LIKE)
|