PIE: A Domain-Specific Language for Interactive Software Development Pipelines

03/27/2018
by   Gabriël Konat, et al.
0

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 implementation of dependency tracking, cache invalidation, and other complicated and error-prone techniques. Therefore, interactivity complicates pipeline development if timeliness and persistence become responsibilities of the pipeline programmer, rather than being supported by the underlying system. Systems for programming incremental and persistent pipelines exist, but do not focus on ease of development, requiring a high degree of boilerplate, increasing development and maintenance effort. 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. The PIE DSL is a statically typed and lexically scoped language. PIE programs are compiled to programs implementing the API, which the PIE runtime executes in an incremental and persistent way. 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. Importance. Interactive pipelines are complicated software artifacts that power many important systems such as continuous feedback cycles in IDEs and code editors, and live language development in language workbenches. New pipelines, and evolution of existing pipelines, is frequently necessary. Therefore, a system for easily developing and maintaining interactive pipelines, such as PIE, is important.

READ FULL TEXT
research
11/11/2022

An Integrity-Focused Threat Model for Software Development Pipelines

In recent years, there has been a growing concern with software integrit...
research
11/14/2022

Jenkins Pipelines: A Novel Approach to Machine Learning Operations (MLOps)

Machine Learning is a widely popular field that is being used in an incr...
research
11/08/2021

Development of a Meta-language and its Qualifiable Implementation for the Use in Safety-critical Software

The use of domain-specific modeling for development of complex (cyber-ph...
research
11/24/2019

Architecture Models Refinements for Software Development of Critical Real-time Embedded Systems

Cyber Physical Systems are systems controlled or monitored by computer-b...
research
05/30/2022

Effectiveness and Scalability of Fuzzing Techniques in CI/CD Pipelines

Fuzzing has proven to be a fundamental technique to automated software t...
research
09/14/2022

The Role of Executable Abstract Programs in Software Development and Documentation

We present Executable Abstract Programs and analyse their role for softw...
research
09/22/2020

A Model-Driven Architecture Approach for Developing Healthcare ERP: Case study in Morocco

Nowadays, there are many problems in the Enterprise Resource Planning (E...

Please sign up or login with your details

Forgot password? Click here to reset