Fine-grained Language Composition
Fine-grained Language Composition
复制标题
细粒度的语言构成
DOI:
--
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
L. Tratt
中科院分区:
文献类型:
--
作者:
Edd Barrett;Carl Friedrich Bolz;Lukas Diekmann;L. Tratt
Although run-time language composition is common, it normally takes the form of a crude Foreign Function Interface (FFI). While useful, such compositions tend to be coarse-grained and slow. In this paper we introduce a novel fine-grained syntactic composition of PHP and Python which allows users to embed each language inside the other, including referencing variables across languages. This composition raises novel design and implementation challenges. We show that good solutions can be found to the design challenges; and that the resulting implementation imposes an acceptable performance overhead of, at most, just over 2x.
DOI:
--
发表时间:
2016
期刊:
--
影响因子:
--
作者:
Barrett E
通讯作者:
Barrett E