Looking for champion - std.lang.d.lex

Michael Stover michael.r.stover at gmail.com
Fri Nov 19 15:56:06 PST 2010


so that was 4 months ago - how do things currently stand on that initiative?

-Mike

On Fri, Nov 19, 2010 at 6:37 PM, Bruno Medeiros
<brunodomedeiros+spam at com.gmail> wrote:

> On 19/11/2010 22:25, Michael Stover wrote:
>
>> As for D lexers and tokenizers, what would be nice is to
>> A) build an antlr grammar for D
>> B) build D targets for antlr so that antlr can generate lexers and
>> parsers in the D language.
>>
>> For B) I found http://www.mbutscher.de/antlrd/index.html
>>
>> For A) A good list of antlr grammars is at
>> http://www.antlr.org/grammar/list, but there isn't a D grammar.
>>
>> These things wouldn't be an enormous amount of work to create and
>> maintain, and, if done, anyone could parse D code in many languages,
>> including Java and C which would make providing IDE features for D
>> development easier in those languages (eclipse for instance), and you
>> could build lexers and parsers in D using antlr grammars.
>>
>> -Mike
>>
>
> Yes, that would be much better. It would be directly and immediately useful
> for the DDT project:
>
> "But better yet would be to start coding our own custom parser (using a
> parser generator like ANTLR for example), that could really be tailored for
> IDE needs. In the medium/long term, that's probably what needs to be done. "
> in
> http://www.digitalmars.com/d/archives/digitalmars/D/ide/Future_of_Descent_and_D_Eclipse_IDE_635.html
>
> --
> Bruno Medeiros - Software Engineer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20101119/36633e61/attachment.html>


More information about the Digitalmars-d mailing list