-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address issue #300 by improving Constr.pp_constr, making Constr.t pri…
…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
- Loading branch information
Showing
9 changed files
with
126 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters