Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Does GCC use a hand-made parser ( for C and C++ and Java ) ? Or Yacc ?

0 views
Skip to first unread message

Robert

unread,
Apr 16, 2008, 3:44:47 PM4/16/08
to
Or some other packaged parser tool?

tov...@gmail.com

unread,
Apr 17, 2008, 1:16:06 PM4/17/08
to
On Apr 16, 9:44 pm, Robert <irishhac...@gmail.com> wrote:
> Or some other packaged parser tool?

It appears to use bison, which is sort of like yacc.

You can find the source for gcc here:
http://ftp.gnu.org/gnu/gcc/

Regards,

Tov Are

Florian Weimer

unread,
Apr 17, 2008, 3:50:27 PM4/17/08
to
* Robert:

> Or some other packaged parser tool?

It depends on the front end (and the version). Most front ends use
hand-written parsers nowadays.

0 new messages