Skip to content

Releases: ocaml-gospel/gospel

0.3.0

11 Apr 13:02
3031a4d
Compare
Choose a tag to compare

This release brings two main improvements:

  • Make the type-checker save type information in a file
  • Make the with necessary when declaring type invariants

0.2.0

06 Oct 12:46
eef2a72
Compare
Choose a tag to compare

This release adds two main features, a gospel dumpast command and a gospel.ppx ppx rewriter to display gospel contents as documentation with odoc.

Some minor extensions have been added to the language itself:

  • a with construct to name a variable in type invariants referring to a value of the specified type,
  • int literals,
  • anonymous functions now support both patterns in arguments and return type annotations,
  • unit result in function header,
  • constants can now be referenced in specifications,
  • infix operators are now accepted in specification headers.

Parser, preprocessor and error messages have been improved. In particular the preprocessor can now handle large files and locations are properly tracked.
Pattern matches are now checked for exhaustiveness and redundancy.
A number of improvements and bugfixes in the type checker.
Some minor modifications in the Gospel standard library.
Documentation has been revised.

0.1.0

03 Nov 13:38
b9b56ef
Compare
Choose a tag to compare

CHANGES:

  • Initial release