catala/compiler/scalc
Louis Gesbert 583e80993a Remove the with-exceptions backend
*Disclaimer*: This is intended for discussion

My impression is that the with-exceptions backend is to be superseded by the
without-exception backend, which is more general and more efficient. Therefore,
seeing the added complexity of maintaining the two in parallel, I see no good
reason to keep the with-exceptions version now that the equivalence of their
semantics have been proved.

It will also be nice to reduce divergences between the different backends ; and
this should make further simplifications possible (e.g. some thunkings may no
longer be needed)

Of course I am ready to hear arguments in favor of keeping it, be it in the mid-
or long-term.

This patch removes the `--avoid-exceptions` flag, making it the only option, and
the corresponding `with_exceptions` variant of the dcalc->lcalc translation. It
doesn't do further simplifications.
2024-07-04 15:08:13 +02:00
..
ast.ml Pass the "external module" info along passes 2024-05-28 11:43:50 +02:00
dune refactor(runtimes): add runtime_ocaml and runtime_jsoo in the catala package 2022-07-22 16:52:56 +02:00
from_lcalc.ml Pass the "external module" info along passes 2024-05-28 11:43:50 +02:00
from_lcalc.mli Almost there with structs 2023-12-11 17:08:32 +01:00
print.ml Remove the with-exceptions backend 2024-07-04 15:08:13 +02:00
print.mli Add externals to scalc, working test with Python backend 2024-02-26 14:56:43 +01:00
scalc.mld Fix most doc errors 2023-06-02 17:17:45 +02:00
to_c.ml Remove extra space 2024-06-03 09:06:57 +02:00
to_c.mli Add monomorphizing option 2023-12-19 15:01:06 +01:00
to_python.ml Computation and checking of module hashes 2024-05-28 11:43:50 +02:00
to_python.mli Big reformatting 2022-03-08 15:03:14 +01:00
to_r.ml Computation and checking of module hashes 2024-05-28 11:43:50 +02:00
to_r.mli Starting to implement R backend 2023-08-04 17:25:12 +02:00