OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: 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 <<

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 <jcowan@reutershealth.com>     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_

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC