Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TPDB plain text parser cannot read comment #9

Open
jwaldmann opened this issue Apr 29, 2014 · 1 comment
Open

TPDB plain text parser cannot read comment #9

jwaldmann opened this issue Apr 29, 2014 · 1 comment
Labels

Comments

@jwaldmann
Copy link
Owner

matchbox2014 --cpf tpdb/tpdb-4.0/TRS/HofWald/2.trs 
matchbox2014: "input" (line 2, column 24):
unexpected "-"
expecting "," or ")"

cat tpdb/tpdb-4.0/TRS/HofWald/2.trs
(Comment with f(a,z) = A(z), f(f(a,a),z) = B(z),
         this is AB(z) -> BAA(z)
         this is not RFC-match-bounded (but its reverse is)
)
(VAR x)
(RULES f (a, f (f (a, a), x)) -> f (f (a, a), f (a, f (a, x))))
@jwaldmann jwaldmann added the bug label Apr 29, 2014
@jwaldmann
Copy link
Owner Author

similar: tpdb-4.0/SRS/Zantema06/rel09.srs

pure-matchbox: "input" (line 9, column 34):
unexpected ";"
expecting "," or ")"
CallStack (from HasCallStack):
  error, called at src/TPDB/Input/File.hs:24:21 in tpdb-2.1.1-H8rbAXXSma2B3X9d1Pgeei:TPDB.Input.File

file contents:

(RULES
0 p 0  ->= q ,
1 p 1  ->= q ,
0 q 0  ->= q ,
1 q 1  ->= q ,
b q b  -> b p b , 
p  ->= 1 p 1 0 1 
)
(COMMENT: encoding of PCP [1,101];
rel.termin <==> no PCP solution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant