On 28 Oct 2006 22:55:29 -0700, Xah Lee <[EMAIL PROTECTED]> wrote:
> Barry Margolin wrote:
> « For Lisp, just look for symbols that are immediately preceded by (
> ...»
>
> Thanks a lot! great thought.

An even cleaner way to do this would be to iterate over the list
s-exprs in any given lisp source, use read on them, then just use car
on the resulting list (or first for the infinitely superior common
lisp language).

This will get special forms and actual functions indiscriminately, but
they may be seen as equivalent from a sloppy perspective.

-- Theerasak
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to