From Python to PLT Scheme

From Python to PLT Scheme
复制标题

从Python到PLT方案

DOI:
--
复制
发表时间:
2004
期刊:
影响因子:
--
通讯作者:
Daniel Silva
Daniel Silva
中科院分区:
--
文献类型:
--
作者:
P. Meunier;Daniel Silva

文献摘要

被引文献

相似文献

本文描述了一个将Python嵌入DrScheme的实验。该系统的核心是一个编译器,它将Python程序转换为等效的MzScheme程序,以及一个运行时系统,用于对Python环境进行建模。生成的MzScheme代码可以被DrScheme工具评估或使用,让Python程序员在用他们喜欢的语言编写时访问DrScheme开发套件,并让DrScheme程序员访问Python。虽然编译器仍然有局限性和较差的性能,但它的开发为在DrScheme中嵌入像Python这样的现实语言时所面临的问题提供了有价值的见解。
This paper describes an experimental embedding of Python into DrScheme. The core of the system is a compiler, which translates Python programs into equivalent MzScheme programs, and a runtime system to model the Python environment. The generated MzScheme code may be evaluated or used by DrScheme tools, giving Python programmers access to the DrScheme development suite while writing in their favorite language, and giving DrScheme programmers access to Python. While the compiler still has limitations and poor performance, its development gives valuable insights into the kind of problems one faces when embedding a real-world language like Python in DrScheme.