Memoized zipper-based attribute grammars
Attribute Grammars are a powerfull, well-known formalism to implement and reason about programs which, by design, are conveniently modular.In this work we focus on a state of the art Zipper-based embedding of Attribute Grammars and further improve its performance through controlling attribute (re)ev...
Main Author: | |
---|---|
Other Authors: | , , , |
Format: | conferencePaper |
Language: | eng |
Published: |
2016
|
Subjects: | |
Online Access: | http://hdl.handle.net/1822/70216 |
Country: | Portugal |
Oai: | oai:repositorium.sdum.uminho.pt:1822/70216 |
Summary: | Attribute Grammars are a powerfull, well-known formalism to implement and reason about programs which, by design, are conveniently modular.In this work we focus on a state of the art Zipper-based embedding of Attribute Grammars and further improve its performance through controlling attribute (re)evaluation by using memoization techniques. We present the results of our optimization by comparing their impact in various implementations of different, well-studied Attribute Grammars. |
---|