Re: Symbol table

Michal Gajda <mg169780@zodiac.mimuw.edu.pl>
26 Apr 2001 21:15:44 -0400

          From comp.compilers

Related articles
Symbol table dorina@esenet.dk (Rina) (2001-04-22)
Re: Symbol table mg169780@zodiac.mimuw.edu.pl (Michal Gajda) (2001-04-26)
Symbol Table firth@sei.cmu.edu (1989-03-10)
Re: Symbol Table henry@zoo.toronto.edu (1989-03-14)
Symbol Table guadagnoli.massimo@usa.net (Massimo Guadagnoli) (1997-12-17)
| List of all articles for this month |

From: Michal Gajda <mg169780@zodiac.mimuw.edu.pl>
Newsgroups: comp.compilers
Date: 26 Apr 2001 21:15:44 -0400
Organization: MIMUW
References: 01-04-123
Keywords: symbols, comment
Posted-Date: 26 Apr 2001 21:15:44 EDT

If using Linux, try 'man hsearch' for hash table, which is usable for
it. If you want multiple dictionaries(namespaces) I would advise to
first use hash table to convert strings to integers, and then(as
integer manipulations are much faster) use tsearch and friends(tree
dictionaries) with integer keys


Have fun :-)
Michal Gajda
korek@icm.edu.pl




On 22 Apr 2001, Rina wrote:
> I am looking for a symbol table implemented i C.
> If anyone knows about this, i'll be eager to hear about that.
>
> Thanks
> [See just about any compiler textbook. -John]


Post a followup to this message

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