> On 23 Aug 2018, at 07:34, Akim Demaille <a...@lrde.epita.fr> wrote:
> 
>> Le 21 août 2018 à 10:46, Hans Åberg <haber...@telia.com> a écrit :
>> 
>> 
>>> On 19 Aug 2018, at 17:23, Akim Demaille <a...@lrde.epita.fr> wrote:
>>> 
>>>>> I would strongly suggest that you look at the examples/ in Bison, the C++
>>>>> calculator
>>>> 
>>>> I did look at it - this example scared me off c++ parsers :-(
>>> 
>>> Really???  Then I failed.  Can you be more specific?
>> 
>> I noticed: It does not have a Makefile, so one can’t just copy it and 
>> compile.
> 
> Why not adding one, indeed.

This style with local.mk perhaps comes from an age where Automake was not as 
smart. I use a Makefile.am.

In addition, it might benefit from using say a 
  #define YYSTYPE double
to illustrate how one sets ones own type.

This is the only preprocessor macro that remains in the C++ parser, so perhaps 
it should be replaced with a 
  %semantic-type {...}
or something.



Reply via email to