Re: Symbol tables and scopes

Gabriel Dos Reis <gdr@integrable-solutions.net>
6 Feb 2006 00:06:16 -0500

          From comp.compilers

Related articles
Symbol tables and scopes DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-01-28)
Re: Symbol tables and scopes david@tribble.com (David R Tribble) (2006-02-02)
Re: Symbol tables and scopes cfc@shell01.TheWorld.com (Chris F Clark) (2006-02-03)
Re: Symbol tables and scopes Peter_Flass@Yahoo.com (Peter Flass) (2006-02-03)
Re: Symbol tables and scopes gdr@integrable-solutions.net (Gabriel Dos Reis) (2006-02-06)
Re: Symbol tables and scopes DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-02-06)
Re: Symbol tables and scopes DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-02-06)
Re: Symbol tables and scopes gah@ugcs.caltech.edu (glen herrmannsfeldt) (2006-02-06)
Re: Symbol tables and scopes Peter_Flass@Yahoo.com (Peter Flass) (2006-02-07)
Re: Symbol tables and scopes alexc@TheWorld.com (Alex Colvin) (2006-02-11)
Re: Symbol tables and scopes cfc@shell01.TheWorld.com (Chris F Clark) (2006-02-11)
[14 later articles]
| List of all articles for this month |
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
Newsgroups: comp.compilers
Date: 6 Feb 2006 00:06:16 -0500
Organization: Integrable Solutions
References: 06-01-101 06-02-015 06-02-021
Keywords: symbols
Posted-Date: 06 Feb 2006 00:06:16 EST

Chris F Clark <cfc@shell01.TheWorld.com> writes:


[...]


| One thing worth noting is that in languages with explicit open scope
| (import) statements, the scopes do not necessarily exhibit stack like
| behavior. I can easily imagine (and would potentially want to use) a
| language which has "search paths" that specify how a name gets
| resolved. In that case, finding the string/hash-value is only a small
| part of the symbol look-up process. Once you know the hash value, you
| need to find out which instance of that symbol is relevant.


is the "using directive" found in C++ such an example?


-- Gaby



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.