home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c++:11584 comp.editors:1825
- Newsgroups: comp.lang.c++,comp.editors
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!nuscc!solomon.technet.sg!xorian
- From: xorian@solomon.technet.sg (Xorian Technologies)
- Subject: Re: Looking for editors and parsers for C++
- Message-ID: <1992Jul27.015736.18111@nuscc.nus.sg>
- Sender: usenet@nuscc.nus.sg
- Organization: National University of Singapore
- Date: Mon, 27 Jul 1992 01:57:36 GMT
- Lines: 38
-
- 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 concern 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
-
-
-