🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cu.slug
Article #594

Worm.Lisp is it ANSI CL?

#594
From: Robert H. Isra
Date: Sat, 02 Dec 1995 00:00
25 lines
1471 bytes
;;This is a program that simulates worms in Common Lisp.
;;As I am a new Lisp programmer I wounder if it will work.
;;Is it ANSI and CLtL2 standard.
(Defvar *worms*)
(Defvar *func_msg*)
(Setf *worms* 1)
(Defmacro Worm ()
   (let ((fname (GENSYM)))
     `(Progn
               (Defun ,fname ()
                   (incf *worms*)
                   (If (= *worms* 4) 
                       (Format t *func_msg*)
                       (Worm)))
               (Funcall ,fname))))
(Defun $Start_Worm (Msg)
(Setf *func_msg* Msg)
(Worm))
($Start_Worm "~&Robert Morrison used C.")
;;Lisp is better then C. Are their other programs
;;like this written in Lisp.
;;I hope this will help us study Hofstedters virus concep of
;;evolutionary AI and symbol systems evolving out of a chaotic
;;interaction of Worms of Virus will breed a new AI Paradigm.
;;Any helpfun comments would be appreacated.
Technical Details
Message-ID: <817928660.20370@news.Colorado.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10077e,9282959b2e9ac97c,start
X-Google-Attributes: gid10077e,public
From: "Robert                H. Isra" <103235.2714@compuserve.com>
Subject: Worm.Lisp is it ANSI CL?
Date: 1995/12/02
Message-ID: <817928660.20370@news.Colorado.EDU>
X-Deja-AN: 120704124
distribution: cu
sender: daemon@lace.colorado.edu
x-note1: message-id generated by recnews
x-note2: mail msgid was   <951202174350_103235.2714_IHH89-1@CompuServe.COM>
organization: University of Colorado at Boulder
newsgroups: cu.slug