summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-07-31 09:30:27 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-07-31 09:30:27 +0200
commit563dd3a5963fb34903e2e209833d66a19e691d96 (patch)
treeaa0c3c75096125208e6c9a090e72f8599cc4a816
parentf7ee743d11dde85cff2ec73f134a240fa0e53456 (diff)
Apply the GPLv3 to all files.
-rw-r--r--control-flow.lisp41
-rw-r--r--defun-0.lisp20
-rw-r--r--defun-1.lisp20
-rw-r--r--destructuring-bind.lisp20
-rw-r--r--init.lisp20
-rw-r--r--list-functions-2.lisp20
-rw-r--r--list-functions.lisp20
-rw-r--r--types.lisp20
-rw-r--r--util.lisp20
9 files changed, 200 insertions, 1 deletions
diff --git a/control-flow.lisp b/control-flow.lisp
index 90176f0..c8c18cb 100644
--- a/control-flow.lisp
+++ b/control-flow.lisp
@@ -1,5 +1,25 @@
+;;; -*- mode: lisp; coding: utf-8 -*-
+;;; Étoilisp/Mulklisp, a Common Lisp subset for the Étoilé runtime.
+;;; Copyright (C) 2008 Matthias Andreas Benkard.
+;;;
+;;; 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/>.
+
+
+(in-package #:common-lisp)
+
(export '(identity constantly complement tagbody go block return-from
- defconstant))
+ defconstant prog prog*))
(defun identity (x)
@@ -119,3 +139,22 @@
(progn ,@(cddr (first sections))))))
(when (eq ,return-value-sym ',end-marker)
(return-from ,block-name nil)))))))))
+
+
+(defmacro prog (bindings &body body)
+ ;;FIXME: declarations
+ (let ((declarations nil)
+ (body body))
+ `(let ,bindings
+ ,@declarations
+ (tagbody
+ ,@body))))
+
+(defmacro prog* (bindings &body body)
+ ;;FIXME: declarations
+ (let ((declarations nil)
+ (body body))
+ `(let* ,bindings
+ ,@declarations
+ (tagbody
+ ,@body))))
diff --git a/defun-0.lisp b/defun-0.lisp
index 5b95711..19ccf3e 100644
--- a/defun-0.lisp
+++ b/defun-0.lisp
@@ -1,3 +1,23 @@
+;;; -*- mode: lisp; coding: utf-8 -*-
+;;; Étoilisp/Mulklisp, a Common Lisp subset for the Étoilé runtime.
+;;; Copyright (C) 2008 Matthias Andreas Benkard.
+;;;
+;;; 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/>.
+
+
+(in-package #:common-lisp)
+
(%defmacro* defun args
`(%defun* ,@args))
diff --git a/defun-1.lisp b/defun-1.lisp
index 49680e6..d369ecb 100644
--- a/defun-1.lisp
+++ b/defun-1.lisp
@@ -1,3 +1,23 @@
+;;; -*- mode: lisp; coding: utf-8 -*-
+;;; Étoilisp/Mulklisp, a Common Lisp subset for the Étoilé runtime.
+;;; Copyright (C) 2008 Matthias Andreas Benkard.
+;;;
+;;; 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/>.
+
+
+(in-package #:common-lisp)
+
(export '(defmacro defun))
diff --git a/destructuring-bind.lisp b/destructuring-bind.lisp
index bb44424..b7afa28 100644
--- a/destructuring-bind.lisp
+++ b/destructuring-bind.lisp
@@ -1,3 +1,23 @@
+;;; -*- mode: lisp; coding: utf-8 -*-
+;;; Étoilisp/Mulklisp, a Common Lisp subset for the Étoilé runtime.
+;;; Copyright (C) 2008 Matthias Andreas Benkard.
+;;;
+;;; 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/>.
+
+
+(in-package #:common-lisp)
+
(export '(destructuring-bind lambda-list-keywords
&allow-other-keys &aux &body &environment &key &optional &rest
&whole))
diff --git a/init.lisp b/init.lisp
index 6d9f42e..7799a5f 100644
--- a/init.lisp
+++ b/init.lisp
@@ -1,3 +1,23 @@
+;;; -*- mode: lisp; coding: utf-8 -*-
+;;; Étoilisp/Mulklisp, a Common Lisp subset for the Étoilé runtime.
+;;; Copyright (C) 2008 Matthias Andreas Benkard.
+;;;
+;;; 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/>.
+
+
+(in-package #:common-lisp)
+
(in-package :common-lisp)
(load "util.lisp")
(load "defun-0.lisp")
diff --git a/list-functions-2.lisp b/list-functions-2.lisp
index 1c99a4e..09c8449 100644
--- a/list-functions-2.lisp
+++ b/list-functions-2.lisp
@@ -1,3 +1,23 @@
+;;; -*- mode: lisp; coding: utf-8 -*-
+;;; Étoilisp/Mulklisp, a Common Lisp subset for the Étoilé runtime.
+;;; Copyright (C) 2008 Matthias Andreas Benkard.
+;;;
+;;; 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/>.
+
+
+(in-package #:common-lisp)
+
(export '(copy-tree assoc assoc-if assoc-if-not rassoc rassoc-if
rassoc-if-not sublis nsublis mapcar mapcan mapcon))
diff --git a/list-functions.lisp b/list-functions.lisp
index 1912238..1fe749b 100644
--- a/list-functions.lisp
+++ b/list-functions.lisp
@@ -1,3 +1,23 @@
+;;; -*- mode: lisp; coding: utf-8 -*-
+;;; Étoilisp/Mulklisp, a Common Lisp subset for the Étoilé runtime.
+;;; Copyright (C) 2008 Matthias Andreas Benkard.
+;;;
+;;; 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/>.
+
+
+(in-package #:common-lisp)
+
(export '(cons list* first second third fourth fifth sixth seventh
eigthth ninth tenth atom consp listp null rplaca rplacd caaaar
caaadr caaar caadar caaddr caadr caar cadaar cadadr cadar
diff --git a/types.lisp b/types.lisp
index 6904b7c..24a962d 100644
--- a/types.lisp
+++ b/types.lisp
@@ -1,3 +1,23 @@
+;;; -*- mode: lisp; coding: utf-8 -*-
+;;; Étoilisp/Mulklisp, a Common Lisp subset for the Étoilé runtime.
+;;; Copyright (C) 2008 Matthias Andreas Benkard.
+;;;
+;;; 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/>.
+
+
+(in-package #:common-lisp)
+
(export '(most-positive-fixnum most-negative-fixnum type-of typep
subtypep and or not satisfies symbol fixnum bignum real
complex float integer ratio rational number short-float
diff --git a/util.lisp b/util.lisp
index 2bde209..a30cd48 100644
--- a/util.lisp
+++ b/util.lisp
@@ -1,3 +1,23 @@
+;;; -*- mode: lisp; coding: utf-8 -*-
+;;; Étoilisp/Mulklisp, a Common Lisp subset for the Étoilé runtime.
+;;; Copyright (C) 2008 Matthias Andreas Benkard.
+;;;
+;;; 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/>.
+
+
+(in-package #:common-lisp)
+
(export '(and or not let* list* case cond append reverse macroexpand
otherwise unless when eq boundp))