mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
examples: sort them per language and complete them
Convert some of the READMEs to Markdown, which is now more common, and nicely displayed in some git hosting services. Add missing READMEs and Makefiles. Generate XML, HTML and Dot files. Be sure to ship the test files. Complete CLEANFILES to remove all generated files. * examples/calc++: Move into... * examples/c++: here. * examples/mfcalc, examples/rpcalc: Move into... * examples/c: here. * examples/README.md, examples/c++/calc++/Makefile, examples/c/local.mk, * examples/c/mfcalc/Makefile, examples/c/rpcalc/Makefile, * examples/d/README.md, examples/java/README.md: New files. * examples/test (medir): Be robust to deeper directory nesting.
This commit is contained in:
12
NEWS
12
NEWS
@@ -137,8 +137,12 @@ GNU Bison NEWS
|
||||
|
||||
** Documentation
|
||||
|
||||
The examples (installed in .../share/doc/bison/examples), now include a
|
||||
Java calculator.
|
||||
The examples/ directory (installed in .../share/doc/bison/examples) has
|
||||
been restructured per language for clarity. The examples come with a
|
||||
README and a Makefile. Not only can they be used to toy with Bison, they
|
||||
can also be starting points for your own grammars.
|
||||
|
||||
There is now a Java example.
|
||||
|
||||
** Changes
|
||||
|
||||
@@ -647,7 +651,7 @@ GNU Bison NEWS
|
||||
|
||||
Traditional Yacc generates 'y.tab.c' whatever the name of the input file.
|
||||
Therefore Makefiles written for Yacc expect 'y.tab.c' (and possibly
|
||||
'y.tab.h' and 'y.outout') to be generated from 'foo.y'.
|
||||
'y.tab.h' and 'y.output') to be generated from 'foo.y'.
|
||||
|
||||
To this end, for ages, AC_PROG_YACC, Autoconf's macro to look for an
|
||||
implementation of Yacc, was using Bison as 'bison -y'. While it does
|
||||
@@ -3284,7 +3288,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
LocalWords: pragmas noreturn untyped Rozenman unexpanded Wojciech Polak
|
||||
LocalWords: Alexandre MERCHANTABILITY yytype emplace ptr automove lvalues
|
||||
LocalWords: nonterminal yy args Pragma dereference yyformat rhs docdir
|
||||
LocalWords: Redeclarations rpcalc Autoconf YFLAGS Makefiles outout PROG
|
||||
LocalWords: Redeclarations rpcalc Autoconf YFLAGS Makefiles PROG
|
||||
LocalWords: Heimbigner AST src ast Makefile srcdir MinGW
|
||||
|
||||
Local Variables:
|
||||
|
||||
Reference in New Issue
Block a user