Could Emacs be rewritten in Python?
a.schmolck at gmx.net
Mon Apr 14 15:25:48 CEST 2003
Michael Hudson <mwh at python.net> writes:
> Paul Foley <see at below.invalid> writes:
> > [It should do that for lexical variables, too...conflating binding and
> > assignment the way Python does is a major design error, but it's too
> > late to fix it now]
> I'm unconvinced about the "major"... but anyway: how would *you* do
So am I, but...
> it? It seems unfeasible syntactically, for starters.
... what's wrong with e.g:
# declares locals, similar to ``global``
var a,b,c = 3
x = 3 # error
a = 4 # OK
let x=3, y=4:
print x, y # OK
x, y # ERROR
More information about the Python-list