|
Nuno Oliveira1, Maria Jo˜ao Varanda Pereira2, Pedro Rangel Henriques1, Daniela da Cruz1 and Bastian Cramer3
1 Department of Computer Science, University of Minho
Campus de Gualtar, 4715-057, Braga, Portugal
{nunooliveira,prh,danieladacruz}@di.uminho.pt
2 Polytechnic Institute of Braganca
Campus de Sta. Apolonia, Apartado 134 - 5301-857, Braganca, Portugal
mjoao@ipb.pt
3 Department of Informatics, University of Paderborn
Fürstenallee 11, 33102, Paderborn, Germany
bcramer@upb.de
Abstract.
The focus of this paper is on crafting a new visual language for attribute grammars (AGs), and on the development of the associated programming environment. We present a solution for rapid development of VisualLISA editor using DEViL. DEViL uses traditional attribute grammars, to specify the language’s syntax and semantics, extended by visual representations to be associated with grammar symbols. From these specifications a visual programming environment is automatically generated. In our case, the environment allows us to edit a visual description of an AG that is automatically translated into textual notations, including an XML-based representation for attribute grammars (XAGra), and is intended to be helpful for beginners and rapid development of small AGs. XAGra allows us to use VisualLISA with other compiler-compiler tools.
|