Symbol tables in GCC
Tom Crick
tc@cs.bath.ac.uk
Fri Nov 12 18:25:00 GMT 2004
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/
More information about the Gcc
mailing list