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:
Akim Demaille
2018-12-09 11:49:23 +01:00
parent 1e6a68858a
commit 85d303b713
28 changed files with 252 additions and 91 deletions

View File

@@ -15,7 +15,7 @@ all: Calc.class
$(JAVAC) $(JAVACFLAGS) $<
run: Calc.class
echo "Type arithmetic expressions. Quit with ctrl-d."
@echo "Type arithmetic expressions. Quit with ctrl-d."
$(JAVA) $(JAVAFLAGS) Calc
html: Calc.html