IMPLEMENTATION OF DOMAIN SPECIFIC LANGUAGES USING THE TEXTX TOOL

  • Igor Dejanović Fakultet tehničkih nauka, Univerzitet u Novom Sadu
  • Renata Vaderna Fakultet tehničkih nauka, Univerzitet u Novom Sadu
  • Gordana Milosavljević Fakultet tehničkih nauka, Univerzitet u Novom Sadu
  • Željko Vuković Fakultet tehničkih nauka, Univerzitet u Novom Sadu
Keywords: Domain-Specific Languages, parser, meta-language, meta-model, interpreter, source code generator, tool

Abstract

Domain-Specific Languages (DSLs) are languages constrained and focused on a particular domain of human endeavor. Although they have been used for several decades, in the last years it is evident an increased interest in their usage which is caused by an increased availability of tools for their easy production and evolution. In this paper we describe textX tool developed at Chair for informatics, Faculty of technical sciences in Novi Sad and its usage in development of DSLs. Starting from the grammar textX creates meta-model and parser of the given language in run-time. Parser is capable to, out of the textual model description, produce memory model which conforms to language meta-model. textX is implemented on Python programming language as a free and open-source project available at GitHub.
Published
2019-01-15
Section
Articles