Re: multilines strings "a la python"

"Jose F. Morales" <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <CAEdsdLd6vPOu1QWmydpMG469-bMWkFoszQ=eFMP=DriAW868wQ@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/users-prolog
>



-- 
Jose

_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.