summaryrefslogtreecommitdiff
path: root/compiler/Main.ml
diff options
context:
space:
mode:
authorSon HO2024-03-08 12:09:09 +0100
committerGitHub2024-03-08 12:09:09 +0100
commitb604bb9935007a1f0e9c7f556f8196f0e14c85ce (patch)
tree700439fbe96ea5980216e06b388e863ed8ac314b /compiler/Main.ml
parent305f916c602457b0a1fa8ce5569c6c0bf26d6f8e (diff)
parenta7452421be018e5d75065e2038f2f50042a80f3c (diff)
Merge pull request #82 from AeneasVerif/son/switch
Improve tuple projections and matches over integers in Lean
Diffstat (limited to '')
-rw-r--r--compiler/Main.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/Main.ml b/compiler/Main.ml
index 0b8ec439..4a2d01dc 100644
--- a/compiler/Main.ml
+++ b/compiler/Main.ml
@@ -123,6 +123,10 @@ let () =
( "-split-fwd-back",
Arg.Clear return_back_funs,
" Split the forward and backward functions." );
+ ( "-tuple-nested-proj",
+ Arg.Set use_nested_tuple_projectors,
+ " Use nested projectors for tuples (e.g., (0, 1).snd.fst instead of \
+ (0, 1).1)." );
]
in