🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Vivek P. Singhal Tue, 22 Dec 1992 11:19
Looking for a G++ grammar (w/ symbol table)
#561
Author: Vivek P. Singhal
Date: Tue, 22 Dec 1992 11:19
19 lines
1331 bytes
I'm planning to write a program which will need to parse C++.  I've
looked at Jim Roskind's grammar (which is mentioned in the
comp.lang.c++ FAQ), but it lacks a symbol table (and the appropriate
actions which insert symbols into the table).  I'm considering using
the grammar of the G++ compiler instead; presumably, all I'd need to
do is strip out the code generation stuff, leaving behind only the
actions related to parsing.

Before I begin this task, however, I was wondering if anyone has
already done this (i.e. built a stand-alone G++ grammar), and if they
are willing to share the code.  Thanks,
--


Vivek

------------------------------------------------------------------------------
E-mail: singhal@cs.utexas.edu     Phone: (512) 471-9711     Office: TAY 3.104C
USmail: CS Dept. TAY 2.124 \n Univ. of Texas @ Austin \n Austin, TX 78712-1188
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads