Re: Lisp-like macros in Python?

2007-05-01 Thread Duane Rettig
caller. The macro would then return a Python expression > as a string. Granted, I know more Python than Lisp, so it may not work > exactly as you expect. > > Any comments and improvements are appreciated. > > Regards, > Sturla Molden I don't know python, but check out h

Re: merits of Lisp vs Python

2006-12-08 Thread Duane Rettig
ascal, > Forth, Postcript, Assembler and Basic. Skill was superior and I came > to love it. Remember; Lisp is a program-language programming language. Sometimes, one programs in Lisp without really knowing it: http://www.franz.com/careers/jobs/outside/cadence03.21.06.lhtml -- Duane

Re: What is Expressiveness in a Computer Language

2006-06-27 Thread Duane Rettig
parts until execution hits one of the 'undefined's. Why do it manually? And what do you do when you've hit the undefined? Start the program over? > The "cost" of static typing for running an incomplete program is thus > simply that I have to name entiti

Re: What is Expressiveness in a Computer Language

2006-06-23 Thread Duane Rettig
extended to handle strings, "abc" < "def" might return true. -- Duane Rettig[EMAIL PROTECTED]Franz Inc. http://www.franz.com/ 555 12th St., Suite 1450 http://www.555citycenter.com/ Oakland, Ca. 94607Phone: (510) 452-2000; Fax: (510) 452-0182 -- http://mail.python.org/mailman/listinfo/python-list

Re: What is Expressiveness in a Computer Language

2006-06-23 Thread Duane Rettig
In the many cases where the eventual goals of the program are not known at the beginning of the design, this extensibility is a good thing to have. Note that the above paragraph explicitly leaves out Common Lisp, because + is not extensible in CL. CL does, however, allow for methods to be define

Re: A critic of Guido's blog on Python's lambda

2006-05-13 Thread Duane Rettig
o (x) (let ((pie 22/7)) (declare (sys::lexical pie)) (circ x ; While compiling FOO: Warning: Variable PIE is never used. FOO T NIL CL-USER(9): (foo 10) 314.1592653589793d0 CL-USER(10): -- Duane Rettig[EMAIL PROTECTED]Franz Inc. http://www.franz.com/ 555 12th St., Suite 1450 http://www.555citycenter.com/ Oakland, Ca. 94607Phone: (510) 452-2000; Fax: (510) 452-0182 -- http://mail.python.org/mailman/listinfo/python-list

Re: A critic of Guido's blog on Python's lambda

2006-05-12 Thread Duane Rettig
Alexander Schmolck <[EMAIL PROTECTED]> writes: > Duane Rettig <[EMAIL PROTECTED]> writes: > >> Alexander Schmolck <[EMAIL PROTECTED]> writes: >> >> > Ken Tilton <[EMAIL PROTECTED]> writes: >> > >> >> In Common Lisp we would

Re: A critic of Guido's blog on Python's lambda

2006-05-12 Thread Duane Rettig
ecifically about Common Lisp, which has a spec. Now, what was your rationale for it _being_ a bug? -- Duane Rettig[EMAIL PROTECTED]Franz Inc. http://www.franz.com/ 555 12th St., Suite 1450 http://www.555citycenter.com/ Oakland, Ca. 94607Phone: (510) 452-2000; Fax: (510) 452-0182 -- http://mail.python.org/mailman/listinfo/python-list