> Le 9 mai 2018 à 05:00, Frank Heckenbach <f.heckenb...@fh-soft.de> a écrit : > > Hans Åberg wrote: > >>> On 8 May 2018, at 11:13, Akim Demaille <a...@lrde.epita.fr> wrote: >>> >>> I'm all rusted on Bison. >> >> Welcome back, though! > > Yes, nice to see you again!
Thanks :) >> Your idea of letting Bison to keep track of the type does not work >> in mid-actions as it is needed to decide which copy constructor to >> use, unlike C then. > > And likewise for %destructor and %printer. This is something I have not studied yet, I’ll have to look at it. I’m really disappointed that we have to double-code the symbol types. I did not run benchmarks, but I expect more space and more time with std::variants. Not to mention the C++-98/03 compatibility :)