mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
32 lines
854 B
Markdown
32 lines
854 B
Markdown
# Examples in D
|
|
|
|
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/simple.y
|
|
The usual calculator.
|
|
|
|
## d/calc.y
|
|
A richer implementation of the calculator, with location tracking.
|
|
|
|
<!---
|
|
|
|
Local Variables:
|
|
fill-column: 76
|
|
ispell-dictionary: "american"
|
|
End:
|
|
|
|
Copyright (C) 2018-2021 Free Software Foundation, Inc.
|
|
|
|
Permission is granted to copy, distribute and/or modify this document
|
|
under the terms of the GNU Free Documentation License, Version 1.3 or
|
|
any later version published by the Free Software Foundation; with no
|
|
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
|
|
Texts. A copy of the license is included in the "GNU Free
|
|
Documentation License" file as part of this distribution.
|
|
|
|
# LocalWords: mfcalc calc parsers yy
|
|
--->
|