Why don't people like lisp?
adalke at mindspring.com
Wed Oct 22 08:27:15 CEST 2003
> You could of course do something similar in Lisp, but normally you'd
> just use S-expressions instead of concocting your own weird syntax
> every time you want to build a small language into something. Then
> you just use the regular Lisp "read" function and the S-expressions
> get parsed automatically for you. Your whole parser becomes just one
> line of code.
Ahh, but that's writing the domain language to fit the implementation
language. The moral equivalent for Python would be to use Python's
syntax to define a function, which is simple. Eg, Suppose the domain
language required that identifiers be labeled with parens, as in a
chemistry specific language where you might want
as a native identifier.
dalke at dalkescientific.com
More information about the Python-list