std.d.lexer: pre-voting review / discussion

Robert Schadek realburner at gmx.de
Thu Sep 12 03:18:32 PDT 2013


On 09/12/2013 12:09 AM, Manfred Nowak wrote:
> Walter Bright wrote:
>
>> Since the very beginning.
>>
>> One example is determining if something is a declaration or an
>> expression. 
> I see now, that you wrote about parsing---not about lexing.
>
> Btw. I wrote an LALR(1)-parser for an early version of D. This means a 
> lookahead of one was sufficient---or I made terrible mistakes. 
>
> -manfred
I had problems with it, especially with

/IdentifierList:
    Identifier . IdentifierList
    TemplateInstance. IdentifierList

And Bison also complaint.
/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130912/b5cd4814/attachment.html>


More information about the Digitalmars-d mailing list