This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]