You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was actually hoping that Constraint.to_string could be significantly improved as well, e.g. by printing the constructors in an easy to read format, e.g. ITE (a, b, c) as if a then b else c, Subst(a, b, c) as let b = c in a etc.
Based on comments from here: #244 (comment) I'd recommend never having Z3 variables contain #. Sadly BIL "nameless" variables by default are of the form e.g. #123, so probably hooking Expr.mk_const_s, or just Environment.mk_init_var would be a good idea.
…nting more readability (#307)
* Add improvements to Constraint.pp_constr: improving readability of ITE, Clause, adding basic colors, removing some empty-parens, removing some back-slashes and unescaping new lines.
* Use Expr.simplify to expr values when printing in Constr.pp_constr
* Remove white space printing from Constr.t printings with newly written function Constr.preen_expr
* Add colorful flag to control for special-word highlighting when printing contraints
* Add improvements to Constraint.pp_constr: improving readability of ITE, Clause, adding basic colors, removing some empty-parens, removing some back-slashes and unescaping new lines.
* Use Expr.simplify to expr values when printing in Constr.pp_constr
* Remove white space printing from Constr.t printings with newly written function Constr.preen_expr
* Add colorful flag to control for special-word highlighting when printing contraints
* Add del_empty_constr_hyps and to_color to improve Constr.pp_constr
* Allow for proper Expr.expr indentation
* Add descriptions to new printing helper functions in constraint.ml
* Make style changes to constraint-printing that were recommended in PR
* Rename pp_constr to pp and add unit input to better handle colorful variable
Currently when printing constraints, we print them in a hard to read syntax. For example:
is difficult to understand. Things that should be fixed include
\n
printings=
If anyone has other requests with respect to printing constraints, please share!
The text was updated successfully, but these errors were encountered: