Re: Is YACC / PCCTS used in commercial compilers?

oconnorm@eleceng.ee.queensu.ca (Mike O'Connor)
15 Dec 1996 15:47:10 -0500

          From comp.compilers

Related articles
Is YACC / PCCTS used in commercial compilers? johnr@ims.com (1996-12-07)
Re: Is YACC / PCCTS used in commercial compilers? johnr@ims.com (1996-12-10)
Re: Is YACC / PCCTS used in commercial compilers? miano@worldnet.att.net (1996-12-15)
Re: Is YACC / PCCTS used in commercial compilers? oconnorm@eleceng.ee.queensu.ca (1996-12-15)
Re: Is YACC / PCCTS used in commercial compilers? thetick@scruz.net (Scott Stanchfield) (1996-12-15)
Re: Is YACC / PCCTS used in commercial compilers? jlilley@empathy.com (1996-12-15)
Re: Is YACC / PCCTS used in commercial compilers? jsa@edg.com (1996-12-17)
Re: Is YACC / PCCTS used in commercial compilers? nixon@softlab.se (Leif Nixon) (1996-12-20)
Re: Is YACC / PCCTS used in commercial compilers? kanze@gabi-soft.fr (1997-01-02)
| List of all articles for this month |
From: oconnorm@eleceng.ee.queensu.ca (Mike O'Connor)
Newsgroups: comp.compilers,comp.compilers.tools.pccts
Followup-To: comp.compilers
Date: 15 Dec 1996 15:47:10 -0500
Organization: Queen's University, Kingston
References: 96-12-051 96-12-083
Keywords: yacc

John Roberts (johnr@ims.com) wrote:
:
: What I'm trying to understand is:
:
: 1) What are the problems using YACC/PCCTS in commercial compilers?
: (i.e. why aren't they used?)


          One of the problems with yacc is that it's very hard to debug
complicated grammars because there's a `black box' step that produces
the parse table (i.e. transition matrix). There are no user
servicable parts inside because of its complexity, i.e. it's opaque to
someone who's trying to figure out what's wrong with his grammar.


          The advantage to these LALR techniques is that they're very efficient
when they work, and they work for most of the programming languages which
are of interest.


: 2) What techniques are used in place of YACC/PCCTS for commerical
: compiler parsing?


          The IBM compilers use what's called Syntax/Semantic Language (S/SL),
which has the advantage of being transparent to inspection in all phases
of the compilation process. I believe there is more information on S/SL
in the comp.compilers FAQ.


is all.
Mike O'Connor
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.