Reusing Semantics in Visual Editors: A Case for Reference Attribute Grammars

Authors

  • Niklas Fors Lund University
  • Görel Hedin Lund University

DOI:

https://doi.org/10.14279/tuj.eceasst.58.845

Abstract

The semantic formalism reference attribute grammars (RAGs) allows graphs to be superimposed on abstract syntax trees. This paper investigates how RAGs can be used to model visual languages, with a case study of a control language that also has a textual syntax. The language contains blocks on which a total execution order is defined based on connections and layout information. One strength of RAGs is reusability, and we demonstrate this by reusing the definition of the execution order in the visual editor to provide semantic feedback to the user.

Downloads

Published

2013-07-19

How to Cite

[1]
N. Fors and G. Hedin, “Reusing Semantics in Visual Editors: A Case for Reference Attribute Grammars”, eceasst, vol. 58, Jul. 2013.