2.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit a4e0cce6 authored by di68kap's avatar di68kap
Browse files

- AST Transformation; Error was in MLW_compiler.py; MLW_compiler needs to be rebuild anyway...

parent 03a8057e
......@@ -138,7 +138,7 @@ class MLWGrammar(GrammarBase):
DATEI_ENDE = !/./
NIEMALS = /(?!.)/
"""
source_hash__ = "ab1cb5e0828e27aa217345f61803efd1"
source_hash__ = "b7a2723dbd0e974ea5f5052e5a322791"
parser_initialization__ = "upon instatiation"
wsp__ = mixin_comment(whitespace=r'[\t\r\ ]*', comment=r'#.*(?:\n|$)')
wspL__ = wsp__
......@@ -195,8 +195,8 @@ class MLWGrammar(GrammarBase):
#
#######################################################################
def test(node):
print(node.as_sexpr())
# def test(node):
# print(node.as_sexpr())
def join_strings(node, delimiter='\n'):
......@@ -210,9 +210,10 @@ def join_strings(node, delimiter='\n'):
while n < len(node.result) and not node.result[n].children:
n += 1
nd.result = delimiter.join((r.result for r in node.result[a:n]))
else:
raise AssertionError(node.as_sexpr())
new_result.append(nd)
node.result = tuple(new_result)
print(node.as_sexpr())
MLWTransTable = {
......
......@@ -311,29 +311,53 @@
</EinBeleg>
<EinBeleg>
Form. Sangall. 39 p. 421,16 "munuscula ... direximus, hoc est palliolum ... ,
-as duas."
<RegExp>
Form. Sangall. 39 p. 421,16 "munuscula ... direximus, hoc est palliolum ... ,
</RegExp>
<RegExp>
-as duas."
</RegExp>
</EinBeleg>
<EinBeleg>
Catal. thes. Germ. 18,7 "-eterculi viginti quatuor".
</EinBeleg>
<EinBeleg>
Libri confrat. I app. A 6 p. 137,30 "pulpitum ... -a cocco imaginata
circumdari iussit pontifex."
<RegExp>
Libri confrat. I app. A 6 p. 137,30 "pulpitum ... -a cocco imaginata
</RegExp>
<RegExp>
circumdari iussit pontifex."
</RegExp>
</EinBeleg>
<EinBeleg>
Catal. thes. Germ. 76,15 -rulae II. 40,5 VI vizregule. 129a,5 -sterculas
II. 24,8 -itella X. 114,8 VIII fezdregle. 6,24 fasciutercule
VII. 92,6 fascercule tres. 21,20 IIII festregele.
saepe.
<RegExp>
Catal. thes. Germ. 76,15 -rulae II. 40,5 VI vizregule. 129a,5 -sterculas
</RegExp>
<RegExp>
II. 24,8 -itella X. 114,8 VIII fezdregle. 6,24 fasciutercule
</RegExp>
<RegExp>
VII. 92,6 fascercule tres. 21,20 IIII festregele.
</RegExp>
<Zusatz>
saepe.
</Zusatz>
<LEER>
<RegExp>
</RegExp>
</LEER>
</EinBeleg>
</Belege>
</Bedeutung>
......@@ -342,14 +366,6 @@
</RegExp>
</LEER>
<LEER>
<RegExp>
</RegExp>
</LEER>
<Bedeutung>
......@@ -386,12 +402,16 @@
</EinBeleg>
<EinBeleg>
II 20 nuditatem membrorum illius (puellae) tegere festinarunt fideles
clerici et laici inprimis cum eorum -cula, dein vestibus solitis.
<RegExp>
II 20 nuditatem membrorum illius (puellae) tegere festinarunt fideles
</RegExp>
<RegExp>
clerici et laici inprimis cum eorum -cula, dein vestibus solitis.
</RegExp>
</EinBeleg>
</Belege>
</Bedeutung>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment