1

I guess there must be an easy answer to this, but I just haven't been able to find it - I want to include double-quote signs inside tau-prolog strings.. how to do it?

When I try entering it into the Tau-Prolog sandbox (http://tau-prolog.org/sandbox/) I get the following interaction:

A = "hello there, \"world\"".

error parsing query: error(syntax_error(unknown_escape_sequence),[line(1),column(4),found('"hello there, \\"')])

Any ideas? Where did I (stupidly) misunderstand things? :)

PS - it's not only a problem in the sandbox - if try to run a Tau-Prolog program (in the browser), and use a double-quote character anywhere inside a string I get the same parsing-problem.

false
  • 10,264
  • 13
  • 101
  • 209

0 Answers0