help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which lexer do people use?


From: John P. Hartmann
Subject: Re: Which lexer do people use?
Date: Mon, 6 Jul 2020 10:54:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 7/6/20 06:36, Akim Demaille wrote:
I don't think you ever posted a snippet of that grammar of yours.  I
suppose there are IP issues, but maybe you could share just a small
bit, or a fake example, so that we can have a better idea of it?

I did send you one years ago, but here goes again. Your reaction then was "why don't you write it in C". The #if/#endif clause allows me to compile on the workstation, should I wish to do so.

condbeg:          orexpression S_QM
                  {
                     #if G
                     * condbeg:          orexpression S_QM
                     testnotstring 1            Selector must be numeric
                     #clear   poloffset
                     polist   polgozero,poloffset pop and test
                     l        r15,poloffsetlast    Get location
                     st       r15,yylval           save on stack
                     #endif
                  }
               ;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]