NewLisp language added

This commit is contained in:
Paul Chaignon
2014-04-28 11:30:12 +02:00
parent e513ac628a
commit e1064b13c0
4 changed files with 52465 additions and 52002 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))