Repository logo
 
Publication

XAGra - an XML dialect for attribute grammars

dc.contributor.authorOliveira, Nuno
dc.contributor.authorHenriques, Pedro Rangel
dc.contributor.authorCruz, Daniela
dc.contributor.authorPereira, Maria João
dc.date.accessioned2009-09-30T14:58:29Z
dc.date.available2009-09-30T14:58:29Z
dc.date.issued2009
dc.description.abstractAttribute Grammars (AG) are a powerful and well-known formalism used to create language processors. The meta-language used to write an AG (to specify a language and its processor) depends on the compiler generator tool chosen. This fact can be an handicap when it is necessary to share or transfer information between language-based systems; this is, we face an interchangeability problem, if we want to reuse the same language specification (the AG) on another development environment. To overcome this interoperability flaw, we present in this paper XAGra - an XML dialect to describe attribute grammars. XAGra was precisely conceived aiming at adapting the output of a visual attribute grammar editor (named VisualLISA) to any compiler generator tool. Based on the formal definition of Attribute Grammar and on the usual requirements for the generation of a language processor, XAGra schema is divided into five main fragments: symbol declarations, attribute declarations, semantic productions (including attribute evaluation rules, contextual conditions, and translation rules), import, and auxiliary functions definitions. In the paper we present those components, but the focus will be on the systematic way we followed to design the XML schema based on the formal definition of AG. To strength the usefulness of XAGra as a universal AG specification, we show at a glance XAGraAl, a tool taking as input an AG written in XAGra, is a Grammar Analyzer and Transformation system that computes dependencies among symbols, various metrics, slices and rebuilds the grammar.pt
dc.identifier.citationOliveira, Nuno; Henriques, Pedro; Cruz, Daniela; Pereira, Maria João (2009). XAGra - an XML dialect for attribute grammars. In INFORUM'09 Simpósio de Informática. Lisboa.pt
dc.identifier.urihttp://hdl.handle.net/10198/1190
dc.language.isoengpt
dc.publisherFaculdade de Ciências de Lisboapt
dc.subjectGramáticas de atributospt
dc.subjectXMLpt
dc.titleXAGra - an XML dialect for attribute grammarspt
dc.typeconference paper
dspace.entity.typePublication
oaire.citation.conferencePlaceUniversidade de Lisboa. Faculdade de Ciênciaspt
oaire.citation.titleINForum'09 - Simpósio de Informáticapt
person.familyNamePereira
person.givenNameMaria João
person.identifier.ciencia-idC912-4A49-A3B3
person.identifier.orcid0000-0001-6323-0071
person.identifier.ridG-5999-2011
person.identifier.scopus-author-id13907870300
rcaap.rightsopenAccesspt
rcaap.typeconferenceObjectpt
relation.isAuthorOfPublicationa20ccfa6-4e84-4c25-ab0d-8d6ba196ffc2
relation.isAuthorOfPublication.latestForDiscoverya20ccfa6-4e84-4c25-ab0d-8d6ba196ffc2

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
XATA09XAGRA_vf.pdf
Size:
259.23 KB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.8 KB
Format:
Item-specific license agreed upon to submission
Description: