Python's "only one way to do it" philosophy isn't good?

Robert Brown bbrown at speakeasy.net
Fri Jun 22 01:23:46 EDT 2007


Neil Cerutti <horpner at yahoo.com> writes:
> On 2007-06-21, Douglas Alan <doug at alum.mit.edu> wrote:
>> A prime example of this is how CLOS, the Common Lisp Object System was
>> implemented completely as a loadable library (with the help of many
>> macros) into Common Lisp, which was not an OO language prior to the
>> adoption of CLOS.
>
> Is there a second example? ;)

There are many useful macro packages that syntactically extend Common Lisp.
Here are a few representative examples.


comp        an implementation of list comprehensions
            http://rali.iro.umontreal.ca/Publications/urls/LapalmeLispComp.pdf

iterate     a domain specific language for expressing complex iteration
            http://common-lisp.net/project/iterate/

screamer    support for nondeterministic programming
            http://www.cis.upenn.edu/~screamer-tools/screamer-intro.html

cl-who      a domain specific language for HTML generation
            http://weitz.de/cl-who/

parenscript a domain specific language for JavaScript generation
            http://common-lisp.net/project/parenscript/



More information about the Python-list mailing list