...
首页> 外文期刊>RSTI >Interprétation par syntaxe abstraite d'ordre supérieur et traduction en combinateurs
【24h】

Interprétation par syntaxe abstraite d'ordre supérieur et traduction en combinateurs

机译:通过高阶抽象语法进行解释并转换为组合器

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

We present a program interpretation technique relying on an higher order abstract syntax which allows the reuse of the mechanisms of the host language (used to implement the interpreter) dedicated to application reductions instead of reimplementing them. This approach constitutes a simple and reasonably efficient alternate solution for fast interpreter development. This interpretation schema requires that the functions defined through the interpreted language be translated on the fly into functions of the host language. We use combinatory logic to make that translation in order not to limit our approach to the use of languages allowing meta programming.%Nous présentons une technique d'interprétation de programmes reposant sur le principe de syntaxe abstraite d'ordre supérieur qui permet de réutiliser les mécanismes du langage hôte (utilisé pour développer l'interprète) dédiés à la réduction des applications au lieu de les redévelopper. Cette approche constitue une alternative simple et raisonnablement efficace pour le développement rapide d'interprètes. Ce schéma d'interprétation nécessite que les fonctions définies dans le langage à interpréter soient traduites au vol en fonction du langage hôte. Nous utilisons la logique combinatoire pour réaliser cette traduction afin de ne pas limiter l'approche à l'utilisation de langages permettant la métaprogrammation.
机译:我们提出了一种依赖于更高阶抽象语法的程序解释技术,该技术允许重用专用于应用程序简化的宿主语言(用于实现解释器)的机制,而不是重新实现它们。这种方法构成了快速解释器开发的简单而合理有效的替代解决方案。这种解释模式要求将通过解释语言定义的功能即时转换为宿主语言的功能。我们使用组合逻辑进行翻译,以不限制我们使用允许元编程的语言的方式。%我们提出了一种基于高阶抽象语法原理的程序解释技术,该技术可以重用专用于减少应用程序而不是重新开发它们的宿主语言机制(用于开发解释器)。这种方法是快速发展口译员的简单而合理有效的选择。该解释方案要求根据宿主语言即时翻译要解释的语言中定义的功能。我们使用组合逻辑来进行这种翻译,以免限制使用允许元编程的语言的方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号