Re: Symbol tables and scopes

"David R Tribble" <david@tribble.com>
24 Feb 2006 09:41:55 -0500

          From comp.compilers

Related articles
[12 earlier articles]
Re: Symbol tables and scopes DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-02-14)
Re: Symbol tables and scopes DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-02-14)
Re: Symbol tables and scopes david.thompson1@worldnet.att.net (Dave Thompson) (2006-02-14)
Re: Symbol tables and scopes alexc@TheWorld.com (Alex Colvin) (2006-02-14)
Re: Symbol tables and scopes nathan.moore@cox.net (Nathan Moore) (2006-02-17)
Re: Symbol tables and scopes alexc@TheWorld.com (Alex Colvin) (2006-02-17)
Re: Symbol tables and scopes david@tribble.com (David R Tribble) (2006-02-24)
Re: Symbol tables and scopes david@tribble.com (David R Tribble) (2006-02-24)
Re: Symbol tables and scopes david@tribble.com (David R Tribble) (2006-02-24)
Re: Symbol tables and scopes david@tribble.com (David R Tribble) (2006-02-24)
Re: Symbol tables and scopes DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-03-05)
Re: Symbol tables and scopes henry@spsystems.net (2006-03-05)
| List of all articles for this month |

From: "David R Tribble" <david@tribble.com>
Newsgroups: comp.compilers
Date: 24 Feb 2006 09:41:55 -0500
Organization: http://groups.google.com
References: 06-01-10106-02-015 06-02-021 06-02-049
Keywords: symbols
Posted-Date: 24 Feb 2006 09:41:55 EST

Chris F Clark wrote:
>> 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.


glen herrmannsfeldt wrote:
> One interesting case is PL/I, which allows partial qualification
> for structures. True ambiguous cases are not allowed, but cases
> that could be considered ambiguous at different nesting levels
> are allowed.


Similarly, Pascal allows a WITH clause that provides the leading
component of a record name(s), for abbreviating record member names
within the scope of the clause. This can also lead to ambiguous names
within the clause.


-drt



Post a followup to this message

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