Proceedings of the ACM SIGPLAN 2014 Workshop on Partial Evaluation and Program Manipulation 2014
DOI: 10.1145/2543728.2543735
|View full text |Cite
|
Sign up to set email alerts
|

Lazy stateless incremental evaluation machinery for attribute grammars

Abstract: Many computer programs work with data that changes over time.Computations done over such data usually are repeated completely after a change in the data. For complex computations such repetitive recomputation can become too inefficient. When these recomputations take place on data which has only changed slightly, it often is possible to reformulate the computation to an incremental version which reuses the result of the computation on previous data. Such a situation typically occurs in compilers and editors fo… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
5
0

Year Published

2014
2014
2015
2015

Publication Types

Select...
2
1

Relationship

2
1

Authors

Journals

citations
Cited by 3 publications
(5 citation statements)
references
References 27 publications
0
5
0
Order By: Relevance
“…Section 4 introduces earlier work on the representation of changes made to the input, and in Section 5 we describe the techniques for incremental attribute grammar evaluation without higher order attributes. This is similar to our earlier work (Bransen et al 2014) but adapted to support the main contribution of this paper in Section 6 where the support for higher order attributes is added. In Section 7 we evaluate the results with a benchmark and we discuss some shortcomings in Section 8.…”
Section: Introductionmentioning
confidence: 82%
See 2 more Smart Citations
“…Section 4 introduces earlier work on the representation of changes made to the input, and in Section 5 we describe the techniques for incremental attribute grammar evaluation without higher order attributes. This is similar to our earlier work (Bransen et al 2014) but adapted to support the main contribution of this paper in Section 6 where the support for higher order attributes is added. In Section 7 we evaluate the results with a benchmark and we discuss some shortcomings in Section 8.…”
Section: Introductionmentioning
confidence: 82%
“…Such an attribute is a simple counter which is increased every time a fresh variable is needed. As described in our previous work (Bransen et al 2014), such threaded attributes are bad for the effectiveness of the incremental evaluation. In previous work we have suggested several solutions for this, which could also be applied here, but to simplify the toy implementation we have chosen to implement fresh variable generation with a global mutable state instead.…”
Section: Implementation Detailsmentioning
confidence: 88%
See 1 more Smart Citation
“…In fact, our work was motivated by the lack of an appropriate representation of transformations for the implementation of incremental evaluation of attribute grammars (Bransen et al 2013). As such, we plan to integrate our description of transformations in the Utrecht University Attribute Grammar system (UUAG, Swierstra et al 1999), and see if they can be put to good use in improving the performance of attribute grammars.…”
Section: Future Workmentioning
confidence: 99%
“…An example is the incremental evaluation of attribute grammars using change propagation (Bransen et al 2013): changing a value somewhere inside a tree might not require recomputing all the attributes. As such, incremental computations need information about how terms are transformed, and the quality of this information affects the recomputation avoidance mechanism.…”
Section: Introductionmentioning
confidence: 99%