summaryrefslogtreecommitdiff
path: root/doc/internals.md
diff options
context:
space:
mode:
authorjp2020-02-12 17:46:48 +0000
committerjp2020-02-12 17:46:48 +0000
commited8bccd927306551f93d5aab8d0e2a92b9e5d227 (patch)
tree55bf788c8155f0c7d024f2147f5eb3873729b02a /doc/internals.md
parent31a65c9b7383d2a87da0fbcf5c265d533146ac23 (diff)
parent4a72cb8084237161d0bccc66f27d5fb6d24315e0 (diff)
Merge branch 'sail2' of https://github.com/rems-project/sail into sail2
Diffstat (limited to 'doc/internals.md')
-rw-r--r--doc/internals.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/internals.md b/doc/internals.md
index 6ba60fa6..6422f227 100644
--- a/doc/internals.md
+++ b/doc/internals.md
@@ -10,7 +10,7 @@ by [Lem](https://github.com/rems-project/lem), which allows the Sail
OCaml source to seamlessly interoperate with parts written in
Lem. Although we do not make much use of this, in principle it allows
us to implement parts of Sail in Lem, which would enable them to be
-verified in Isabelle or HOL.
+verified in Isabelle or HOL4.
The Sail AST looks something like:
@@ -35,13 +35,13 @@ which attaches an annotation to each node in the AST, consisting of an
arbitrary type that parameterises the AST, and a location identifying
the position of the AST node in the source code:
-```
+```OCaml
type 'a annot = l * 'a
```
There are various types of locations:
-```
+```OCaml
type l =
| Unknown
| Unique of int * l
@@ -184,7 +184,7 @@ which invokes the backend for each target, e.g. for OCaml:
```
There is also a `Sail.prover_regstate` function that allows the
-register state to be Set up in a prover-agnostic way for each of the
+register state to be set up in a prover-agnostic way for each of the
theorem-prover targets.
## Type Checker