* Re: EGSC Help
@ 1998-12-10 11:00 Mike Stump
0 siblings, 0 replies; 3+ messages in thread
From: Mike Stump @ 1998-12-10 11:00 UTC (permalink / raw)
To: egcs, methote
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: EGSC Help
1998-12-10 7:02 Eric Methot
@ 1998-12-10 10:14 ` Jeffrey A Law
0 siblings, 0 replies; 3+ messages in thread
From: Jeffrey A Law @ 1998-12-10 10:14 UTC (permalink / raw)
To: Eric Methot; +Cc: egcs
In message < 000601be244d$1d72d820$320171d8@enzo.videotron.ca >you write:
> Hello everyone,
>
> 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.
It's not that simple.
Your best bet is to look at existing front ends to find code you can
re-use.
jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* EGSC Help
@ 1998-12-10 7:02 Eric Methot
1998-12-10 10:14 ` Jeffrey A Law
0 siblings, 1 reply; 3+ messages in thread
From: Eric Methot @ 1998-12-10 7:02 UTC (permalink / raw)
To: egcs
Hello everyone,
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.
Thank You,
Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-12-10 11:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-10 11:00 EGSC Help Mike Stump
-- strict thread matches above, loose matches on Subject: below --
1998-12-10 7:02 Eric Methot
1998-12-10 10:14 ` Jeffrey A Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).