News for hackers. Stuff that matters.
Re:Lisp interpreter made with Action Script 3. by Zak on Wednesday August 22, 2007 @12:12PM (#45241)
It doesn't seem to support closures.

    User>(defun accgen (x)
            (lambda (y)
               (incf x y)))

    ACCGEN
    User>(setf foo (accgen 5))

    <Interpreted Lisp Function>
    User>(funcall foo 5)

    NaN
    User>(let ((bar "bar"))
            (defun qux ()
               (print bar)))

    QUX
    User>(qux)

    null
    User>

There are no comments on this comment yet.