Re: Pike 8.0 RC1
Chris Angelico <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAPTjJmomT_SZ3bf53CKoxgO2rc2axXznbdJc+16Ub75xNLMEUw@mail.gmail.com> |
On Tue, Oct 28, 2014 at 8:02 PM, Martin Bähr <[email protected]> wrote: > as for multilevel syntax, with a unique opening and closing tag, > isn't that enough to identify proper nesting? Only if you're embedding the entire thing in a single string. If you're making a program that writes code in pieces, you might want to have something like this: file->write(#{ write(#[ blah blah #}); // ... file->write(#{ blah blah #]); #}); This should produce this in the output file: write(#[ blah blah blah blah #]); But it needs to write "mis-nested" quote characters, with their nesting cleaned up by concatenation. ChrisA