Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make lark.lark parse the same grammar as load_grammar.py, and make grammar.md document it more fully. #1388

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Commits on Feb 1, 2024

  1. Make lark.lark parse the same grammar as load_grammar.py, and make gr…

    …ammar.md document it more fully.
    RossPatterson committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    db1a5a5 View commit details
    Browse the repository at this point in the history
  2. 1. Fix "Python type check / Format (pull request)" failure in test_la…

    …rk_lark.py (trailing whitespace in test_06_*())
    
    2. Remove what was left of "Literals can be one of: ..." under "Terminals" in grammar.md.
    
    3. Address @erezsh's point about inlined terminals under "Terminals" in grammar.md.
    
    4. Remove "lark.lark-ORIG" references in test_lark_lark.py and test_grammar_formal.py that shouldn't have been pushed.
    
    5. Address @erezsh's point about f.readlines() in test_grammar_formal.py.
    
    6. Address @erezsh's point commented-out tests in test_grammar_formal.py.
    RossPatterson committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    9493f81 View commit details
    Browse the repository at this point in the history
  3. DOH!

    RossPatterson committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    7a2880f View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Configuration menu
    Copy the full SHA
    83a374f View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Configuration menu
    Copy the full SHA
    fdffb5f View commit details
    Browse the repository at this point in the history
  2. Make lark.lark accept the same input as load_grammar.py, and provide …

    …a visitor that enforces some of its restrictions.
    RossPatterson committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    95c5742 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    200d6b5 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. Configuration menu
    Copy the full SHA
    0fb28f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ec5ef3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9c026e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9bf7ddf View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. Configuration menu
    Copy the full SHA
    7f02bd1 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Push optionality of rule_modifiers and priority down into rule_modifi…

    …ers and priority, like load_grammar does
    RossPatterson committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    4f7a5eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40576d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    daac65d View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    5f37365 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    697841b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    654e102 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    33d7088 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0d01fe2 View commit details
    Browse the repository at this point in the history