catala/compiler/shared_ast
Louis Gesbert 83e7a845fe Cleanup expr printer interface
- `Print.expr` no longer needs the context
- This removes the need for `expr ~debug` + `expr_debug` ;
  use `Print.expr` for normal (non-debug) output,
  and `Print.expr' ?debug ()` for possibly debug output.
- This improves consistency of debug expr output in many places
- Prints simplified operators (without type suffix) in non-verbose mode

(this patch also fixes some cases of `Expr.skip_wrappers` and leverages the
binder equality provided by Bindlib)
2023-05-02 13:32:16 +02:00
..
definitions.ml Merge branch 'master' into adelaett-withoutexceptionsfix 2023-04-21 10:55:36 +02:00
dune Fusion of all optimizations done correctly 2023-04-21 12:32:09 +02:00
expr.ml Cleanup expr printer interface 2023-05-02 13:32:16 +02:00
expr.mli Cleanup expr printer interface 2023-05-02 13:32:16 +02:00
interpreter.ml Cleanup expr printer interface 2023-05-02 13:32:16 +02:00
interpreter.mli Cleanup expr printer interface 2023-05-02 13:32:16 +02:00
operator.ml Cleanup expr printer interface 2023-05-02 13:32:16 +02:00
operator.mli Version that uses object types instead of polymorphic variants 2023-04-20 13:51:20 +02:00
optimizations.ml Cleanup expr printer interface 2023-05-02 13:32:16 +02:00
optimizations.mli Fusion of all optimizations done correctly 2023-04-21 12:32:09 +02:00
print.ml Cleanup expr printer interface 2023-05-02 13:32:16 +02:00
print.mli Cleanup expr printer interface 2023-05-02 13:32:16 +02:00
program.ml Remove optimizations for big tests 2023-04-18 15:56:04 +02:00
program.mli Merge branch 'master' into adelaett-withoutexceptionsfix 2023-04-21 10:55:36 +02:00
scope.ml move printing of program & scope to the Print module 2023-04-07 11:26:10 +02:00
scope.mli move printing of program & scope to the Print module 2023-04-07 11:26:10 +02:00
shared_ast.ml Generalized optimizations 2023-04-21 11:56:07 +02:00
shared_ast.mld Rename marked_expr -> expr, expr -> naked_expr throughout 2022-08-29 11:29:23 +02:00
type.ml - [ ] shared_ast 2023-02-20 15:57:42 +01:00
type.mli - [x] shared_ast 2023-02-20 15:57:42 +01:00
typing.ml Cleanup expr printer interface 2023-05-02 13:32:16 +02:00
typing.mli Merge branch 'master' into c_backend 2023-03-21 12:14:10 +01:00
var.ml Generic mapping function across different ASTs 2023-03-30 18:57:51 +02:00
var.mli Generic mapping function across different ASTs 2023-03-30 18:57:51 +02:00