Neil Sculthorpe
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Research Interests
Neil Sculthorpe has a total of 13 co-authors. Here are the top co-authors by number of shared publications:
- Peter D. Mosses
Delft University of Technology, Delft, Netherlands
4 shared publications Andy Gill
The University of Kansas
2 shared publications- L. Thomas van Binsbergen
Informatics Institute University of Amsterdam Science Park 900 1098 XH Amsterdam The Netherlands
2 shared publications Andrew Farmer
The University of Kansas
1 shared publication- Andy Gill
Information and Telecommunication Technology Center, The University of Kansas, USA
1 shared publication George Giorgidze
Universitat Tuebingen, Tuebingen, Germany
1 shared publication
Latest Publications
- 1 February 2019
- Published by Elsevier in Journal of Logical and Algebraic Methods in Programming
- Vol. 103, 184-212
Executable component-based semantics
- 1 February 2019
- Published by Elsevier in Journal of Logical and Algebraic Methods in Programming
- Vol. 103, 184-212
Executable component-based semantics
- Open Access
- 19 June 2016
- Published by Open Publishing Association in Electronic Proceedings in Theoretical Computer Science
- Vol. 212 (212) , 63-80
A Modular Structural Operational Semantics for Delimited Continuations
It has been an open question as to whether the Modular Structural Operational Semantics framework can express the dynamic semantics of call/cc. This paper shows that it can, and furthermore, demonstrates that it can express the more general delimited control operators control and shift.Comment: In Proceedings WoC 2015, arXiv:1606.0583
- 19 June 2016
- Published by Open Publishing Association in Electronic Proceedings in Theoretical Computer Science
- Vol. 212 (212) , 63-80
Open AccessA Modular Structural Operational Semantics for Delimited Continuations
It has been an open question as to whether the Modular Structural Operational Semantics framework can express the dynamic semantics of call/cc. This paper shows that it can, and furthermore, demonstrates that it can express the more general delimited control operators control and shift.Comment: In Proceedings WoC 2015, arXiv:1606.0583
- Open Access
- 14 March 2016
- Published by Association for Computing Machinery (ACM)
- p. 8-11
Tool support for component-based semantics
- 14 March 2016
- Published by Association for Computing Machinery (ACM)
- p. 8-11
Open AccessTool support for component-based semantics
- 1 May 2014
- Published by Cambridge University Press (CUP) in Journal of Functional Programming
- Vol. 24 (4) , 434-473
The Kansas University rewrite engine
When writing transformation systems, a significant amount of engineering effort goes into setting up the infrastructure needed to direct individual transformations to specific targets in the data being transformed. Strategic programming languages provide general-purpose infrastructure for this task, which the author of a transformation system can use for any algebraic data structure. The Kansas University Rewrite Engine (KURE) is a typed strategic programming language, implemented as a Haskell-embedded domain-specific language. KURE is designed to support typed transformations over typed data, and the main challenge is how to make such transformations compatible with generic traversal strategies that should operate over any type. Strategic programming in a typed setting has much in common with datatype-generic programming . Compared to other approaches to datatype-generic programming, the distinguishing feature of KURE's solution is that the user can configure the behaviour of traversals based on the location of each datum in the tree, beyond their behaviour being determined by the type of each datum. This article describes KURE's approach to assigning types to generic traversals, and the implementation of that approach. We also compare KURE, its design choices, and their consequences, with other approaches to strategic and datatype-generic programming.
- 1 May 2014
- Published by Cambridge University Press (CUP) in Journal of Functional Programming
- Vol. 24 (4) , 434-473
The Kansas University rewrite engine
When writing transformation systems, a significant amount of engineering effort goes into setting up the infrastructure needed to direct individual transformations to specific targets in the data being transformed. Strategic programming languages provide general-purpose infrastructure for this task, which the author of a transformation system can use for any algebraic data structure. The Kansas University Rewrite Engine (KURE) is a typed strategic programming language, implemented as a Haskell-embedded domain-specific language. KURE is designed to support typed transformations over typed data, and the main challenge is how to make such transformations compatible with generic traversal strategies that should operate over any type. Strategic programming in a typed setting has much in common with datatype-generic programming . Compared to other approaches to datatype-generic programming, the distinguishing feature of KURE's solution is that the user can configure the behaviour of traversals based on the location of each datum in the tree, beyond their behaviour being determined by the type of each datum. This article describes KURE's approach to assigning types to generic traversals, and the implementation of that approach. We also compare KURE, its design choices, and their consequences, with other approaches to strategic and datatype-generic programming.
- 1 January 2014
- Published by Cambridge University Press (CUP) in Journal of Functional Programming
- Vol. 24 (1) , 113-127
Work it, wrap it, fix it, fold it
The worker/wrapper transformation is a general-purpose technique for refactoring recursive programs to improve their performance. The two previous approaches to formalising the technique were based upon different recursion operators and different correctness conditions. In this paper we show how these two approaches can be generalised in a uniform manner by combining their correctness conditions, extend the theory with new conditions that are both necessary and sufficient to ensure the correctness of the worker/wrapper technique, and explore the benefits that result. All the proofs have been mechanically verified using the Agda system.
- 1 January 2014
- Published by Cambridge University Press (CUP) in Journal of Functional Programming
- Vol. 24 (1) , 113-127
Work it, wrap it, fix it, fold it
The worker/wrapper transformation is a general-purpose technique for refactoring recursive programs to improve their performance. The two previous approaches to formalising the technique were based upon different recursion operators and different correctness conditions. In this paper we show how these two approaches can be generalised in a uniform manner by combining their correctness conditions, extend the theory with new conditions that are both necessary and sufficient to ensure the correctness of the worker/wrapper technique, and explore the benefits that result. All the proofs have been mechanically verified using the Agda system.
- Open Access
- 25 September 2013
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 48 (9) , 287-298
The constrained-monad problem
In Haskell, there are many data types that would form monads were it not for the presence of type-class constraints on the operations on that data type. This is a frustrating problem in practice, because there is a considerable amount of support and infrastructure for monads that these data types cannot use. Using several examples, we show that a monadic computation can be restructured into a normal form such that the standard monad class can be used. The technique is not specific to monads, and we show how it can also be applied to other structures, such as applicative functors. One significant use case for this technique is domain-specific languages, where it is often desirable to compile a deep embedding of a computation to some other language, which requires restricting the types that can appear in that computation.
- 25 September 2013
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 48 (9) , 287-298
Open AccessThe constrained-monad problem
In Haskell, there are many data types that would form monads were it not for the presence of type-class constraints on the operations on that data type. This is a frustrating problem in practice, because there is a considerable amount of support and infrastructure for monads that these data types cannot use. Using several examples, we show that a monadic computation can be restructured into a normal form such that the standard monad class can be used. The technique is not specific to monads, and we show how it can also be applied to other structures, such as applicative functors. One significant use case for this technique is domain-specific languages, where it is often desirable to compile a deep embedding of a computation to some other language, which requires restricting the types that can appear in that computation.
- Open Access
- 31 August 2009
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 44 (9) , 23-34
Safe functional reactive programming through dependent types
Functional Reactive Programming (FRP) is an approach to reactive programming where systems are structured as networks of functions operating on signals. FRP is based on the synchronous data-flow paradigm and supports both continuous-time and discrete-time signals (hybrid systems). What sets FRP apart from most other languages for similar applications is its support for systems with dynamic structure and for higher-order reactive constructs. Statically guaranteeing correctness properties of programs is an attractive proposition. This is true in particular for typical application domains for reactive programming such as embedded systems. To that end, many existing reactive languages have type systems or other static checks that guarantee domain-specific properties, such as feedback loops always being well-formed. However, they are limited in their capabilities to support dynamism and higher-order data-flow compared with FRP. Thus, the onus of ensuring such properties of FRP programs has so far been on the programmer as established static techniques do not suffice. In this paper, we show how dependent types allow this concern to be addressed. We present an implementation of FRP embedded in the dependently-typed language Agda, leveraging the type system of the host language to craft a domain-specific (dependent) type system for FRP. The implementation constitutes a discrete, operational semantics of FRP, and as it passes the Agda type, coverage, and termination checks, we know the operational semantics is total, which means our type system is safe.
- 31 August 2009
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 44 (9) , 23-34
Open AccessSafe functional reactive programming through dependent types
Functional Reactive Programming (FRP) is an approach to reactive programming where systems are structured as networks of functions operating on signals. FRP is based on the synchronous data-flow paradigm and supports both continuous-time and discrete-time signals (hybrid systems). What sets FRP apart from most other languages for similar applications is its support for systems with dynamic structure and for higher-order reactive constructs. Statically guaranteeing correctness properties of programs is an attractive proposition. This is true in particular for typical application domains for reactive programming such as embedded systems. To that end, many existing reactive languages have type systems or other static checks that guarantee domain-specific properties, such as feedback loops always being well-formed. However, they are limited in their capabilities to support dynamism and higher-order data-flow compared with FRP. Thus, the onus of ensuring such properties of FRP programs has so far been on the programmer as established static techniques do not suffice. In this paper, we show how dependent types allow this concern to be addressed. We present an implementation of FRP embedded in the dependently-typed language Agda, leveraging the type system of the host language to craft a domain-specific (dependent) type system for FRP. The implementation constitutes a discrete, operational semantics of FRP, and as it passes the Agda type, coverage, and termination checks, we know the operational semantics is total, which means our type system is safe.