Use este identificador para citar ou linkar para este item:
https://locus.ufv.br//handle/123456789/21735
Tipo: | Artigo |
Título: | An on-the-fly grammar modification mechanism for composing and defining extensible languages |
Autor(es): | Reis, Leonardo V. S. Di Iorio, Vladimir O. Bigonha, Roberto S. |
Abstract: | 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. |
Palavras-chave: | Parsing Expression Grammars Extensible languages Grammars Language composition |
Editor: | Computer Languages, Systems & Structures |
Tipo de Acesso: | Elsevier Ltd. |
URI: | https://doi.org/10.1016/j.cl.2015.01.002 http://www.locus.ufv.br/handle/123456789/21735 |
Data do documento: | Jul-2015 |
Aparece nas coleções: | Artigos |
Arquivos associados a este item:
Arquivo | Descrição | Tamanho | Formato | |
---|---|---|---|---|
artigo.pdf Until 2100-12-31 | Texto completo | 1,04 MB | Adobe PDF | Visualizar/Abrir ACESSO RESTRITO |
Os itens no repositório estão protegidos por copyright, com todos os direitos reservados, salvo quando é indicado o contrário.