users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multilines strings "a la python"


From: Jose F. Morales
Subject: Re: multilines strings "a la python"
Date: Sat, 31 Jan 2015 12:48:02 +0100

Hi,

Other Prolog systems support multiline strings also with "..." syntax. Does anyone remember if that is incompatible with ISO Prolog standard? If not, is there any reasonable syntax extension that can be adopted by other Prolog implementations too?

(I've included Ulrich Neumerkel in the discussion)

On Sat, Jan 31, 2015 at 12:35 PM, Algaba <address@hidden> wrote:
hello

 Desperately,  I need multilines strings "a la python", something like :

 a_predicate(""" this is a multiline
    without any requirement of being ended by \  or anything like
    that
    just like a copy/paste would love
""")

 Putting \n\ at the end of each line is a huge nuisance in copy/paste operations
 and
    largely unnatural compared with the solution that python and many other
    languages have reached.


 greetings.
algaba



_______________________________________________
Users-prolog mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/users-prolog



--
Jose

reply via email to

[Prev in Thread] Current Thread [Next in Thread]