bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH for Dlang support 3/4] Added README.md and local.mk to example/d


From: Adela Vais
Subject: [PATCH for Dlang support 3/4] Added README.md and local.mk to example/d
Date: Tue, 1 Sep 2020 21:54:36 +0300

---
 examples/d/README.md | 28 ++++++++++++++++++++++++++++
 examples/d/local.mk  | 20 ++++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 examples/d/README.md
 create mode 100644 examples/d/local.mk

diff --git a/examples/d/README.md b/examples/d/README.md
new file mode 100644
index 00000000..fe05ef27
--- /dev/null
+++ b/examples/d/README.md
@@ -0,0 +1,28 @@
+# 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/calc.y
+The usual calculator.
+
+<!---
+
+Local Variables:
+fill-column: 76
+ispell-dictionary: "american"
+End:
+
+Copyright (C) 2018-2020 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
+--->
diff --git a/examples/d/local.mk b/examples/d/local.mk
new file mode 100644
index 00000000..786f013a
--- /dev/null
+++ b/examples/d/local.mk
@@ -0,0 +1,20 @@
+## Copyright (C) 2018-2020 Free Software Foundation, Inc.
+##
+## This program is free software: you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation, either version 3 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+ddir = $(docdir)/%D%
+dist_d_DATA = %D%/README.md
+
+include %D%/simple/local.mk
+include %D%/calc/local.mk
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]