Abstract
Composition is amongst the major challenges faced in language engineering. Erdweg et. al. offered a taxonomy for language composition. Mernik catalogued the use of the Language Definitional Framework LISA for composition sorts in that taxonomy. We produce a similar catalogue for embedded language engineering in Scala.
We begin with techniques that are not specific to Scala. They are applicable in any host language with a module system and support for higher order functions. We, then, present two more techniques to examine Scala-specific language engineering. Interestingly enough, even though dealing with embedded languages, in terms of lines of code, our material is of comparable length to its LISA counterpart. Our work lends insight into Scala’s serviceability for composition, as a host for embedded language engineering.
We begin with techniques that are not specific to Scala. They are applicable in any host language with a module system and support for higher order functions. We, then, present two more techniques to examine Scala-specific language engineering. Interestingly enough, even though dealing with embedded languages, in terms of lines of code, our material is of comparable length to its LISA counterpart. Our work lends insight into Scala’s serviceability for composition, as a host for embedded language engineering.
Original language | English |
---|---|
Title of host publication | Proceedings of the 2019 Federated Conference on Computer Science and Information Systems (FedCSIS) |
Editors | Maria Ganzha, Leszek Maciaszek, Marcin Paprzycki |
Publisher | IEEE |
Pages | 399-410 |
Number of pages | 12 |
Volume | 18 |
ISBN (Electronic) | 9788395235795, 9788395235788 |
ISBN (Print) | 9788395541605 |
DOIs | |
Publication status | Published - 4 Sept 2019 |
Event | 14th Federated Conference on Computer Science and Information Systems - Leipzig University , Leipzig , Germany Duration: 1 Sept 2019 → 4 Sept 2019 Conference number: 14 https://fedcsis.org/ |
Publication series
Name | Annals of Computer Science and Information Systems |
---|---|
Publisher | IEEE |
Volume | 18 |
ISSN (Electronic) | 2300-5963 |
Conference
Conference | 14th Federated Conference on Computer Science and Information Systems |
---|---|
Abbreviated title | FedCSIS |
Country/Territory | Germany |
City | Leipzig |
Period | 1/09/19 → 4/09/19 |
Internet address |
Keywords
- EDSL
- Scala
- Formal language
- Language engineering
- Language composition
- Expression problem
- Algebraic data types