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]

Re: EGSC Help


> 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.


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