Creating modular and reusable DSL textual syntax definitions with Grammatic/ANTLR

dc.creatorBreslav, Andrey
dc.date2009-02-16
dc.date.accessioned2026-07-07T12:42:12Z
dc.date.available2026-07-07T12:42:12Z
dc.descriptionIn this paper we present Grammatic -- a tool for textual syntax definition. Grammatic serves as a front-end for parser generators (and other tools) and brings modularity and reuse to their development artifacts. It adapts techniques for separation of concerns from Apsect-Oriented Programming to grammars and uses templates for grammar reuse. We illustrate usage of Grammatic by describing a case study: bringing separation of concerns to ANTLR parser generator, which is achieved without a common time- and memory-consuming technique of building an AST to separate semantic actions from a grammar definition.
dc.descriptionSubmitted to PSI'09
dc.identifierhttps://arxiv.org/abs/0902.2621
dc.identifierhttp://arxiv.org/abs/0902.2621
dc.identifier.urihttp://salesiana.dossiersoluciones.com/handle/123456789/219996
dc.subjectProgramming Languages
dc.subjectSoftware Engineering
dc.titleCreating modular and reusable DSL textual syntax definitions with Grammatic/ANTLR
dc.typetext

Files

Collections