论文标题
海星:通用预处理和文本插入编程的原型
Starfish: A Prototype for Universal Preprocessing and Text-Embedded Programming
论文作者
论文摘要
我们提出了一个新颖的概念,即通用文本预处理和文本安装的编程(PTEP)。预处理和文本安装的编程已以零散且相互隔离的方式被广泛用于编程语言和框架中。可以在\ tex \排版系统的实现中找到PTEP的想法;它们在PHP和类似的网络语言中很突出,最后它们用于Jupyter Data Science框架。本文在更统一的框架中介绍了这一研究和相关工作,我们描述了实施的系统海星,该海星满足了以下新颖的PTEP原理:普遍性,更新和替换模式,灵活性,可配置性和透明度。我们描述了海星的操作模型和设计,这是一个开源系统,该系统在Perl中实现通用预处理和文本式编程。该系统是透明的,其设计也允许其他编程语言直接实现。
We present a novel concept of universal text preprocessing and text-embedded programming (PTEP). Preprocessing and text-embedded programming has been widely used in programming languages and frameworks in a fragmented and mutually isolated way. The PTEP ideas can be found in the implementation of the \TeX\ typesetting system; they are prominent in PHP and similar web languages, and finally they are used in the Jupyter data science framework. This paper presents this area of research and related work in a more unified framework, and we describe the implemented system Starfish that satisfies the following novel principles of PTEP: universality, update and replace modes, flexiblity, configurability, and transparency. We describe the operating model and design of Starfish, which is an open-source system implementing universal preprocessing and text-embedded programming in Perl. The system is transparent and its design allows direct implementation in other programming languages as well.