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

Bibliographic Details
Main Author: Reis, Leonardo Vieira dos Santos
Publication Date: 2015
Other Authors: Iorio, Vladimir Oliveira Di, Bigonha, Roberto da Silva
Format: Article
Language: eng
Source: Repositório Institucional da UFOP
dARK ID: ark:/61566/001300000h54p
Download full: http://www.repositorio.ufop.br/handle/123456789/5926
https://doi.org/10.1016/j.cl.2015.01.002
Summary: Adaptable 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.
id UFOP_fbfb5c43cbce5816f4d1c3bbfc76bcfb
oai_identifier_str oai:repositorio.ufop.br:123456789/5926
network_acronym_str UFOP
network_name_str Repositório Institucional da UFOP
repository_id_str 3233
spelling An on-the-fly grammar modification mechanism for composing and defining extensible languages.Parsing expression grammarsExtensible languagesGrammarsLanguage compositionAdaptable 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.2015-12-07T14:19:41Z2015-12-07T14:19:41Z2015info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/articleapplication/pdfREIS, L. V. dos S.; IORIO, V. O. D.; BIGONHA, R. da S. An on-the-fly grammar modification mechanism for composing and defining extensible languages. Computer Languages, Systems & Structures, v. 42, p. 46-59, 2015. Disponível em: <http://www.sciencedirect.com/science/article/pii/S1477842415000032>. Acesso em: 13 out 2015.1477-8424http://www.repositorio.ufop.br/handle/123456789/5926https://doi.org/10.1016/j.cl.2015.01.002ark:/61566/001300000h54pO periódico Computer Languages, Systems & Structures concede permissão para depósito deste artigo no Repositório Institucional da UFOP. Número da licença: 3730731018146.info:eu-repo/semantics/openAccessReis, Leonardo Vieira dos SantosIorio, Vladimir Oliveira DiBigonha, Roberto da Silvaengreponame:Repositório Institucional da UFOPinstname:Universidade Federal de Ouro Preto (UFOP)instacron:UFOP2024-11-11T06:07:17Zoai:repositorio.ufop.br:123456789/5926Repositório InstitucionalPUBhttp://www.repositorio.ufop.br/oai/requestrepositorio@ufop.edu.bropendoar:32332024-11-11T06:07:17Repositório Institucional da UFOP - Universidade Federal de Ouro Preto (UFOP)false
dc.title.none.fl_str_mv An on-the-fly grammar modification mechanism for composing and defining extensible languages.
title An on-the-fly grammar modification mechanism for composing and defining extensible languages.
spellingShingle An on-the-fly grammar modification mechanism for composing and defining extensible languages.
Reis, Leonardo Vieira dos Santos
Parsing expression grammars
Extensible languages
Grammars
Language composition
title_short An on-the-fly grammar modification mechanism for composing and defining extensible languages.
title_full An on-the-fly grammar modification mechanism for composing and defining extensible languages.
title_fullStr An on-the-fly grammar modification mechanism for composing and defining extensible languages.
title_full_unstemmed An on-the-fly grammar modification mechanism for composing and defining extensible languages.
title_sort An on-the-fly grammar modification mechanism for composing and defining extensible languages.
author Reis, Leonardo Vieira dos Santos
author_facet Reis, Leonardo Vieira dos Santos
Iorio, Vladimir Oliveira Di
Bigonha, Roberto da Silva
author_role author
author2 Iorio, Vladimir Oliveira Di
Bigonha, Roberto da Silva
author2_role author
author
dc.contributor.author.fl_str_mv Reis, Leonardo Vieira dos Santos
Iorio, Vladimir Oliveira Di
Bigonha, Roberto da Silva
dc.subject.por.fl_str_mv Parsing expression grammars
Extensible languages
Grammars
Language composition
topic Parsing expression grammars
Extensible languages
Grammars
Language composition
description Adaptable 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.
publishDate 2015
dc.date.none.fl_str_mv 2015-12-07T14:19:41Z
2015-12-07T14:19:41Z
2015
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/article
format article
status_str publishedVersion
dc.identifier.uri.fl_str_mv REIS, L. V. dos S.; IORIO, V. O. D.; BIGONHA, R. da S. An on-the-fly grammar modification mechanism for composing and defining extensible languages. Computer Languages, Systems & Structures, v. 42, p. 46-59, 2015. Disponível em: <http://www.sciencedirect.com/science/article/pii/S1477842415000032>. Acesso em: 13 out 2015.
1477-8424
http://www.repositorio.ufop.br/handle/123456789/5926
https://doi.org/10.1016/j.cl.2015.01.002
dc.identifier.dark.fl_str_mv ark:/61566/001300000h54p
identifier_str_mv REIS, L. V. dos S.; IORIO, V. O. D.; BIGONHA, R. da S. An on-the-fly grammar modification mechanism for composing and defining extensible languages. Computer Languages, Systems & Structures, v. 42, p. 46-59, 2015. Disponível em: <http://www.sciencedirect.com/science/article/pii/S1477842415000032>. Acesso em: 13 out 2015.
1477-8424
ark:/61566/001300000h54p
url http://www.repositorio.ufop.br/handle/123456789/5926
https://doi.org/10.1016/j.cl.2015.01.002
dc.language.iso.fl_str_mv eng
language eng
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.source.none.fl_str_mv reponame:Repositório Institucional da UFOP
instname:Universidade Federal de Ouro Preto (UFOP)
instacron:UFOP
instname_str Universidade Federal de Ouro Preto (UFOP)
instacron_str UFOP
institution UFOP
reponame_str Repositório Institucional da UFOP
collection Repositório Institucional da UFOP
repository.name.fl_str_mv Repositório Institucional da UFOP - Universidade Federal de Ouro Preto (UFOP)
repository.mail.fl_str_mv repositorio@ufop.edu.br
_version_ 1838994602858643456