Relicense some taken-from-GNU Guile LGPLv3+ files to GPLv3+.

* mes/module/mes/pmatch.scm: Relicense to GPLv3+.
* mes/module/sxml/xpath.scm: Likewise.
* mes/module/mes/peg/cache.scm: Likewise.
* mes/module/mes/peg/codegen.scm: Likewise.
* mes/module/mes/peg/simplify-tree.scm: Likewise.
* mes/module/mes/peg/string-peg.scm: Likewise.
* mes/module/mes/peg/using-parsers.scm: Likewise.
This commit is contained in:
Jan Nieuwenhuizen 2018-07-26 20:47:46 +02:00
parent a2d54958ff
commit 6c7b391e32
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273
7 changed files with 151 additions and 132 deletions

View file

@ -1,23 +1,23 @@
;;; -*-scheme-*- ;;; GNU Mes --- Maxwell Equations of Software
;;; Copyright (C) 2010, 2011 Free Software Foundation, Inc.
;;;
;;; This file is part of GNU Mes.
;;;
;;; GNU Mes 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.
;;;
;;; GNU Mes 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 GNU Mes. If not, see <http://www.gnu.org/licenses/>.
;;;; cache.scm --- cache the results of parsing ;;; Taken from GNU Guile
;;;; ;;; cache.scm --- cache the results of parsing
;;;; 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 cache) (define-module (ice-9 peg cache)
#:export (cg-cached-parser)) #:export (cg-cached-parser))

View file

@ -1,21 +1,24 @@
;;;; codegen.scm --- code generation for composable parsers ;;; GNU Mes --- Maxwell Equations of Software
;;;; ;;; Copyright (C) 2011 Free Software Foundation, Inc.
;;;; Copyright (C) 2011 Free Software Foundation, Inc. ;;;
;;;; ;;; This file is part of GNU Mes.
;;;; This library is free software; you can redistribute it and/or ;;;
;;;; modify it under the terms of the GNU Lesser General Public ;;; GNU Mes is free software; you can redistribute it and/or modify it
;;;; License as published by the Free Software Foundation; either ;;; under the terms of the GNU General Public License as published by
;;;; version 3 of the License, or (at your option) any later version. ;;; 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 ;;; GNU Mes is distributed in the hope that it will be useful, but
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; Lesser General Public License for more details. ;;; 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 Lesser General Public ;;;
;;;; License along with this library; if not, write to the Free Software ;;; You should have received a copy of the GNU General Public License
;;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;;; along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
;;;;
;;; Taken from GNU Guile
;;; codegen.scm --- code generation for composable parsers
(define-module (ice-9 peg codegen) (define-module (ice-9 peg codegen)
#:export (compile-peg-pattern wrap-parser-for-users add-peg-compiler!) #:export (compile-peg-pattern wrap-parser-for-users add-peg-compiler!)

View file

@ -1,21 +1,24 @@
;;;; simplify-tree.scm --- utility functions for the PEG parser ;;; GNU Mes --- Maxwell Equations of Software
;;;; ;;; Copyright (C) 2010, 2011 Free Software Foundation, Inc.
;;;; Copyright (C) 2010, 2011 Free Software Foundation, Inc. ;;;
;;;; ;;; This file is part of GNU Mes.
;;;; This library is free software; you can redistribute it and/or ;;;
;;;; modify it under the terms of the GNU Lesser General Public ;;; GNU Mes is free software; you can redistribute it and/or modify it
;;;; License as published by the Free Software Foundation; either ;;; under the terms of the GNU General Public License as published by
;;;; version 3 of the License, or (at your option) any later version. ;;; 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 ;;; GNU Mes is distributed in the hope that it will be useful, but
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; Lesser General Public License for more details. ;;; 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 Lesser General Public ;;;
;;;; License along with this library; if not, write to the Free Software ;;; You should have received a copy of the GNU General Public License
;;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;;; along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
;;;;
;;; Taken from GNU Guile
;;; simplify-tree.scm --- utility functions for the PEG parser
(define-module (ice-9 peg simplify-tree) (define-module (ice-9 peg simplify-tree)
#:export (keyword-flatten context-flatten string-collapse) #:export (keyword-flatten context-flatten string-collapse)

View file

@ -1,21 +1,24 @@
;;;; string-peg.scm --- representing PEG grammars as strings ;;; GNU Mes --- Maxwell Equations of Software
;;;; ;;; Copyright (C) 2010, 2011 Free Software Foundation, Inc.
;;;; Copyright (C) 2010, 2011 Free Software Foundation, Inc. ;;;
;;;; ;;; This file is part of GNU Mes.
;;;; This library is free software; you can redistribute it and/or ;;;
;;;; modify it under the terms of the GNU Lesser General Public ;;; GNU Mes is free software; you can redistribute it and/or modify it
;;;; License as published by the Free Software Foundation; either ;;; under the terms of the GNU General Public License as published by
;;;; version 3 of the License, or (at your option) any later version. ;;; 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 ;;; GNU Mes is distributed in the hope that it will be useful, but
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; Lesser General Public License for more details. ;;; 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 Lesser General Public ;;;
;;;; License along with this library; if not, write to the Free Software ;;; You should have received a copy of the GNU General Public License
;;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;;; along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
;;;;
;;; Taken from GNU Guile
;;; string-peg.scm --- representing PEG grammars as strings
(define-module (ice-9 peg string-peg) (define-module (ice-9 peg string-peg)
#:export (peg-as-peg #:export (peg-as-peg
@ -270,4 +273,3 @@ RB < ']'
(else (error "Bad embedded PEG string" args)))) (else (error "Bad embedded PEG string" args))))
(add-peg-compiler! 'peg peg-string-compile) (add-peg-compiler! 'peg peg-string-compile)

View file

@ -1,21 +1,24 @@
;;;; using-parsers.scm --- utilities to make using parsers easier ;;; GNU Mes --- Maxwell Equations of Software
;;;; ;;; Copyright (C) 2010, 2011 Free Software Foundation, Inc.
;;;; Copyright (C) 2010, 2011 Free Software Foundation, Inc. ;;;
;;;; ;;; This file is part of GNU Mes.
;;;; This library is free software; you can redistribute it and/or ;;;
;;;; modify it under the terms of the GNU Lesser General Public ;;; GNU Mes is free software; you can redistribute it and/or modify it
;;;; License as published by the Free Software Foundation; either ;;; under the terms of the GNU General Public License as published by
;;;; version 3 of the License, or (at your option) any later version. ;;; 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 ;;; GNU Mes is distributed in the hope that it will be useful, but
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; Lesser General Public License for more details. ;;; 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 Lesser General Public ;;;
;;;; License along with this library; if not, write to the Free Software ;;; You should have received a copy of the GNU General Public License
;;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;;; along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
;;;;
;;; Taken from GNU Guile
;;; using-parsers.scm --- utilities to make using parsers easier
(define-module (ice-9 peg using-parsers) (define-module (ice-9 peg using-parsers)
#:use-module (ice-9 peg simplify-tree) #:use-module (ice-9 peg simplify-tree)

View file

@ -1,23 +1,28 @@
;;; pmatch, a simple matcher ;;; pmatch, a simple matcher
;;; GNU Mes --- Maxwell Equations of Software
;;; Copyright (C) 2009, 2010, 2012 Free Software Foundation, Inc ;;; Copyright (C) 2009, 2010, 2012 Free Software Foundation, Inc
;;; Copyright (C) 2005,2006,2007 Oleg Kiselyov ;;; Copyright (C) 2005,2006,2007 Oleg Kiselyov
;;; Copyright (C) 2007 Daniel P. Friedman ;;; Copyright (C) 2007 Daniel P. Friedman
;;; Copyright (C) 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright (C) 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016,2017,2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; ;;;
;;; This library is free software; you can redistribute it and/or ;;; This file is part of GNU Mes.
;;; 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, ;;; GNU Mes is free software; you can redistribute it and/or modify it
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;; under the terms of the GNU General Public License as published by
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;; the Free Software Foundation; either version 3 of the License, or (at
;;; Lesser General Public License for more details. ;;; your option) any later version.
;;; ;;;
;;; You should have received a copy of the GNU Lesser General Public ;;; GNU Mes is distributed in the hope that it will be useful, but
;;; License along with this library; if not, write to the Free Software ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;;; 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 GNU Mes. If not, see <http://www.gnu.org/licenses/>.
;;; Taken from GNU Guile
;;; Originally written by Oleg Kiselyov for LeanTAP in Kanren, which is ;;; Originally written by Oleg Kiselyov for LeanTAP in Kanren, which is
;;; available under the MIT license. ;;; available under the MIT license.

View file

@ -1,23 +1,26 @@
;;;; (sxml xpath) -- SXPath ;;; GNU Mes --- Maxwell Equations of Software
;;;; ;;; Copyright (C) 2009 Free Software Foundation, Inc.
;;;; Copyright (C) 2009 Free Software Foundation, Inc. ;;; Modified 2004 by Andy Wingo <wingo at pobox dot com>.
;;;; Modified 2004 by Andy Wingo <wingo at pobox dot com>. ;;; Written 2001 by Oleg Kiselyov <oleg at pobox dot com> SXPath.scm.
;;;; Written 2001 by Oleg Kiselyov <oleg at pobox dot com> SXPath.scm. ;;;
;;;; ;;; This file is part of GNU Mes.
;;;; This library is free software; you can redistribute it and/or ;;;
;;;; modify it under the terms of the GNU Lesser General Public ;;; GNU Mes is free software; you can redistribute it and/or modify it
;;;; License as published by the Free Software Foundation; either ;;; under the terms of the GNU General Public License as published by
;;;; version 3 of the License, or (at your option) any later version. ;;; 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 ;;; GNU Mes is distributed in the hope that it will be useful, but
;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;;; Lesser General Public License for more details. ;;; 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 Lesser General Public ;;;
;;;; License along with this library; if not, write to the Free Software ;;; You should have received a copy of the GNU General Public License
;;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;;; along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
;;;;
;;; Taken from GNU Guile
;;; (sxml xpath) -- SXPath
;;; Commentary: ;;; Commentary:
;; ;;