mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-07-23 19:40:32 +00:00
This patch was inspired by work by Michiel De Wilde. But he used Boost variants which (i) requires Boost on the user side, (ii) is slow, and (iii) has useless overhead (the parser knows the type of the semantic value there is no reason to duplicate this information as Boost.Variants do). This implementation reserves a buffer large enough to store the largest objects. yy::variant implements this buffer. It was implemented with Quentin Hocquet. * src/output.c (type_names_output): New. (output_skeleton): Invoke it. * data/c++.m4 (b4_variant_if): New. (b4_symbol_value): If needed, provide a definition for variants. * data/lalr1.cc (b4_symbol_value, b4_symbol_action_) (b4_symbol_variant, _b4_char_sizeof_counter, _b4_char_sizeof_dummy) (b4_char_sizeof, yy::variant): New. (parser::parse): If variants are requested, define parser::union_type, parser::variant, change the definition of semantic_type, construct $$ before running the user action instead of performing a default $$ = $1. * examples/variant.yy: New. Based on an example by Michiel De Wilde.
105 lines
4.6 KiB
Plaintext
105 lines
4.6 KiB
Plaintext
Bison was originally written by Robert Corbett. It would not be what
|
|
it is today without the invaluable help of these people:
|
|
|
|
Airy Andre [email protected]
|
|
Akim Demaille [email protected]
|
|
Albert Chin-A-Young [email protected]
|
|
Alexander Belopolsky [email protected]
|
|
Alexandre Duret-Lutz [email protected]
|
|
Andreas Schwab [email protected]
|
|
Andrew Suffield [email protected]
|
|
Anthony Heading [email protected]
|
|
Arnold Robbins [email protected]
|
|
Art Haas [email protected]
|
|
Baron Schwartz [email protected]
|
|
Benoit Perrot [email protected]
|
|
Bert Deknuydt [email protected]
|
|
Bob Rossi [email protected]
|
|
Brandon Lucia [email protected]
|
|
Bruce Lilly [email protected]
|
|
Bruno Haible [email protected]
|
|
Charles-Henri de Boysson [email protected]
|
|
Christian Burger [email protected]
|
|
Cris Bailiff [email protected]
|
|
Cris van Pelt [email protected]
|
|
Daniel Hagerty [email protected]
|
|
David J. MacKenzie [email protected]
|
|
Derek M. Jones [email protected]
|
|
Di-an Jan [email protected]
|
|
Dick Streefland [email protected]
|
|
Enrico Scholz [email protected]
|
|
Eric Blake [email protected]
|
|
Evgeny Stambulchik [email protected]
|
|
Fabrice Bauzac [email protected]
|
|
Florian Krohm [email protected]
|
|
Frank Heckenbach [email protected]
|
|
Frans Englich [email protected]
|
|
Georg Sauthoff [email protected]
|
|
Goran Uddeborg [email protected]
|
|
Guido Trentalancia [email protected]
|
|
H. Merijn Brand [email protected]
|
|
Hans Aberg [email protected]
|
|
Jan Nieuwenhuizen [email protected]
|
|
Jesse Thilo [email protected]
|
|
Jim Kent [email protected]
|
|
Jim Meyering [email protected]
|
|
Joel E. Denny [email protected]
|
|
Juan Manuel Guerrero [email protected]
|
|
Kees Zeelenberg [email protected]
|
|
Keith Browne [email protected]
|
|
Laurent Mascherpa [email protected]
|
|
Magnus Fromreide [email protected]
|
|
Marc Autret [email protected]
|
|
Martin Mokrejs [email protected]
|
|
Martin Nylin [email protected]
|
|
Matt Kraai [email protected]
|
|
Matt Rosing [email protected]
|
|
Michael Hayes [email protected]
|
|
Michiel De Wilde [email protected]
|
|
Mickael Labau [email protected]
|
|
Mike Castle [email protected]
|
|
Neil Booth [email protected]
|
|
Nelson H. F. Beebe [email protected]
|
|
Nicolas Burrus [email protected]
|
|
Nicolas Tisserand [email protected]
|
|
Noah Friedman [email protected]
|
|
Oleg Smolsky [email protected]
|
|
Paolo Bonzini [email protected]
|
|
Pascal Bart [email protected]
|
|
Paul Eggert [email protected]
|
|
Paul Hilfinger [email protected]
|
|
Per Allansson [email protected]
|
|
Peter Fales [email protected]
|
|
Peter Hamorsky [email protected]
|
|
Piotr Gackiewicz [email protected]
|
|
Quentin Hocquet [email protected]
|
|
Quoc Peyrot [email protected]
|
|
R Blake [email protected]
|
|
Raja R Harinath [email protected]
|
|
Richard Stallman [email protected]
|
|
Robert Anisko [email protected]
|
|
Satya Kiran Popuri [email protected]
|
|
Sebastien Fricker [email protected]
|
|
Sebastian Setzer [email protected]
|
|
Shura [email protected]
|
|
Steve Murphy [email protected]
|
|
Tim Josling [email protected]
|
|
Tim Van Holder [email protected]
|
|
Tom Lane [email protected]
|
|
Tom Tromey [email protected]
|
|
Tommy Nordgren [email protected]
|
|
Troy A. Johnson [email protected]
|
|
Tys Lefering [email protected]
|
|
Vin Shelton [email protected]
|
|
Wayne Green [email protected]
|
|
Wolfram Wagner [email protected]
|
|
Wwp [email protected]
|
|
Zack Weinberg [email protected]
|
|
|
|
Many people are not named here because we lost track of them. We
|
|
thank them! Please, help us keeping this list up to date.
|
|
|
|
Local Variables:
|
|
mode: text
|
|
End:
|