Could Emacs be rewritten in Python?
Alexander Schmolck
a.schmolck at gmx.net
Mon Apr 14 09:25:48 EDT 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:
def bar():
# declares locals, similar to ``global``
var a,b,c = 3
x = 3 # error
a = 4 # OK
or
def bar():
let x=3, y=4:
print x, y # OK
x, y # ERROR
?
'as
More information about the Python-list
mailing list