Inherited attributes in available LALR parser generators?

sperber@midi.informatik.uni-tuebingen.de)
Wed, 6 Oct 1993 15:42:55 GMT

          From comp.compilers

Related articles
Inherited attributes in available LALR parser generators? sperber@midi.informatik.uni-tuebingen.de) (1993-10-06)
Re: Inherited attributes in available LALR parser generators? parrt@s1.arc.umn.edu (Terence Parr) (1993-10-07)
Re: Inherited attributes in available LALR parser generators? torbenm@diku.dk (1993-10-08)
Re: Inherited attributes in available LALR parser generators? sperber@midi.informatik.uni-tuebingen.de (1993-10-09)
Re: Inherited attributes in available LALR parser generators? sassa@is.titech.ac.jp (Masataka Sassa 202 3228) (1993-10-13)
Re: Inherited attributes in available LALR parser generators? bombadil@diku.dk (1993-10-14)
| List of all articles for this month |

Newsgroups: comp.compilers
From: sperber@midi.informatik.uni-tuebingen.de)
Keywords: attribute, LALR, comment
Organization: Lehrstuhl fuer Technische Inforrmatik, Uni Tuebingen
Date: Wed, 6 Oct 1993 15:42:55 GMT

Subject pretty much says it all. Is there such a program and/or a
freely available description on how it's done? I'd be especially
interested in purely functional variants.


Cheers =8-} Chipsy
[Well, there's the $0 hack in yacc which lets you access values in the
enclosing rule, but that's universally conceded to be really gross. The
cleanest approach seems to be to build your own AST, then walk down the
tree applying attributes. -John]
--


Post a followup to this message

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