Path: utzoo!attcan!uunet!mcsun!ukc!dcl-cs!aber-cs!athene!pcg From: pcg@cs.aber.ac.uk (Piercarlo Grandi) Newsgroups: comp.lang.misc Subject: Re: dynamic symbol binding Message-ID: Date: 2 Oct 90 20:52:20 GMT References: <1653@seti.inria.fr> Sender: pcg@aber-cs.UUCP Organization: Coleg Prifysgol Cymru Lines: 18 Nntp-Posting-Host: teachg In-reply-to: jml@bdblues.altair.fr's message of 1 Oct 90 10:46:35 GMT On 1 Oct 90 10:46:35 GMT, jml@bdblues.altair.fr (Jean Marie Larcheveque) said: jml> To my knowledge, there is no language which allows you to jml> bind a symbol to an object created dynamically. Well, "bind" is not that difficult -- Algol 68 surely allows you to. "rebind" is different, and the exmaple you have seems to imply rebinding, not binding. Even in this case you need not go far -- Lisp systems are what you want to look at. Or maybe you should explain what you mean by "bind", because I have the suspicion that you may actually want to "redeclare", i.e. just reuse an identifier symbol. Well, macro languages provide the needed example (#undef, #define). -- Piercarlo "Peter" Grandi | ARPA: pcg%uk.ac.aber.cs@nsfnet-relay.ac.uk Dept of CS, UCW Aberystwyth | UUCP: ...!mcsun!ukc!aber-cs!pcg Penglais, Aberystwyth SY23 3BZ, UK | INET: pcg@cs.aber.ac.uk