bison-patches
[Top][All Lists]
Advanced

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

Re: My plans for Bison: C99


From: Akim Demaille
Subject: Re: My plans for Bison: C99
Date: Wed, 13 Feb 2019 06:49:52 +0100

Hi HS,

> Le 12 févr. 2019 à 19:55, H. S. Teoh <address@hidden> a écrit :
> 
> Yes, in this day and age of standardization, we can assume a lot more
> than we could back in the day.  Now that those old days are firmly in
> the past, it's a good time to shed the accumulated baggage. I think C99
> and POSIX-1.2001 is a pretty safe, conservative baseline to build on,
> being almost 2 decades old by now.

So you will be happy to note that Bison 3.0 (2013-07-25) announced
that it will move to C99, that 3.1 formally states it

* Noteworthy changes in release 3.1 (2018-08-27) [stable]

** Backward incompatible changes

  Compiling Bison now requires a C99 compiler---as announced during the
  release of Bison 3.0, five years ago.  Generated parsers do not require a
  C99 compiler.


> it's a good time to shed the accumulated baggage

So you might also appreciate some of my commits.

$ git slog | grep reduce
48429252 Akim Demaille style: reduce scopes
f82f7eb1 Akim Demaille style: reduce scopes in state.c and ielr.c
21a7fa80 Akim Demaille traces: always print the reduced grammar and fix it
5bcd4292 Akim Demaille style: reduce scopes in glr.c
6220e96e Akim Demaille style: reduce scopes
2b2556b4 Akim Demaille style: reduce scopes
e4ee138f Akim Demaille yacc: reduce scope in push mode
b2a3a302 Akim Demaille style: reduce scopes in muscle-tab.c
3ce67fa6 Akim Demaille timevar: reduce scopes
db025a6f Akim Demaille style: reduce scopes in gram.c
ca822fae Akim Demaille style: reduce scopes in reduce.c
84dcd799 Akim Demaille style: reduce scopes in complain.c
50910389 Akim Demaille style: reduce scopes in tables.c
6cc69f4d Akim Demaille style: reduce scopes in graphviz.c
46532a9d Akim Demaille style: reduce scopes in LR0.c
5603f0bd Akim Demaille style: reduce scopes in print_graph.c
2e9ad04c Akim Demaille style: reduce scopes
28cde9c1 Akim Demaille style: reduce scopes
d135a167 Akim Demaille style: reduce scopes
e19e088e Akim Demaille style: reduce scopes
c6990782 Akim Demaille style: ielr: reduce scopes
4c7377f4 Akim Demaille style: move to C99 to reduce scopes
2efaa8e9 Akim Demaille style: reduce scopes
7f42eb0a Akim Demaille style: reduce scopes

which are all about using C99 to clean up the code.


So I agree with 

> it's a good time to shed the accumulated baggage

but, in practice, what exactly are you referring to?





reply via email to

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