arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.02366cs.PLcs.CL
收藏

Starfish:通用预处理和文本嵌入式编程的原型

Starfish: A Prototype for Universal Preprocessing and Text-Embedded Programming

Dalhousie University(达尔豪斯大学)

Vlado Keselj

摘要:

本文提出了一种通用文本预处理和文本嵌入式编程(PTEP)的概念。预处理和文本嵌入式编程以碎片化和相互隔离的方式广泛应用于程序设计语言和框架中。PTEP的思想可以在\TeX \排版系统的实现中找到;它们在PHP和类似的Web语言中很突出,最后它们被用在MySQL数据科学框架中。本文介绍了这一领域的研究和相关工作在一个更统一的框架,我们描述了实现系统海星,满足以下新的原则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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑