登入
選單
返回
Google圖書搜尋
Dynamic Language Embedding
Lukas Renggli
出版
Lulu.com
, 2010-09-24
主題
Computers / General
ISBN
1387214586
9781387214587
URL
http://books.google.com.hk/books?id=Grk0DwAAQBAJ&hl=&source=gbs_api
EBook
SAMPLE
註釋
In this dissertation we present Helvetia, a novel approach to embed languages into an existing host language by leveraging the underlying representation of the host language used by these tools. We introduce Language Boxes, an approach that offers a simple, modular mechanism to encapsulate (i) compositional changes to the host language, (ii) transformations to address various concerns such as compilation and syntax highlighting, and (iii) scoping rules to control visibility of fine-grained language changes. We describe the design and implementation of Helvetia and Language Boxes, discuss the required infrastructure of a host language enabling language embedding, and validate our approach by case studies that demonstrate different ways to extend or adapt the host language syntax and semantics.