alessandro-montanari / tuprolog

Automatically exported from code.google.com/p/tuprolog
0 stars 0 forks source link

DCG Library not accepting terms with single quotes #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The following line of code is OK in most Prolog systems:

iterm3(Term) --> "'", notquote(Cs), "'", { name(Term1,Cs), Term = q(Term1) }.

Instead, it raises a parsing error in tuProlog, even if the square brackets are 
added around terminal symbols:

iterm3(Term) --> ["'"], notquote(Cs), ["'"], { name(Term1,Cs), Term = q(Term1) 
}.

The problem only occurs in the DCG Library: terms like "'" are handled 
correctly in the tuProlog interpreter

Original issue reported on code.google.com by enrico.d...@gmail.com on 6 Dec 2013 at 1:48

GoogleCodeExporter commented 9 years ago
any ETA on resolving this?

Original comment by hadfield...@gmail.com on 20 May 2014 at 7:30

GoogleCodeExporter commented 9 years ago
It's on our schedule, but the parsing problem is rooted deep inside the engine. 
Please be patient...sorry

Original comment by enrico.d...@gmail.com on 21 May 2014 at 12:53