catala/compiler
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
..
catala_utils Remove the with-exceptions backend 2024-07-04 15:08:13 +02:00
dcalc More precise positions for operators throughout 2024-04-30 16:35:08 +02:00
desugared Refactor suggestions 2024-06-20 15:59:54 +02:00
lcalc Remove the with-exceptions backend 2024-07-04 15:08:13 +02:00
literate Literate output: adjust catala-metadata margins 2024-06-26 12:09:15 +02:00
plugins Remove the with-exceptions backend 2024-07-04 15:08:13 +02:00
scalc Remove the with-exceptions backend 2024-07-04 15:08:13 +02:00
scopelang Add multiple typing errors using delayed errors 2024-06-19 14:52:31 +02:00
shared_ast Typecheck operator args bottom-up after monomorphisation 2024-07-04 15:08:13 +02:00
surface Update some dependencies 2024-06-26 12:37:57 +02:00
verification More precise positions for operators throughout 2024-04-30 16:35:08 +02:00
catala_web_interpreter.ml Rewriting message calls to use the new intf 2024-04-10 19:26:23 +02:00
catala.ml replace let _ by let () or add type annotation 2023-09-09 22:02:39 +02:00
driver.ml Remove the with-exceptions backend 2024-07-04 15:08:13 +02:00
driver.mli Remove the with-exceptions backend 2024-07-04 15:08:13 +02:00
dune Update opam file according to opam-repository reviews 2024-05-06 21:39:58 +02:00
index.mld More doc 2023-06-18 16:08:16 +02:00
plugin.ml Rewriting message calls to use the new intf 2024-04-10 19:26:23 +02:00
plugin.mli Move global options of Cli to their own module 2024-03-19 15:18:35 +01:00
tests.ml Generalise the definition of lists of nested binders 2024-02-09 18:33:41 +01:00