summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-02-17 13:28:37 +0100
committerAndy Wingo <wingo@pobox.com>2011-03-24 21:10:01 +0100
commitccedcac5ef3ed02a02803dafc11b725b020a4ca6 (patch)
treeec09c7828c6f9deb4700f96f2d023f0915ecdbb6
parent4a0de25e591a4c1e6223fb97edf22e43212cfe1d (diff)
downloadguile-ccedcac5ef3ed02a02803dafc11b725b020a4ca6.tar.gz
peg: add copyright header
* module/ice-9/peg.scm: Add copyright header.
-rw-r--r--module/ice-9/peg.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/module/ice-9/peg.scm b/module/ice-9/peg.scm
index 238600194..f97099888 100644
--- a/module/ice-9/peg.scm
+++ b/module/ice-9/peg.scm
@@ -1,3 +1,22 @@
+;;;; peg.scm --- Parsing Expression Grammar (PEG) parser generator
+;;;;
+;;;; Copyright (C) 2010, 2011 Free Software Foundation, Inc.
+;;;;
+;;;; This library is free software; you can redistribute it and/or
+;;;; modify it under the terms of the GNU Lesser General Public
+;;;; License as published by the Free Software Foundation; either
+;;;; version 3 of the License, or (at your option) any later version.
+;;;;
+;;;; This library 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
+;;;; Lesser General Public License for more details.
+;;;;
+;;;; You should have received a copy of the GNU Lesser General Public
+;;;; License along with this library; if not, write to the Free Software
+;;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+;;;;
+
(define-module (ice-9 peg)
:export (peg-sexp-compile peg-string-compile context-flatten peg-parse define-nonterm define-nonterm-f peg-match get-code define-grammar define-grammar-f peg:start peg:end peg:string peg:tree peg:substring peg-record? keyword-flatten)
:autoload (ice-9 pretty-print) (peg-sexp-compile peg-string-compile context-flatten peg-parse define-nonterm define-nonterm-f peg-match get-code define-grammar define-grammar-f keyword-flatten)