Creating modular and reusable DSL textual syntax definitions with Grammatic-ANTLR - Computer Science > Programming LanguagesReportar como inadecuado




Creating modular and reusable DSL textual syntax definitions with Grammatic-ANTLR - Computer Science > Programming Languages - Descarga este documento en PDF. Documentación en PDF para descargar gratis. Disponible también para leer online.

Abstract: In this paper we present Grammatic - a tool for textual syntax definition.Grammatic serves as a front-end for parser generators and other tools andbrings modularity and reuse to their development artifacts. It adaptstechniques for separation of concerns from Apsect-Oriented Programming togrammars and uses templates for grammar reuse. We illustrate usage of Grammaticby describing a case study: bringing separation of concerns to ANTLR parsergenerator, which is achieved without a common time- and memory-consumingtechnique of building an AST to separate semantic actions from a grammardefinition.



Autor: Andrey Breslav

Fuente: https://arxiv.org/







Documentos relacionados