Object Grammars: Compositional & Bidirectional Mapping Between Text and Graphs - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2012

Object Grammars: Compositional & Bidirectional Mapping Between Text and Graphs

Résumé

Object Grammars define mappings between text and object graphs. Parsing recognizes syntactic features and creates the corresponding object structure. In the reverse direction, formatting recognizes object graph features and generates an appropriate textual presentation. The key to Object Grammars is the expressive power of the mapping, which decouples the syntactic structure from the graph structure. To handle graphs, Object Grammars support declarative annotations for resolving textual names that refer to arbitrary objects in the graph structure. Predicates on the semantic structure provide additional control over the mapping. Furthermore, Object Grammars are compositional so that languages may be defined in a modular fashion. We have implemented our approach to Object Grammars as one of the foundations of the Ensō system and illustrate the utility of our approach by showing how it enables definition and composition of domain-specific languages (DSLs).
Fichier non déposé

Dates et versions

hal-00758627 , version 1 (29-11-2012)

Identifiants

  • HAL Id : hal-00758627 , version 1

Citer

Tijs van Der Storm, William J. Cook, Alex Loh. Object Grammars: Compositional & Bidirectional Mapping Between Text and Graphs. Software Language Engineering, Sep 2012, Dresden, Germany. ⟨hal-00758627⟩

Collections

INRIA INRIA2
74 Consultations
0 Téléchargements

Partager

Gmail Facebook X LinkedIn More