Skip to content

Commit

Permalink
Prepare for 0.18 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Alasdair committed Jul 22, 2024
1 parent 4aff89f commit 13d9458
Show file tree
Hide file tree
Showing 15 changed files with 46 additions and 16 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,37 @@
Changelog
=========

Sail 0.18
---------

This release mostly incorporates many small improvements and fixes
to Sail 0.17.1.

##### Module System

This release introduces a simple module system. See the section of
the manual for details.

##### Type level if-then-else

If expressions are now permitted in types, so one can write types such
as
```
bits(if XLEN == 32 then 15 else 57)
```
this doesn't add any additional expressiveness, as one could
previously introduce additional type variables and constrain them in
such a way to guarantee the same thing, but being able to use
if-then-else directly is usually more clear.

##### Documentation backend

The Sail documentation backend can now produce hyperlinked and syntax
highlighted source code output with the `--html` option. The
Asciidoctor plugin can now hyperlink between definitions included in
the documentation, and otherwise link into a hyperlinked version of
the source.

Sail 0.17.1
-----------

Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
(using dune_site 0.1)

(name sail)
(version 0.17)
(version 0.18)

(generate_opam_files true)

Expand Down
2 changes: 1 addition & 1 deletion libsail.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis:
"Sail is a language for describing the instruction semantics of processors"
description: """
Expand Down
2 changes: 1 addition & 1 deletion sail.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis:
"Sail is a language for describing the instruction semantics of processors"
description: """
Expand Down
2 changes: 1 addition & 1 deletion sail_c_backend.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Sail to C translation"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
2 changes: 1 addition & 1 deletion sail_coq_backend.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Sail to Coq translation"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
2 changes: 1 addition & 1 deletion sail_doc_backend.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Sail documentation generator"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
2 changes: 1 addition & 1 deletion sail_latex_backend.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Sail to LaTeX formatting"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
2 changes: 1 addition & 1 deletion sail_lem_backend.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Sail to Lem translation"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
2 changes: 1 addition & 1 deletion sail_manifest.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Helper tool for compiling Sail"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
2 changes: 1 addition & 1 deletion sail_ocaml_backend.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Sail to OCaml translation"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
2 changes: 1 addition & 1 deletion sail_output.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Example Sail output plugin"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
2 changes: 1 addition & 1 deletion sail_smt_backend.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Sail to C translation"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
2 changes: 1 addition & 1 deletion sail_sv_backend.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Sail to Systemverilog translation"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
5 changes: 2 additions & 3 deletions src/bin/sail.ml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ open Interactive.State

type version = { major : int; minor : int; patch : int }

(* Current version of Sail. Must be updated manually. CI checks this matches
the tag given by `git describe`. *)
let version = { major = 0; minor = 17; patch = 1 }
(* Current version of Sail. Must be updated manually. *)
let version = { major = 0; minor = 18; patch = 0 }

let opt_new_cli = ref false
let opt_free_arguments : string list ref = ref []
Expand Down

0 comments on commit 13d9458

Please sign in to comment.