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

ABNF grammar support V2 #1022

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

Commits on Oct 19, 2021

  1. Configuration menu
    Copy the full SHA
    432bfb6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7aa662 View commit details
    Browse the repository at this point in the history
  3. Added support for grammar in ABNF format (RFC5234 and RFC7405)

    Following directives (%import and %terminal) are added as extensions
    to ABNF grammar.
    
    Syntax:
     %import module
     %import module (rule1, rule2, ...)
     %terminal rule1, rule2, ...
    
    Example:
     %import core-rules       ; import rules from lark/grammars/core-rules.abnf
     %import core-rules (CRLF, DIGITS) ; import specified rules only
     %terminal CRLF           ; turn rule 'CRLF' into terminal
    t-higuchi committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    30d1881 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bad5a21 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0cab048 View commit details
    Browse the repository at this point in the history