🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49782

help needed for adding features to the c++ language

#49782
From: lenzi
Date: Thu, 09 Dec 1993 12:21
30 lines
1769 bytes
Hello,

In our lab, we have a long term project that consists of adding
concurrency to the class featurein C++. Since we have the semantic
already defined, we need to implement it.

As GNU CC is widely available, we have decided to use it. I have
begun to add some few keywords and changed the grammar, too. The
new generated compiler parses almost fine, but now I need to
insert code generation to my new grammars rules.

I am working with the book "Using and Porting GNU CC", but there is
no indications about how the temporary code is generated in the tree structure.
I have tried to understand it by myself but it is too huge.

I would really appreciate if you could send me some advices and explanations
about how to integrate the code generated by my new grammatical rules.

Thanks in advance.

Daniel Lenzi         lenzi@di.epfl.ch

----------------------------------------
Ecole Polytechnique Federale de Lausanne 
Swiss Federal Institute of Technology

IN-R Laboratoire de compilation
1015 Lausanne/Switzerland
----------------------------------------
Technical Details
Message-ID: <9312091216.AA03850@ellc4.epfl.ch>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!uunet!haven.umd.edu!news.umbc.edu!eff!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ellc4.epfl.ch!lenzi

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,bf53e10b863c5f9,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-12-10 03:38:35 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!uunet!haven.umd.edu!news.umbc.edu!eff!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ellc4.epfl.ch!lenzi
From: lenzi@ellc4.epfl.ch
Newsgroups: gnu.gcc.help
Subject: help needed for adding features to the c++ language
Date: 9 Dec 1993 07:21:30 -0500
Organization: GNUs Not Usenet
Lines: 30
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9312091216.AA03850@ellc4.epfl.ch>