Re: Which lexer do people use?

2020-07-04 Thread Adrian Vogelsgesang
Hi Daniele, > Which other scanners do people use? For what it’s worth, we are using a hand-rolled scanner. Seemed just the fastest way to get rolling and the easiest to maintain. Also, it allowed us to embed a few hacks directly inside the scanner: E.g. in a few places our grammar is not actual

Re: Which lexer do people use?

2020-07-04 Thread John P. Hartmann
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). There were a few other hoops, such as no

Re: Which lexer do people use?

2020-07-04 Thread Derek Clegg
On Jul 3, 2020, at 11:14 PM, Akim Demaille wrote: > > Hi Daniele, > >> Le 3 juil. 2020 à 23:15, Daniele Nicolodi a écrit : >> >> Hello, >> >> the historical pairing is using Flex with Bison. However, while Bison is >> under active development and seems to be a very solid code base, there >> i

Re: Which lexer do people use?

2020-07-04 Thread Christian Schoenebeck
On Samstag, 4. Juli 2020 08:14:46 CEST Akim Demaille wrote: > Hi Daniele, > > > Le 3 juil. 2020 à 23:15, Daniele Nicolodi a écrit : > > > > Hello, > > > > the historical pairing is using Flex with Bison. However, while Bison is > > under active development and seems to be a very solid code base

Re: Which lexer do people use?

2020-07-04 Thread Hans Åberg
> On 3 Jul 2020, at 23:15, Daniele Nicolodi wrote: > > Which other scanners do people use? You might ask this question in the Usenet newsgroup comp.compilers.