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 <alg...@gmx.net> 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
> Users-prolog@gnu.org
> https://lists.gnu.org/mailman/listinfo/users-prolog
>



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

Reply via email to