| 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 |
|---|