Skoči na glavni sadržaj

Izvorni znanstveni članak

https://doi.org/10.31341/jios.43.2.2

Abstract-Syntax-Driven Development of Oberon-0 Using YAJCo

Sergej Chodarev ; Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Košice, Košice, Slovakia
Michaela Bačíková ; Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Košice, Košice, Slovakia


Puni tekst: engleski pdf 674 Kb

str. 145-162

preuzimanja: 439

citiraj


Sažetak

YAJCo is a tool for the development of software languages based on an annotated language model. The model is represented by Java classes with annotations defining their mapping to concrete syntax. This approach to language definition enables the abstract syntax to be central point of the development process, instead of concrete syntax. In this paper a case study of Oberon-0 programming language development is presented. The study is based on the LTDA Tool Challenge and showcases details of abstract and concrete syntax definition using YAJCo, as well as implementation of name resolution, type checking, model transformation and code generation. The language was implemented in modular fashion to demonstrate language extension mechanisms supported by YAJCo.

Ključne riječi

abstract syntax; experience report; language development; language extension; Oberon-0; parser generator; YAJCo

Hrčak ID:

229456

URI

https://hrcak.srce.hr/229456

Datum izdavanja:

9.12.2019.

Posjeta: 1.117 *