EUVIMEDEUVIMED entdecken
Crossref

Metamodel-based Language Definition with Python

Sergej Chodarev, Sharoon Ilyas

IPSI Transactions on Internet Research · 2023

DOI: 10.58245/ipsi.tir.2301.06 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IPSI Transactions on Internet Research, 2023. Verfasst von Sergej Chodarev und 1 weiteren Autor:innen.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Most of the parser tools are concentrated on concrete syntax and grammar definition. This paper describes a language definition tool that uses a metamodel specification instead of grammar as the basis of the language definition. Inspired by a similar Java tool known as YAJCo, the metamodel is defined using usual object-oriented techniques—as classes in the Python programming language, and the result of the parsing process is a graph of objects. The tool is demonstrated in a case study of a simple imperative programming language. We explain our design decisions and also demonstrate the suitability of a dynamic language such, as Python, for this task.

Zitieren

APA

Chodarev, S., & Ilyas, S. (2023). Metamodel-based Language Definition with Python. IPSI Transactions on Internet Research. https://doi.org/10.58245/ipsi.tir.2301.06

Vancouver

Chodarev S, Ilyas S. Metamodel-based Language Definition with Python. IPSI Transactions on Internet Research. 2023. doi:10.58245/ipsi.tir.2301.06

BibTeX
@article{Chodarev2023,
  author = {Chodarev, Sergej and Ilyas, Sharoon},
  title = {Metamodel-based Language Definition with Python},
  journal = {IPSI Transactions on Internet Research},
  year = {2023},
  doi = {10.58245/ipsi.tir.2301.06}
}
Kostenlos starten →