[Ecls-list] Simple Hello word! function

Louis Höfler louis.hoefler at gmx.de
Sat Jul 3 23:19:02 UTC 2010


Hello everyone.

I wrote a simple (yet unstable and not tested)

module for apache. It allows execution of

lisp code like php code.

You can download it here

https://sourceforge.net/projects/mod-ecl/

 

However. I try to execute this simple function:

(defun hello-world () (print "Hello world!")) (hello-world)

But the only thing printed out is

hello-world

If I copy paste the same code into ecl

it also prints out hello-world.

If I paste

(defun hello-world () (print "Hello world!"))

then press return

then paste (hello-world)

the string Hello world! is printed out.

What am I doing wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100704/4128e19d/attachment.html>


More information about the ecl-devel mailing list