This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: EGSC Help
- To: egcs at cygnus dot com, methote at videotron dot ca
- Subject: Re: EGSC Help
- From: mrs at wrs dot com (Mike Stump)
- Date: Thu, 10 Dec 1998 10:58:55 -0800
> Date: Thu, 10 Dec 1998 09:55:23 -0500
> From: Eric Methot <methote@videotron.ca>
> I am trying to build a new front-end to gcc ( egcs ) for a fined
> grained parallel language. I would need a function that can parse a
> c expression ( a string ) and get the resulting tree from within a
> semantic action.
> Perhaps the cygnus team has already done this type of function or
> can point me in the right direction.
Yes, I think gcc and g++ both have such a function. Maybe you could
check the code and see if it meets your needs. cp/parse.y has the
parser and the other files in cp and the backend have code to build up
the trees.