PIE:一种用于交互式软件开发流水线的领域特定语言
PIE: A Domain-Specific Language for Interactive Software Development Pipelines
摘要:
上下文软件开发管道用于自动化软件工程过程的基本部分,例如构建自动化和持续集成测试。特别是在IDE等实时环境中处理事件的交互式管道,需要及时获得低延迟反馈的结果,并在重新启动之间保持低延迟反馈。查询开发管道的增量化和持久化版本是减少反馈延迟的一种方法,但需要依赖跟踪、缓存失效和其他复杂的技术。因此,如果及时性和持久性成为管道程序员的职责,而不是由底层系统支持,则交互性会使管道开发复杂化。approach.我们开发了交互式环境管道(PIE),一种特定领域语言(DSL),API和运行时,用于开发交互式软件开发管道,其中易于开发是重点。知识PIE提供了一个简单的编程模型,可以直接和简洁地表达管道,而无需样板,减少了管道的开发和维护工作。编译后的管道程序可以嵌入到代码编辑器和IDE等交互式环境中,从而以低成本实现及时反馈。接地。与现有技术相比,PIE在语法感知编辑器的案例研究中将表达交互式管道所需的代码减少了6倍。此外,我们评估PIE在复杂的交互式软件开发场景的两个案例研究,证明PIE可以处理复杂的交互式管道在一个简单和简洁的方式。
英文摘要:
Context. Software development pipelines are used for automating essential parts of software engineering processes, such as build automation and continuous integration testing. In particular, interactive pipelines, which process events in a live environment such as an IDE, require timely results for low-latency feedback, and persistence to retain low-latency feedback between restarts. Inquiry. Developing an incrementalized and persistent version of a pipeline is one way to reduce feedback latency, but requires dependency tracking, cache invalidation, and other complicated techniques. Therefore, interactivity complicates pipeline development if timeliness and persistence become responsibilities of the pipeline programmer, rather than being supported by the underlying system. Approach. We develop Pipelines for Interactive Environments (PIE), a Domain-Specific Language (DSL), API, and runtime for developing interactive software development pipelines, where ease of development is a focus. Knowledge. PIE provides a straightforward programming model that enables direct and concise expression of pipelines without boilerplate, reducing the development and maintenance effort of pipelines. Compiled pipeline programs can be embedded into interactive environments such as code editors and IDEs, enabling timely feedback at a low cost. Grounding. Compared to the state of the art, PIE reduces the code required to express an interactive pipeline by a factor of 6 in a case study on syntax-aware editors. Furthermore, we evaluate PIE in two case studies of complex interactive software development scenarios, demonstrating that PIE can handle complex interactive pipelines in a straightforward and concise way.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。