Changeset 16

Show
Ignore:
Timestamp:
04/06/11 13:32:26 (1 year ago)
Author:
eachainn
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • toys/v3d/parsed.g

    r13 r16  
    2727*/ 
    2828 
    29 /** A parser for D v1. 
    30   * It's a little loose in parsing declarations, as correctly discerning 
    31   * a function header is complicated, and it's a bit smarter than DMD in a few 
    32   * other places. It can pick out some expression/declaration ambiguities and  
    33   * mark them as such, and it allows mixins to begin expressions
    34   * Ambiguities between types and expressions are not caught, and always default  
    35   * to types. 
     29/** 
     30  * Alright people, stop looking at this and thinking it actually works. 
     31  * It doesn't. It never did because ANLTR3 is a heck of a lot more neurotic 
     32  * than ANTLR2. 
     33  * The ANLTR2 grammars, on the other hand, work pretty well
     34  * Have a peek at https://bitbucket.org/ariovistus/d-jvm-cc/src/ 
     35  * for them and lots of unfinished cruft 
    3636  */ 
     37 
    3738parser grammar parsed; 
    3839// manually converted from a v2 grammar. (I might make this one pretty)