Paul Rubin wrote:
> [EMAIL PROTECTED] writes:
> > > a = 'hello'
> > > a[0] = 'H' # attempt to change first letter to upper case
> >
> > As CLPython mirrors Python semantics, this results in a TypeError. The
> > internal rep
[EMAIL PROTECTED] writes:
> > a = 'hello'
> > a[0] = 'H' # attempt to change first letter to upper case
>
> As CLPython mirrors Python semantics, this results in a TypeError. The
> internal representation of an immutable Python string is a mutable L
Paul Rubin wrote:
> I thought it was of some interest though I'm a little surprise by the
> choice of CL rather than Scheme as a target.
In many aspects Python is a subset of CL. In CLPython, exceptions are
Lisp conditions with a custom metaclass (strictly spoken not portable
CL), P
Lisp rather than
C may be enticing, but one returns to the "why write anything other
than Lisp" argument at this point. There may be an argument for having
CLPython as an embedded application scripting language, but again the
Lisp camp have often advocated Lisp for that role, too.
>
if you could then compile
the Lisp and get a lean, efficient binary executable
out of it. But that's going to require much more than
just a straightforward translation from Python to Lisp.
If CLPython starts to show signs of making progress
in that direction, then it could start to get
interest
ought it was of some interest though I'm a little surprise by the
choice of CL rather than Scheme as a target.
I'm still not sure about the mapping of Python strings to Lisp strings.
What happens with the following in CLPython?
a = 'hello'
a[0] = 'H' # attempt t
Paul Boddie wrote:
> What would it take to get Python people more interested in it? I've
> been monitoring the site [1] and the mailing list [2] for some time,
> but nothing particularly visible seems to be happening.
Well, judging from the reactions on blogs to the initial announcement
here, quit
entations (albeit a contentious one).
> CLPython is not a dead and abandoned project, nor is execution speed
> its main goal, nor are Python semantics bended anywhere (it can run
> the Pie-thon benchmark). Sure, some recently introduced language
> features are missing, but with just a little
Just found:
http://trac.common-lisp.net/clpython/
Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list