Journal article

Sharing analysis in the Pawns compiler

L Naish, E Duesterwald

PeerJ Computer Science | PeerJ, Ltd. | Published : 2015


Pawns is a programming language under development that supports algebraic data types, polymorphism, higher order functions and “pure” declarative programming. It also supports impure imperative features including destructive update of shared data structures via pointers, allowing significantly increased efficiency for some operations. A novelty of Pawns is that all impure “effects” must be made obvious in the source code and they can be safely encapsulated in pure functions in a way that is checked by the compiler. Execution of a pure function can perform destructive updates on data structures that are local to or eventually returned from the function without risking modification of the data..

View full abstract

University of Melbourne Researchers