Lexer and parser generators using CTFE

Nick Sabalausky a at a.a
Wed Feb 29 09:09:08 PST 2012


"Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> wrote in message 
news:jiljf7$18em$1 at digitalmars.com...
> On 2/28/12 9:57 AM, H. S. Teoh wrote:
>> On Tue, Feb 28, 2012 at 01:59:21AM -0600, Andrei Alexandrescu wrote:
>>> This is the kind of stuff I've had an eye on for the longest time.
>>> I'm saying it's of strategic importance because CTFE technology,
>>> though not new and already available with some languages, has unique
>>> powers when combined with other features of D. With CTFE we get to do
>>> things that are quite literally impossible to do in other languages.
>>
>> For example?
>
> For example integrated lexer and parser generators!
>

...With statically-checked symbol names that can include arbitrary 
characters:

Sym!"+"
Sym!"{"
Sym!"<Foo>"
etc...




More information about the Digitalmars-d mailing list