diff --git a/code/aussagenlogik/schema.py b/code/aussagenlogik/schema.py index 0f76e36..7f011f7 100644 --- a/code/aussagenlogik/schema.py +++ b/code/aussagenlogik/schema.py @@ -15,7 +15,7 @@ from aussagenlogik.syntaxbaum import SyntaxBaum; # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # lexer durch LARK erzeugen -with open('grammars/grammar.lark', 'r') as fp: +with open('grammars/aussagenlogik.lark', 'r') as fp: grammar = ''.join(fp.readlines()); lexer = Lark(grammar, start='expr', regex=True); diff --git a/code/grammars/grammar.lark b/code/grammars/aussagenlogik.lark similarity index 100% rename from code/grammars/grammar.lark rename to code/grammars/aussagenlogik.lark