master > master: umbenennung von grammatik

This commit is contained in:
RD 2021-05-10 15:55:00 +02:00
parent 30ed4667e1
commit cbeca60c33
2 changed files with 1 additions and 1 deletions

View File

@ -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);