Add .cl as a Common Lisp file extension.

This commit is contained in:
Lars Brinkhoff
2013-09-09 09:27:00 +02:00
parent 2bac3af299
commit c6c5e79ccf
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
;;;; -*- lisp -*-
(in-package :foo)
;;; Header comment.
(defvar *foo*)
(eval-when (:execute :compile-toplevel :load-toplevel)
(defun add (x &optional y &key z)
(declare (ignore z))
;; Inline comment.
(+ x (or y 1))))
#|
Multi-line comment.
|#
(defmacro foo (x &body b)
(if x
`(1+ ,x) ;After-line comment.
42))