summaryrefslogtreecommitdiff
path: root/src/options/sep_options.toml
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-03-21 15:48:57 -0700
committerGitHub <noreply@github.com>2018-03-21 15:48:57 -0700
commitbdba2bf65eb2f68daa1a5e488c4e50f5dac1b312 (patch)
tree3f97efe21f089d3abb5d9a2b53c0c7ee63ba06bb /src/options/sep_options.toml
parent966960b424aa5901a03abbfaa1bcdac6e3ed90dc (diff)
Refactor mkoptions (#1631)
This commit refactors code generation for options. It uses a new configuration format for defining options (*.toml) and a new Python script mkoptions.py to generate the source code and option documentation. The option behavior did not change for most of the options, except that for bool --enable-/--disable- long options enable/disable was removed. E.g. --enable-miplib-trick and --disable-miplib-trick got changed to --miplib-trick and --no-miplib-trick. This commit fixes also an issues with set-option/get-option via the SMT2 interface. Before long options were only accessible if the name included the =ARG part.
Diffstat (limited to 'src/options/sep_options.toml')
-rw-r--r--src/options/sep_options.toml57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/options/sep_options.toml b/src/options/sep_options.toml
new file mode 100644
index 000000000..e19790d7b
--- /dev/null
+++ b/src/options/sep_options.toml
@@ -0,0 +1,57 @@
+id = "SEP"
+name = "Sep"
+header = "options/sep_options.h"
+
+[[option]]
+ name = "sepCheckNeg"
+ category = "regular"
+ long = "sep-check-neg"
+ type = "bool"
+ default = "true"
+ read_only = true
+ help = "check negated spatial assertions"
+
+[[option]]
+ name = "sepExp"
+ category = "regular"
+ long = "sep-exp"
+ type = "bool"
+ default = "false"
+ read_only = true
+ help = "experimental flag for sep"
+
+[[option]]
+ name = "sepMinimalRefine"
+ category = "regular"
+ long = "sep-min-refine"
+ type = "bool"
+ default = "false"
+ read_only = true
+ help = "only add refinement lemmas for minimal (innermost) assertions"
+
+[[option]]
+ name = "sepDisequalC"
+ category = "regular"
+ long = "sep-deq-c"
+ type = "bool"
+ default = "true"
+ read_only = true
+ help = "assume cardinality elements are distinct"
+
+[[option]]
+ name = "sepPreSkolemEmp"
+ category = "regular"
+ long = "sep-pre-skolem-emp"
+ type = "bool"
+ default = "false"
+ read_only = true
+ help = "eliminate emp constraint at preprocess time"
+
+[[option]]
+ name = "sepChildRefine"
+ category = "regular"
+ long = "sep-child-refine"
+ type = "bool"
+ default = "false"
+ read_only = true
+ help = "child-specific refinements of negated star, positive wand"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback