examples: d: duplicate the example as "simple" and "calc"

* examples/d/Makefile, examples/d/calc.d, examples/d/calc.test,
examples/d/calc/local.mk: Move into...
* examples/d/calc, examples/d/simple: these new directories.
This commit is contained in:
Adela Vais
2020-09-02 14:32:22 +03:00
committed by Akim Demaille
parent f3bcb3de0e
commit 8032dde383
10 changed files with 296 additions and 20 deletions

View File

@@ -5,9 +5,12 @@ This directory contains examples of Bison grammar files in D.
You can run `make` to compile these examples. And `make clean` to tidy
afterwards.
## d/calc.y
## d/simple.y
The usual calculator.
## d/calc.y
A richer implementation of the calculator.
<!---
Local Variables: