home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c++:11744 comp.editors:1848 comp.compilers:1275
- Newsgroups: comp.lang.c++,comp.editors,comp.compilers
- Path: sparky!uunet!gatech!news.byu.edu!eff!world!iecc!compilers-sender
- From: xorian@solomon.technet.sg (Xorian Technologies)
- Subject: Re: Looking for editors and parsers for C++
- Reply-To: xorian@solomon.technet.sg (Xorian Technologies)
- Organization: National University of Singapore
- Date: Mon, 27 Jul 1992 01:43:18 GMT
- Approved: compilers@iecc.cambridge.ma.us
- Message-ID: <92-07-096@comp.compilers>
- References: <92-07-076@comp.compilers>
- Keywords: C++, parse
- Sender: compilers-sender@iecc.cambridge.ma.us
- Lines: 37
-
- Jan Skarvall write :-
-
- : I am also interested in parsers and parser generators for C++ for the same
- : reasons.
-
- Our parser generator LADE is able to generate a C++ parser with 0
- shift-reduce and 0 reduce-reduce conflicts. We are also in the process of
- writing a C++ parser which will be ready soon.
-
- : We are currently using C++ 2.1.
-
- As far as the parser is concerned there is little difference between 2.1
- and 3.0, since template and exception handling has more impact on the code
- generation part.
-
- : [Jim Roskind's yacc C++ parser is available in the compilers archives, but
- : I'm not sure that'd much help for building an editor. -John]
-
- The problem with Roskind's grammar is that in order to resolve the many
- significant ambiguities in C++, Roskind "macro expanded" the productions
- involved. While he resolved most of the conflicts, he created monster of a
- grammar which bears little resemblance to the specification and is
- extremely difficult to use in practice. Based on our own experience and
- that of our clients, we strongly recommend against the Roskind grammar for
- anything more than simple syntactic checking.
-
- KG Loh
- Xorian Technologies Pte Ltd
- 389A Balestier Road
- Singapore 1232
- Republic of Singapore
- Tel: (65) 255-7151
- Fax: (65) 253-7709
- email: xorian@solomon.technet.sg
- --
- Send compilers articles to compilers@iecc.cambridge.ma.us or
- {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.
-