SwePub
Sök i LIBRIS databas

  Utökad sökning

WFRF:(Palmkvist Viktor)
 

Sökning: WFRF:(Palmkvist Viktor) > Creating domain-spe...

Creating domain-specific languages by composing syntactical constructs

Palmkvist, Viktor (författare)
KTH,Programvaruteknik och datorsystem, SCS
Broman, David, 1977- (författare)
KTH,Programvaruteknik och datorsystem, SCS
 (creator_code:org_t)
2018-12-19
2019
Engelska.
Ingår i: 21st International Symposium on Practical Aspects of Declarative Languages, PADL 2019. - Cham : Springer. - 9783030059972 ; , s. 187-203
  • Konferensbidrag (refereegranskat)
Abstract Ämnesord
Stäng  
  • Creating a programming language is a considerable undertaking, even for relatively small domain-specific languages (DSLs). Most approaches to ease this task either limit the flexibility of the DSL or consider entire languages as the unit of composition. This paper presents a new approach using syntactical constructs (also called syncons) for defining DSLs in much smaller units of composition while retaining flexibility. A syntactical construct defines a single language feature, such as an if statement or an anonymous function. Each syntactical construct is fully self-contained: it specifies its own concrete syntax, binding semantics, and runtime semantics, independently of the rest of the language. The runtime semantics are specified as a translation to a user defined target language, while the binding semantics allow name resolution before expansion. Additionally, we present a novel approach for dealing with syntactical ambiguity that arises when combining languages, even if the languages are individually unambiguous. The work is implemented and evaluated in a case study, where small subsets of OCaml and Lua have been defined and composed using syntactical constructs.

Ämnesord

NATURVETENSKAP  -- Data- och informationsvetenskap -- Språkteknologi (hsv//swe)
NATURAL SCIENCES  -- Computer and Information Sciences -- Language Technology (hsv//eng)

Publikations- och innehållstyp

ref (ämneskategori)
kon (ämneskategori)

Hitta via bibliotek

Till lärosätets databas

Hitta mer i SwePub

Av författaren/redakt...
Palmkvist, Vikto ...
Broman, David, 1 ...
Om ämnet
NATURVETENSKAP
NATURVETENSKAP
och Data och informa ...
och Språkteknologi
Artiklar i publikationen
21st Internation ...
Av lärosätet
Kungliga Tekniska Högskolan

Sök utanför SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Stäng

Kopiera och spara länken för att återkomma till aktuell vy