This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Symbol tables in GCC
- From: Tom Crick <tc at cs dot bath dot ac dot uk>
- To: "" <gcc at gcc dot gnu dot org>
- Date: Fri, 12 Nov 2004 17:16:03 +0000
- Subject: Symbol tables in GCC
Dear all,
Work is progressing on the BCPL for GCC project (see
http://gccbcpl.sourceforge.net), where we're developing a front end for BCPL
using the GCC 4.0 infrastructure.
The current focus is on replacing the Bison parser with a recursive-descent
parser (like the original BCPL compilers), but this has again raised the
question of preferred format (and functionality) of symbol tables for GCC front
ends. Are there any requirements for symbol tables in the existing GCC front
ends? I could not find much in the GCC Internals manual from CVS, but does the
infrastructure provide a symbol table construct that can be used? Are the
symbol tables radically different in each of the existing front ends?
This is quite a minor question, but it seems to be a good idea to reuse
(hopefully) existing functionality from other front ends.
Cheers,
Tom Crick
http://gccbcpl.sourceforge.net/