bug-bison
[Top][All Lists]
Advanced

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

Re: Bison lexer


From: Akim Demaille
Subject: Re: Bison lexer
Date: Sat, 15 Sep 2018 07:07:17 +0200


> Le 31 août 2018 à 23:39, Hans Åberg <address@hidden> a écrit :
> 
>>>> But the final straw was when, after changing to C++ Bison, I wanted
>>>> to switch to C++ Flex too and found this beautiful comment:
>>>> 
>>>>  /* The c++ scanner is a mess. The FlexLexer.h header file relies on the
>>>>   * following macro. This is required in order to pass the 
>>>> c++-multiple-scanners
>>>>   * test in the regression suite. We get reports that it breaks 
>>>> inheritance.
>>>>   * We will address this in a future release of flex, or omit the C++ 
>>>> scanner
>>>>   * altogether. */
>>> 
>>> It has been like that since the 1990s, I believe.
>> 
>> Even better! :(
>> 
>> Especially since C++ in the 1990s was totally different from modern
>> C++, so I have no idea if anything of this comment is still
>> relevant, or maybe even more relevant, today compared to then.
> 
> Indeed, very old.

So, while I totally understand Frank’s point, I’m less worried than
he is, and use Flex’s C++ backend.

It seems that the resources developments of Flex are scarce.  They
easily agree on issues, but even for the most trivial ones (e.g.,
delete three lines, https://github.com/westes/flex/issues/379),
they ask for a patch.

But, then, who am I to discuss about the maintenance resources :-(


reply via email to

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