We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pygen --help
python
1 parent 84c3191 commit 1e5f615Copy full SHA for 1e5f615
Tools/peg_generator/pegen/__main__.py
@@ -107,7 +107,10 @@ def generate_python_code(
107
help="Suppress code emission for rule actions",
108
)
109
110
-python_parser = subparsers.add_parser("python", help="Generate Python code")
+python_parser = subparsers.add_parser(
111
+ "python",
112
+ help="Generate Python code, needs grammar definition with Python actions",
113
+)
114
python_parser.set_defaults(func=generate_python_code)
115
python_parser.add_argument("grammar_filename", help="Grammar description")
116
python_parser.add_argument(
0 commit comments