Re: Pike 8.0 RC1

Martin Bähr <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
Excerpts from Chris Angelico's message of 2014-10-28 09:28:24 +0100:
> >>  #{, #( and #[ starts a literal string, and it is ended by the corresponding
> >>  end marker: #}, #) and #] respectively.
> The question is, do we actually need more than three? Is the
> flexibility all that useful?

i can't even imagine how code that uses 3 levels would look like.
anyone with an example of why one would need/want to do that?

as for multilevel syntax, with a unique opening and closing tag, 
isn't that enough to identify proper nesting?

#{ first #{ second #{ third level #} level #} level #}

alternatively what about 
#{tag{ #}tag}
#{tag} #{/tag}
#<tag> #</tag> (ok, that one may cause problems quoting html)

greetings, martin.

-- 
eKita                   -   the online platform for your entire academic life
-- 
chief engineer                                                       eKita.co
pike programmer      pike.lysator.liu.se    caudium.net     societyserver.org
BLUG secretary                                                 beijinglug.org
foresight developer  foresightlinux.org                            realss.com
unix sysadmin
Martin Bähr          working in china        http://societyserver.org/mbaehr/
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.