home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / g / help / 1612 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.3 KB

  1. Xref: sparky gnu.g++.help:1612 comp.lang.c++:18311
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!cs.utexas.edu!singhal
  3. From: singhal@cs.utexas.edu (Vivek P. Singhal)
  4. Newsgroups: gnu.g++.help,comp.lang.c++
  5. Subject: Looking for a G++ grammar (w/ symbol table)
  6. Followup-To: gnu.g++.help
  7. Date: 22 Dec 92 11:19:20
  8. Organization: Univ. of Texas at Austin, CS Dept.
  9. Lines: 19
  10. Distribution: world
  11. Message-ID: <SINGHAL.92Dec22111920@twins.cs.utexas.edu>
  12. NNTP-Posting-Host: twins.cs.utexas.edu
  13.  
  14. I'm planning to write a program which will need to parse C++.  I've
  15. looked at Jim Roskind's grammar (which is mentioned in the
  16. comp.lang.c++ FAQ), but it lacks a symbol table (and the appropriate
  17. actions which insert symbols into the table).  I'm considering using
  18. the grammar of the G++ compiler instead; presumably, all I'd need to
  19. do is strip out the code generation stuff, leaving behind only the
  20. actions related to parsing.
  21.  
  22. Before I begin this task, however, I was wondering if anyone has
  23. already done this (i.e. built a stand-alone G++ grammar), and if they
  24. are willing to share the code.  Thanks,
  25. --
  26.  
  27.  
  28. Vivek
  29.  
  30. ------------------------------------------------------------------------------
  31. E-mail: singhal@cs.utexas.edu     Phone: (512) 471-9711     Office: TAY 3.104C
  32. USmail: CS Dept. TAY 2.124 \n Univ. of Texas @ Austin \n Austin, TX 78712-1188
  33.