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) |
Newsgroups: | comp.compilers |
From: | ruiter@ruls41.fsw.leidenuniv.nl (Jan-Peter de Ruiter) |
Keywords: | attribute, yacc |
Organization: | Compilers Central |
References: | 94-11-167 |
Date: | Thu, 1 Dec 1994 12:42:56 GMT |
Chris Palmer wrote:
: My question is: Is it possible to safely and cleanly use inherited attributes
: within the yacc grammar?
This will involve a lot of dirty tricks (globals etc) in Yacc.
If you need to use inherited attributes and if you would like
to use some other parser generator, try PCCTS. (see
comp.compilers.tools.pccts for details).
This is a (top down parser)-generator that is more or less designed
to make life easy using inherited attributes.
Jan
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.