Re: Multi-Line Comments

Nicolas Pouillard <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <1255599888-sup-7845@peray>
Excerpts from Ingy dot Net's message of Thu Oct 15 00:06:05 +0200 2009:
> +1 Against multiline comments. Perl Python and Ruby don't have them.

There another for of multiline comments than /* */ that would I think match
with Yaml.

For instance Perl, Ruby (and I don't know about Python) have this from.

In these language the syntax is:

=begin
When =begin is found at the beginning of a line
(it must also ends the line, I think) then it
starts a multiline comment. This comment can simply
be ended by a =end on a single line too.
=end

Maybe Yaml should adopt other markers than =begin/=end, but I think
it will be nice extension to the line of markers like '---' and '...'.
We could have a new marker stating a comment block that will be ended
by a '...' marker for instance.

Best regards,

-- 
Nicolas Pouillard
http://nicolaspouillard.fr

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
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.