Skip to content

Commit d4ac398

Browse files
authored
Add tool to convert grammar to ebnf (#6995)
1 parent 74f6336 commit d4ac398

File tree

3 files changed

+531
-1
lines changed

3 files changed

+531
-1
lines changed

edb/.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22
*.html
33

44
# Grammar spec file encoded as BitCode
5-
*.bc
5+
*.bc
6+
7+
# Grammar spec file encoded as EBNF
8+
*.ebnf

edb/tools/edb.py

+1
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,6 @@ def load_ext(args: tuple[str, ...]):
8989
from . import ls_forbidden_functions # noqa
9090
from . import redo_metaschema # noqa
9191
from . import ls # noqa
92+
from . import railroad_diagram # noqa
9293
from .profiling import cli as prof_cli # noqa
9394
from .experimental_interpreter import edb_entry # noqa

0 commit comments

Comments
 (0)