Let's stop parser Hell
Chad J
chadjoan at __spam.is.bad__gmail.com
Sat Jul 7 15:48:15 PDT 2012
On 07/07/2012 04:26 PM, Timon Gehr wrote:
> On 07/07/2012 08:55 PM, Chad J wrote:
>>
>> The specifics will easily change.
>
> I'd suggest:
>
> AstOp!`
> Lower
> while ( boolExpr )
> {
> statements;
> }
>
> Into
> loopAgain:
> if ( !boolExpr ) {
> statements;
> } else goto exitLoop
> goto loopAgain
> exitLoop:
>
> `.run(syntaxNode);
>
I wish.
Can you make it happen?
More information about the Digitalmars-d
mailing list