Re: TermL vs JSON: "\/"

"Mark Miller" <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
On Wed, Jan 14, 2009 at 8:06 PM, David-Sarah Hopwood
<david.hopwood-mRVxzIiVagSlV3Ge8JjJtnfLna9zW77MtUK59QYPAWc@public.gmane.org> wrote:
> Kevin Reid wrote:
>> Should \/ be permitted in all other BaseLexer-derived languages?
>
> Which languages are those exactly? It seems harmless for languages
> where '\/' is not already defined to mean something else, which is
> unlikely.

E, Orc-in-E, and TermL. The Orc-in-E is proof of concept, and is not
meant to rigorously conform to any Orc spec, so I think it's fine for
now. But if we did want variation between languages, we could change
BaseLexer#charConstantInternal() from private to protected and
override it in the language-specific subclasses.


-- 
Text by me above is hereby placed in the public domain

    Cheers,
    --MarkM
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.