An on-the-fly grammar modification mechanism for composing and defining extensible languages

dc.contributor.authorReis, Leonardo V. S.
dc.contributor.authorDi Iorio, Vladimir O.
dc.contributor.authorBigonha, Roberto S.
dc.date.accessioned2018-09-11T11:11:31Z
dc.date.available2018-09-11T11:11:31Z
dc.date.issued2015-07
dc.description.abstractAdaptable Parsing Expression Grammar (APEG) is a formal method for defining the syntax of programming languages. It provides an on-the-fly mechanism to perform modifications of the syntax of the language during parsing time. The primary goal of this dynamic mechanism is the formal specification and the automatic parser generation for extensible languages. In this paper, we show how APEG can be used for the definition of the extensible languages SugarJ and Fortress, clarifying many aspects of the syntax of these languages. We also show that the mechanism for on-the-fly modification of syntax rules can be useful for defining grammars in a modular way, implementing almost all types of language composition in the context of specification of extensible languages.en
dc.formatpdfpt-BR
dc.identifier.issn14778424
dc.identifier.urihttps://doi.org/10.1016/j.cl.2015.01.002
dc.identifier.urihttp://www.locus.ufv.br/handle/123456789/21735
dc.language.isoengpt-BR
dc.publisherComputer Languages, Systems & Structurespt-BR
dc.relation.ispartofseriesv. 42, p. 46- 59, july 2015pt-BR
dc.rightsElsevier Ltd.pt-BR
dc.subjectParsing Expression Grammarspt-BR
dc.subjectExtensible languagespt-BR
dc.subjectGrammarspt-BR
dc.subjectLanguage compositionpt-BR
dc.titleAn on-the-fly grammar modification mechanism for composing and defining extensible languagesen
dc.typeArtigopt-BR

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
artigo.pdf
Size:
1.02 MB
Format:
Adobe Portable Document Format
Description:
Texto completo

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description:

Collections