digitalmars.D - D Parser
- Andres C. Rodriguez (8/8) Aug 03 2004 Hello all,
- parabolis (7/21) Aug 03 2004 The D docs provide the only publicly available (BNF) grammar
- Stephan Wienczny (5/19) Aug 04 2004 There has been somebody on this newsgroup who, released a grammar for
- J C Calvarese (5/24) Aug 04 2004 I'm sure someone released some sort of grammar a while ago, but I think ...
- Stephan Wienczny (3/10) Aug 04 2004 I think I saw the grammar, but it wasn't not (yet) finished.
- Andy Friesen (4/16) Aug 04 2004 Walter hasn't written a complete, formal grammar. There is this, though...
Hello all, I am looking for: 1) A grammar for D, which I suppose it's available. 2) A tool for generting a D AST (Abstract Syntax Tree). I assume the second one is available thru the compiler, but not necessarily in D or in a digestable way. Thanks for any info, Andres
Aug 03 2004
Andres C. Rodriguez wrote:Hello all, I am looking for: 1) A grammar for D, which I suppose it's available. 2) A tool for generting a D AST (Abstract Syntax Tree). I assume the second one is available thru the compiler, but not necessarily in D or in a digestable way. Thanks for any info, AndresThe D docs provide the only publicly available (BNF) grammar parts I am aware of: http://www.digitalmars.com/d/index.html The source for the whole front end of the compiler is in the dmd/src directory if you download it: http://www.digitalmars.com/d/dcompiler.html
Aug 03 2004
Andres C. Rodriguez wrote:Hello all, I am looking for: 1) A grammar for D, which I suppose it's available. 2) A tool for generting a D AST (Abstract Syntax Tree). I assume the second one is available thru the compiler, but not necessarily in D or in a digestable way. Thanks for any info, AndresThere has been somebody on this newsgroup who, released a grammar for antlr. I don't exactly know which post it was, but maybe sombody else remembers... Stephan
Aug 04 2004
In article <ceq922$252e$1 digitaldaemon.com>, Stephan Wienczny says...Andres C. Rodriguez wrote:I'm sure someone released some sort of grammar a while ago, but I think that the last time antlr was discussed, no one released anything. Here's the thread I found: http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/4953 jcc7Hello all, I am looking for: 1) A grammar for D, which I suppose it's available. 2) A tool for generting a D AST (Abstract Syntax Tree). I assume the second one is available thru the compiler, but not necessarily in D or in a digestable way. Thanks for any info, AndresThere has been somebody on this newsgroup who, released a grammar for antlr. I don't exactly know which post it was, but maybe sombody else remembers... Stephan
Aug 04 2004
J C Calvarese wrote:In article <ceq922$252e$1 digitaldaemon.com>, Stephan Wienczny says... I'm sure someone released some sort of grammar a while ago, but I think that the last time antlr was discussed, no one released anything. Here's the thread I found: http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/4953 jcc7I think I saw the grammar, but it wasn't not (yet) finished. Stephan
Aug 04 2004
Andres C. Rodriguez wrote:Hello all, I am looking for: 1) A grammar for D, which I suppose it's available. 2) A tool for generting a D AST (Abstract Syntax Tree). I assume the second one is available thru the compiler, but not necessarily in D or in a digestable way. Thanks for any info,Walter hasn't written a complete, formal grammar. There is this, though: <http://dsource.org/forums/viewtopic.php?t=258> -- andy
Aug 04 2004