From cbeca60c33bd0a1fa6b6d81dc628e50ff834bcba Mon Sep 17 00:00:00 2001 From: raj_mathe Date: Mon, 10 May 2021 15:55:00 +0200 Subject: [PATCH] master > master: umbenennung von grammatik --- code/aussagenlogik/schema.py | 2 +- code/grammars/{grammar.lark => aussagenlogik.lark} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename code/grammars/{grammar.lark => aussagenlogik.lark} (100%) 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