Re: [relax-ng] compact syntax: feedback from RelaxNGCC

From
John Cowan <>
Date
2002-06-18T03:21:51+00:00
ID
Thread
Re: [relax-ng] compact syntax: feedback from RelaxNGCC
James Clark scripsit:

> The obvious solution to this is to provide an additional string syntax that 
> either uses a multi-character delimiter or a user-specified delimiter.  For 
> example, Perl has the sh here syntax:
> 
> <<END
> Any number of
> lines ending with a line containing what follows <<
> END

I think this, or something like it, is an excellent idea.  Python
has multi-line strings delimited by """ at each end, as another
possible syntax; unlike Perl/sh documents, these strings are embedded
directly, rather than beginning in the line following the one where
the "<<foo" appears.

-- 
John Cowan <>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_