Whiley (programming language)

Whiley is an experimental programming language that combines features from the functional and imperative paradigms, and supports formal specification through function preconditions, postconditions and loop invariants. The language uses flow-sensitive typing also known as "flow typing."

Whiley
ParadigmImperative, Functional
Designed byDavid J. Pearce
First appearedJune 2010
Stable release
0.6.1 / June 27, 2022 (2022-06-27)
Typing disciplineStrong, safe, structural, flow-sensitive
LicenseBSD
Websitewhiley.org
Influenced by
Java, C, Python, Rust

The Whiley project began in 2009 in response to the "Verifying Compiler Grand Challenge" put forward by Tony Hoare in 2003. The first public release of Whiley was in June, 2010.

Primarily developed by David Pearce, Whiley is an open source project with contributions from a small community. The system has been used for student research projects and in teaching undergraduate classes. It was supported between 2012 and 2014 by the Royal Society of New Zealand's Marsden Fund.

The Whiley compiler generates code for the Java virtual machine and can interoperate with Java and other JVM-based languages.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.