Specifying Input and Output of Visual Languages
Abstract:
We consider "context free " specification of visual syntax-- with the aid of visual (i.e., 2-dimensional and user-defined) "lexicals". We argue that context-free visual syntax specification can go a long way towards specification of visual languages in the presence of certain intelligent tools. We focus on the input and output behavior of visual languages in demonstrating this point. The usual notion of term construction in a editor is extended by allowing sharing of sub-terms. We demonstrate the utility of this for constructing input terms (programs) of visual languages. We also allow such sharing of sub-terms in equations editors which are used to specify language semantics. This sharing not only allows the building of appropriate (visual) terms but also provides information on the desired view of an output term. We introduce a technique called "Share-Where " which is used to preserve layout information and demonstrate its use as well as its limitations. We then describe an extension to our formalism which allows dynamic input and output-- interaction during term execution. We demonstrate this with a full example for the FSA language to animate FSA term evaluation.
Citations
| 579 | Term rewriting systems – Klop - 1992 |
| 205 | A meta-environment for generating programming environments – Klint - 1993 |
| 126 | Functional Programming and Parallel Graph Rewriting – Plasmeijer, Eekelen - 1993 |
| 82 | Conditional Rewrite Rules: confluence and termination – Bergstra, Klop - 1986 |
| 20 | Visual Programming with Graph Rewriting Systems – Schurr, Winter, et al. - 1995 |
| 10 | Generating Visual Editors for Formally Specified Languages – Uskudarli - 1994 |
| 6 | Towards a Visual Programming Environment Generator for Algebraic Specifications – Uskudarli, Dinesh - 1995 |
| 4 | A canonical calculus of residuals – Bertot - 1993 |
| 3 | Algebraic Specification of Visual Languages – Uskudarli - 1996 |
| 1 | Interaction ASF. preliminary draft – Dinesh, Uskudarli - 1995 |

