CLMay 24, 2025
A generalised editor calculus (Short Paper)Benjamin Bennetzen, Peter Buus Steffensen, Hans Hüttel et al.
In this paper, we present a generalization of a syntax-directed editor calculus, which can be used to instantiate a specialized syntax-directed editor for any language, given by some abstract syntax. The editor calculus guarantees the absence of syntactical errors while allowing incomplete programs. The generalized editor calculus is then encoded into a simply typed lambda calculus, extended with pairs, booleans, pattern matching and fixed points