Please use this identifier to cite or link to this item: https://open.uns.ac.rs/handle/123456789/3076
Title: A python tool for the implementation of domain-specific languages
Authors: Dejanović, Igor 
Vaderna, Renata 
Milosavljević, Gordana 
Simić, Maja
Vuković, Željko 
Issue Date: 21-Jul-2017
Journal: AIP Conference Proceedings
Abstract: © 2017 Author(s). In this paper we describe textX, a meta-language and a tool for building Domain-Specific Languages. It is implemented in Python using Arpeggio PEG (Parsing Expression Grammar) parser library. From a single language description (grammar) textX will build a parser and a meta-model (a.k.a. abstract syntax) of the language. The parser is used to parse textual representations of models conforming to the meta-model. As a result of parsing, a Python object graph will be automatically created. The structure of the object graph will conform to the meta-model defined by the grammar. This approach frees a developer from the need to manually analyse a parse tree and transform it to other suitable representation. The textX library is independent of any integrated development environment and can be easily integrated in any Python project. The textX tool works as a grammar interpreter. The parser is configured at run-time using the grammar. The textX tool is a free and open-source project available at GitHub.
URI: https://open.uns.ac.rs/handle/123456789/3076
ISBN: 9780735415386
ISSN: 0094243X
DOI: 10.1063/1.4992501
Appears in Collections:FTN Publikacije/Publications

Show full item record

SCOPUSTM   
Citations

1
checked on May 3, 2024

Page view(s)

31
Last Week
9
Last month
4
checked on May 10, 2024

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.