~/talk

Strategic Tree Rewriting in Attribute Grammars

Talkat SLE 2020 · 2020-11-16..11-17· [software-architecture]
links:none on file
slides:none on file

Introduces strategy attributes: higher-order synthesized attributes with attached rewrite strategies implemented as a modular Silver extension that translate strategies into generated equations via a propagate declaration. Shows concrete uses — let inlining that reads an inherited env, regex simplification via Brzozowski derivatives, and loop normalization in ableC-Halide — and explains congruence strategies to respect attribute dependencies between children to avoid repeated full redecorations (naive innermost redecorating is inefficient). Implementation yields production-specific optimizations and about a 20% speedup.

AI-written summary · about

  1. 0:00Intro
  2. 1:41Solution
  3. 2:47Example: Attributes
  4. 3:45Example: Rewrite rules
  5. 5:43Strategy Attributes: Using Contextual Information
  6. 6:17Strategy Attributes: Traversal Order with Context
  7. 8:34Implementation: Rules
  8. 8:57Implementation: Lifting Sequence
  9. 9:33Implementation: Total Sequence, all
  10. 10:18Implementation: Partial Sequence, Choice
  11. 11:17Applications: for-Loop Normalization
  12. 12:06Applications: Optimizing Strategy Expressions
  13. 13:17Discussion and Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.