home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / cplus / 11584 < prev    next >
Encoding:
Internet Message Format  |  1992-07-26  |  1.7 KB

  1. Xref: sparky comp.lang.c++:11584 comp.editors:1825
  2. Newsgroups: comp.lang.c++,comp.editors
  3. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!nuscc!solomon.technet.sg!xorian
  4. From: xorian@solomon.technet.sg (Xorian Technologies)
  5. Subject: Re: Looking for editors and parsers for C++
  6. Message-ID: <1992Jul27.015736.18111@nuscc.nus.sg>
  7. Sender: usenet@nuscc.nus.sg
  8. Organization: National University of Singapore
  9. Date: Mon, 27 Jul 1992 01:57:36 GMT
  10. Lines: 38
  11.  
  12. Jan Skarvall write :-
  13.  
  14. : I am also interested in parsers and parser generators for C++ for the same
  15. : reasons.
  16.  
  17. Our parser generator LADE is able to generate a C++ parser with 0 shift-reduce
  18. and 0 reduce-reduce conflicts.  We are also in the process of writing a C++
  19. parser which will be ready soon.
  20.  
  21. : We are currently using C++ 2.1.
  22.  
  23. As far as the parser is concern there is little difference between 2.1 and
  24. 3.0, since template and exception handling has more impact on the code 
  25. generation part.
  26.  
  27. : [Jim Roskind's yacc C++ parser is available in the compilers archives, but
  28. : I'm not sure that'd much help for building an editor. -John]
  29.  
  30. The problem with Roskind's grammar is that in order to resolve the many
  31. significant ambiguities in C++, Roskind "macro expanded" the productions
  32. involved. While he resolved most of the conflicts, he created monster of
  33. a grammar which bears little resemblance to the specification and is 
  34. extremely difficult to use in practice. Based on our own experience and that
  35. of our clients, we strongly recommend against the Roskind grammar for anything
  36. more than simple syntactic checking.
  37.  
  38.  
  39.  
  40. KG Loh
  41. Xorian Technologies Pte Ltd
  42. 389A Balestier Road
  43. Singapore 1232
  44. Republic of Singapore
  45. Tel: (65) 255-7151
  46. Fax: (65) 253-7709
  47. email: xorian@solomon.technet.sg
  48.  
  49.  
  50.