Re: Using inherited attributes within a yacc grammar

al@nmt.edu (Al Stavely)
Fri, 2 Dec 1994 23:00:37 GMT

          From comp.compilers

Related articles
Using inherited attributes within a yacc grammar crpalmer@undergrad.math.uwaterloo.ca (1994-11-25)
Re: Using inherited attributes within a yacc grammar al@nmt.edu (1994-11-30)
Re: Using inherited attributes within a yacc grammar ruiter@ruls41.fsw.leidenuniv.nl (1994-12-01)
Re: Using inherited attributes within a yacc grammar sikkema@hio.tem.NHL.NL (Albert Sikkema) (1994-12-01)
Re: Using inherited attributes within a yacc grammar peter@merlion.zfe.siemens.de (1994-12-02)
Re: Using inherited attributes within a yacc grammar al@nmt.edu (1994-12-02)
Re: Using inherited attributes within a yacc grammar pjj@cs.man.ac.uk (1994-12-05)
| List of all articles for this month |
Newsgroups: comp.compilers
From: al@nmt.edu (Al Stavely)
Keywords: yacc, attribute
Organization: New Mexico Tech, USA
References: 94-11-167
Date: Fri, 2 Dec 1994 23:00:37 GMT

Chris Palmer <crpalmer@undergrad.math.uwaterloo.ca> wrote:
>My question is: Is it possible to safely and cleanly use inherited attributes
>within the yacc grammar?


As a matter of fact, I've recently written a short paper on one way of doing
this. It does require a hack, but not an obnoxious one, IMO.


I've made the paper available for ftp at ftp.cs.nmt.edu , in the directory
pub.al . It's in either dvi or ps format, in files inherit.dvi and inherit.ps
respectively.
--
- Allan Stavely, New Mexico Tech, USA
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.