diff options
author | Son HO | 2024-03-20 06:48:08 +0100 |
---|---|---|
committer | GitHub | 2024-03-20 06:48:08 +0100 |
commit | 0d52c3fe35d0b24de729bdfb917ad6c7104d0c6e (patch) | |
tree | 7748d3c19a0993edc710690491a2dc6ea3a2b58f /compiler/Pure.ml | |
parent | 8111c970fcae9d609961eba2ad6716e8c9fc1046 (diff) | |
parent | 34850eed3c66f7f2c432294e4c589be53ad5d37b (diff) |
Merge pull request #93 from AeneasVerif/son/examples
Add some examples and improve the shape of the generated code
Diffstat (limited to '')
-rw-r--r-- | compiler/Pure.ml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/compiler/Pure.ml b/compiler/Pure.ml index cf6710aa..7de7e0f4 100644 --- a/compiler/Pure.ml +++ b/compiler/Pure.ml @@ -807,12 +807,18 @@ and emeta = The mvalue stores the value which is put in the destination The second (optional) mplace stores the origin. *) - | SymbolicAssignment of (var_id[@opaque]) * mvalue + | SymbolicAssignments of ((var_id[@opaque]) * mvalue) list (** Informationg linking a variable (from the pure AST) to an expression. We use this to guide the heuristics which derive pretty names. *) + | SymbolicPlaces of ((var_id[@opaque]) * string) list + (** Informationg linking a variable (from the pure AST) to a name. + + We generate this information by exploring the context, and use it + to derive pretty names. + *) | MPlace of mplace (** Meta-information about the origin of a value *) | Tag of string (** A tag - typically used for debugging *) [@@deriving |