diff options
author | Son Ho | 2022-11-09 18:04:03 +0100 |
---|---|---|
committer | Son HO | 2022-11-10 11:35:30 +0100 |
commit | 8b6f8e5fb85bcd1b3257550270c4c857d4ee7f55 (patch) | |
tree | b0090425eb850af3b5c8dc1d4f6aa1eafe2c8e1a /compiler/SymbolicAst.ml | |
parent | b970183881379ff676b232e47e353e924de8cfdd (diff) |
Implement the generation of stateful backward functions (controlled by an option)
Diffstat (limited to '')
-rw-r--r-- | compiler/SymbolicAst.ml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/SymbolicAst.ml b/compiler/SymbolicAst.ml index 528d8255..9d9adf4f 100644 --- a/compiler/SymbolicAst.ml +++ b/compiler/SymbolicAst.ml @@ -77,6 +77,14 @@ type expression = We use it to compute meaningful names for the variables we introduce, to prettify the generated code. *) + | ForwardEnd of expression + (** We use this delimiter to indicate at which point we switch to the + generation of code specific to the backward function(s). + + TODO: use this to factorize the generation of the forward and backward + functions (today we replay the *whole* symbolic execution once per + generated function). + *) | Meta of meta * expression (** Meta information *) and expansion = |