SwePub
Sök i LIBRIS databas

  Utökad sökning

WFRF:(Taha Walid 1971 )
 

Sökning: WFRF:(Taha Walid 1971 ) > (2000-2004) > Tagless Staged Inte...

Tagless Staged Interpreters for Typed Languages

Pašalić, Emir (författare)
OGI School of Science & Engineering, Oregon Health & Science University, Hillsboro, Oregon, USA
Taha, Walid, 1971- (författare)
Computer Science Department, Rice University, Houston, TX, USA
Sheard, Tim (författare)
OGI School of Science & Engineering, Oregon Health & Science University, Portland, Oregon, USA
 (creator_code:org_t)
2002-09-17
2002
Engelska.
Ingår i: ICFP '02. - New York, NY : ACM Press. - 1581134878 ; , s. 218-229
  • Konferensbidrag (refereegranskat)
Abstract Ämnesord
Stäng  
  • Multi-stage programming languages provide a convenient notation for explicitly staging programs. Staging a definitional interpreter for a domain specific language is one way of deriving an implementation that is both readable and efficient. In an untyped setting, staging an interpreter "removes a complete layer of interpretive overhead", just like partial evaluation. In a typed setting however, Hindley-Milner type systems do not allow us to exploit typing information in the language being interpreted. In practice, this can mean a slowdown cost by a factor of three or more. Previously, both type specialization and tag elimination were applied to this problem. In this paper we propose an alternative approach, namely, expressing the definitional interpreter in a dependently typed programming language. We report on our experience with the issues that arise in writing such an interpreter and in designing such a language. To demonstrate the soundness of combining staging and dependent types in a general sense, we formalize our language (called Meta-D) and prove its type safety. To formalize Meta-D, we extend Shao, Saha, Trifonov and Papaspyrou's λH language to a multilevel setting. Building on λH allows us to demonstrate type safety in a setting where the type language contains all the calculus of inductive constructions, but without having to repeat the work needed for establishing the soundness of that system.

Ämnesord

TEKNIK OCH TEKNOLOGIER  -- Elektroteknik och elektronik -- Datorsystem (hsv//swe)
ENGINEERING AND TECHNOLOGY  -- Electrical Engineering, Electronic Engineering, Information Engineering -- Computer Systems (hsv//eng)

Nyckelord

Multi-stage programming
definitional interpreters
calculus of constructions
domain-specific languages

Publikations- och innehållstyp

ref (ämneskategori)
kon (ämneskategori)

Hitta via bibliotek

  • ICFP '02 (Sök värdpublikationen i LIBRIS)

Till lärosätets databas

Hitta mer i SwePub

Av författaren/redakt...
Pašalić, Emir
Taha, Walid, 197 ...
Sheard, Tim
Om ämnet
TEKNIK OCH TEKNOLOGIER
TEKNIK OCH TEKNO ...
och Elektroteknik oc ...
och Datorsystem
Artiklar i publikationen
ICFP '02
Av lärosätet
Högskolan i Halmstad

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