Attribute Grammars and Categorical Semantics

  • Authors:
  • Shin-Ya Katsumata

  • Affiliations:
  • Research Institute for Mathematical Sciences, Kyoto University, Kyoto, Japan 606-8502

  • Venue:
  • ICALP '08 Proceedings of the 35th international colloquium on Automata, Languages and Programming, Part II
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We give a new formulation of attribute grammars (AG for short) called monoidalAGsin traced symmetric monoidal categories. Monoidal AGs subsume existing domain-theoretic, graph-theoretic and relational formulations of AGs. Using a 2-categorical aspect of monoidal AGs, we also show that every monoidal AG is equivalent to a synthesised one when the underlying category is closed, and that there is a sound and complete translation from local dependency graphs to relational AGs.