Re: Pike 8.0 RC1

Chris Angelico <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <CAPTjJmosY4DTw6DFCGBBA4PCHX2ThYFs0O9DkDsBsnU3j4A4YA@mail.gmail.com>
On Tue, Oct 28, 2014 at 7:40 PM, Mirar @ Pike  importmöte för
mailinglistan <[email protected]> wrote:
>  >> #{ is terminated by #}
>  >> #abc{ is terminated by #abc}
>
>  >Presumably anything that's actually a preprocessor command would be
>  >illegal for that - it'd be awkward if you go #string{    #string}.
>
> I like this idea but I think #something{ is a bit tricky. Probably
> better to have #[something]{ or similar to differentiate from
> #preprocessor directives.

Yeah, for precisely the same ambiguity I was worrying about. But the
more verbiage is included, the less useful it'll be. I do like the
idea of a raw string literal - one that doesn't need all its
backslashes escaped - but I don't expect to be nesting them more than
three deep.

ChrisA
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.