Re: Which lexer do people use?

"John P. Hartmann" <[email protected]>
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
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
                   }
                ;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.