Python syntax in Lisp and Scheme
David Rush
drush at aol.net
Wed Oct 8 04:55:07 EDT 2003
On Tue, 07 Oct 2003, Peter Seibel <peter at javamonkey.com> wrote:
> But Lisp's syntax is not the way it is to make the compiler writer's
> job easier. <macros> *That's* why we don't mind, and, in
> fact, actively like, Lisp's syntax.
In fact, I have also noticed that programming in nearly all other languages
(Smalltalk, APL, and FORTH are the exceptions) tends to degenerate towards
a fully-parenthesized prefix notation in direct proportion to the size of
the code. This fully-parenthesized prefix notation is just everyday
function calls, BTW. Method invocations aren't really any different.
So if you're going to write in parenthesized prefix notation *anyway*, you
might as well get some benefit out of it -> s-expressions and macros
david rush
--
(\x.(x x) \x.(x x)) -> (s i i (s i i))
-- aki helin (on comp.lang.scheme)
More information about the Python-list
mailing list