Re: Which lexer do people use?

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
Hi John,

> Le 4 juil. 2020 à 17:02, John P. Hartmann <[email protected]> a écrit :
> 
> For the scanner and parser I maintain on UNIX and then transport to the EBCDIC world of the mainframe, I had to write my own scanner, but I can get by with Bison as long as I don't use character constants in rules (IBM 360 assembler in rules does work).

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?

> There were a few other hoops, such as no more a tables-only bison option.
> 
> For other work, which is all in C, flex seems satisfactory.  Call me oldfashioned.

Actually fashion is often wrong, so "old-fashioned" sounds like "wise".

Cheers!
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.