{"title":"A Proposal for Universal Preprocessing and Text-Embedded Programming (PTEP) System","authors":"Vlado Keselj","doi":"10.1109/INFOTEH53737.2022.9751309","DOIUrl":null,"url":null,"abstract":"We present a novel concept of universal text pre-processing 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. We define the following novel principles of the Universal PTEP: generality, update and replace modes, flexibility, configurability, transparency, and embedded programming language use. We present an open-source system Starfish for PTEP, which satisfies those principles. We describe the operating model and design of Starfish, which is an open-source system implementing these PTEP principles in Perl. The system is transparent and its design allows direct implementation in other programming languages as well.","PeriodicalId":6839,"journal":{"name":"2022 21st International Symposium INFOTEH-JAHORINA (INFOTEH)","volume":"17 1","pages":"1-9"},"PeriodicalIF":0.0000,"publicationDate":"2022-03-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 21st International Symposium INFOTEH-JAHORINA (INFOTEH)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/INFOTEH53737.2022.9751309","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We present a novel concept of universal text pre-processing 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. We define the following novel principles of the Universal PTEP: generality, update and replace modes, flexibility, configurability, transparency, and embedded programming language use. We present an open-source system Starfish for PTEP, which satisfies those principles. We describe the operating model and design of Starfish, which is an open-source system implementing these PTEP principles in Perl. The system is transparent and its design allows direct implementation in other programming languages as well.