Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new release] sail (0.16) #24318

Merged
merged 2 commits into from
Aug 30, 2023
Merged

[new release] sail (0.16) #24318

merged 2 commits into from
Aug 30, 2023

Conversation

Alasdair
Copy link
Contributor

CHANGES:

New documentation backend

A new documentation backend for integrating with Asciidoctor has been added.

Automatic formatting (EXPERIMENTAL)

The sail -fmt option can be used to automatically format Sail source. This currently misses some features and can produce ugly output in some known cases, so is not ready for serious usage yet.

Fixes

Various bugfixes including:

Various mapping issues such as:

As well as other minor issues

The val cast syntax and support for implict casts is now entirely removed, as mentioned in the previous release changes. The flags are still allowed (to avoid breaking Makefiles) but no longer do anything.

The pattern completeness checker has been improved and is now context sensitive in some cases.

…_manifest, sail_lem_backend, sail_latex_backend, sail_doc_backend, sail_coq_backend, sail_c_backend, sail and libsail (0.16)

CHANGES:

##### New documentation backend

A new documentation backend for integrating with Asciidoctor has been
added.

##### Automatic formatting (EXPERIMENTAL)

The `sail -fmt` option can be used to automatically format Sail
source. This currently misses some features and can produce ugly
output in some known cases, so is not ready for serious usage yet.

##### Fixes

Various bugfixes including:

* Issue 203: rems-project/sail#203
* Issue 202: rems-project/sail#202
* Issue 188: rems-project/sail#188
* Issue 187: rems-project/sail#187
* Issue 277: rems-project/sail#277

Various mapping issues such as:

* Issue 244: rems-project/sail#244

As well as other minor issues

The `val cast` syntax and support for implict casts is now entirely
removed, as mentioned in the previous release changes. The flags are
still allowed (to avoid breaking Makefiles) but no longer do anything.

The pattern completeness checker has been improved and is now context
sensitive in some cases.
@samoht
Copy link
Member

samoht commented Aug 29, 2023

Not totally sure what package you are using for range, but you are missing a lower-bound in your constraints:

# File "src/lib/format_sail.ml", line 152, characters 29-34:
# 152 |         ifflat (nest n doc) (range (fun (_, (l, c)) -> Queue.add (l, c, n) lb_info.dedents) (nest n doc))
#                                    ^^^^^
# Error: Unbound value range

@bacam
Copy link
Contributor

bacam commented Aug 29, 2023

Looks like the lower bound needed is on pprint (fpottier/pprint@f2f1817).

Alasdair added a commit to Alasdair/sail that referenced this pull request Aug 29, 2023
Should help find issues with the lower-bounds check in opam's CI

ocaml/opam-repository#24318
Alasdair added a commit to rems-project/sail that referenced this pull request Aug 29, 2023
Should help find issues with the lower-bounds check in opam's CI

ocaml/opam-repository#24318
@avsm
Copy link
Member

avsm commented Aug 30, 2023

FreeBSD build crash reported in ocaml/dune#8549, but not a blocker.
Thanks for the package submission, which is now merged! You may want to announce this on https://discuss.ocaml.org, where we have a Community category and an announce tag for this purpose.

@avsm avsm merged commit aa09a2f into ocaml:master Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants