This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
BCPL compiler with GCC
- From: Tom Crick <cs1tc at bath dot ac dot uk>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 22 Oct 2003 17:43:08 +0100
- Subject: BCPL compiler with GCC
- Organization: University of Bath
- Reply-to: cs1tc at bath dot ac dot uk
Hello,
I'm trying to write a compiler for BCPL and have been investigating writing
a new frontend to GCC.
Do you know if anyone has written a parser and tree rep. for BCPL in GCC?
Are there some nasty traps and pitfalls ahead? Obviously there are some nice
little quirks in BCPL ('valof()' and general scoping issues), but
semantically it's not much different from C.
Also, with upcoming changes to GCC, would it be a good idea to convert to
GENERIC at the end?
Thanks for your help,
Tom Crick
cs1tc@bath.ac.uk