Browse Source

Tiny update (Nearley)

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.10.0
Erez Sh 4 years ago
parent
commit
621d9f651f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lark/tools/nearley.py

+ 1
- 1
lark/tools/nearley.py View File

@@ -186,7 +186,7 @@ def get_arg_parser():
parser = argparse.ArgumentParser('Reads Nearley grammar (with js functions) outputs an equivalent lark parser.')
parser.add_argument('nearley_grammar', help='Path to the file containing the nearley grammar')
parser.add_argument('start_rule', help='Rule within the nearley grammar to make the base rule')
parser.add_argument('nearley_lib', help='')
parser.add_argument('nearley_lib', help='Path to root directory of nearley codebase (used for including builtins)')
parser.add_argument('--es6', help='Enable experimental ES6 support', action='store_true')
return parser



Loading…
Cancel
Save