Restore JS executable of the Catala compiler #207
Labels
❌ bug
Something isn't working
🔧 compiler
Issue concerns the compiler
👪 help wanted
Extra attention is needed
Milestone
The problem
Right now, if you compile the Catala interpreter with
js_of_ocaml
to a Javascript binary withYou will get the following errors:
All of these errors are linked to the use of Z3's OCaml bindings, which can't obviously work in Javascript since Z3 is made with C++.
The solution
A solution is simply to remove the use of the Z3 backend from Catala's proof platform when compiling to Javascript. For that, we need
dune
to express some form of conditional compilation paired with annotations in the code to remove completely the dependency onz3
when compiling to Javascript.The text was updated successfully, but these errors were encountered: