[Top][All Lists]

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

Re: I need simpler examples (was: RE: Enhancement request: enabling Vari

From: Akim Demaille
Subject: Re: I need simpler examples (was: RE: Enhancement request: enabling Variant in C parsers)
Date: Sun, 9 Dec 2018 19:09:12 +0100

> Le 9 déc. 2018 à 17:06, Askar Safin <address@hidden> a écrit :
> Hi, Akim.
>> So I still believe the documentation, with rpcalc and mfcalc are the simple 
>> examples you are asking for, and then the flex example (in examples/c, not 
>> in the documentation) should be good starting points, with locations.
> What examples/c you are talking about? I don't see "c" directory here: 
> http://git.savannah.gnu.org/cgit/bison.git/tree/examples .

It was created today (it exists now).  In contains rpcalc and mfcalc that were 
in examples/ before, and now it also contains lexcalc.

>> You are right.  I have to find where exactly.  Suggestions welcome.
> To the end of "2. Examples". Even if you don't find good way to add to docs, 
> at least, please add to "11. Frequently Asked Questions".

I'll check that, thanks for the suggestion.

>> It's an ongoing effort.  If you look the history of the examples you'll see 
>> that they are getting Makefiles and READMEs.  In particular calc++ has its 
>> Makefile, so your comment is quite inaccurate.
> Oops, again my fault. Also, Debian version of Bison doesn't have this 
> Makefile. I mean that package "bison-doc 1:3.2.2-1" has dir 
> /usr/share/doc/bison-doc/examples/calc++ and it has no Makefile. This is 
> their bug, of course

Please report this to them!  The Makefiles are to be installed together with 
the READMEs.  Here is what I have currently when I run make install:

$ cd /opt/gostai/share/doc/bison
$ find .

reply via email to

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