Creating modular and reusable DSL textual syntax definitions with Grammatic-ANTLR - Computer Science > Programming LanguagesReport as inadecuate




Creating modular and reusable DSL textual syntax definitions with Grammatic-ANTLR - Computer Science > Programming Languages - Download this document for free, or read online. Document in PDF available to download.

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.



Author: Andrey Breslav

Source: https://arxiv.org/







Related documents