Re: A few newbie questions
Sam Steingold <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <[email protected]> |
> * Pascal J. Bourguignon <[email protected]> [2012-04-26 01:24:23 +0200]: > > So, let's assume a file named hello-world.lisp, containing: > > ----(hello-world.lisp)-------------------------------------------------- > (defun hw () > (format t "~%Bonjour le monde !~%") > (values)) > ------------------------------------------------------------------------ > > then you can run it from the unix command line with: > > $ clisp -norc -ansi -q -x '(progn (load "/tmp/hello-world.lisp" :verbose nil) (values))' -x '(hw)' > > Bonjour le monde ! > $ just do clisp -i hello-world -x '(hw)' or append "(hw)" to the file and just do clisp hello-world -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://camera.org http://mideasttruth.com http://www.PetitionOnline.com/tap12009/ http://pmw.org.il .ACMD setaloiv siht gnidaeR ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel