2020-03-08 03:52:31 +03:00
|
|
|
(library
|
2021-04-22 12:57:50 +03:00
|
|
|
(name driver)
|
2021-04-29 18:05:53 +03:00
|
|
|
(public_name catala.driver)
|
2022-01-08 20:37:04 +03:00
|
|
|
(libraries
|
2022-03-04 20:32:03 +03:00
|
|
|
dynlink
|
2022-11-21 12:46:17 +03:00
|
|
|
catala_utils
|
2022-01-08 20:37:04 +03:00
|
|
|
surface
|
|
|
|
desugared
|
|
|
|
literate
|
|
|
|
dcalc
|
|
|
|
lcalc
|
|
|
|
scalc
|
2022-07-19 20:17:02 +03:00
|
|
|
catala.runtime_ocaml
|
2022-01-08 20:37:04 +03:00
|
|
|
verification)
|
2022-03-04 20:32:03 +03:00
|
|
|
(modules plugin driver))
|
2021-03-05 21:16:56 +03:00
|
|
|
|
2021-02-01 22:09:16 +03:00
|
|
|
(executable
|
2021-11-12 12:07:13 +03:00
|
|
|
(name catala_web_interpreter)
|
2021-02-01 22:09:16 +03:00
|
|
|
(modes byte js)
|
2021-11-12 12:07:13 +03:00
|
|
|
(modules catala_web_interpreter)
|
2021-02-01 22:09:16 +03:00
|
|
|
(preprocess
|
|
|
|
(pps js_of_ocaml-ppx))
|
2022-07-19 20:17:02 +03:00
|
|
|
(libraries
|
|
|
|
catala.driver
|
|
|
|
js_of_ocaml
|
|
|
|
catala.runtime_ocaml
|
|
|
|
catala.runtime_jsoo))
|
2021-02-01 22:09:16 +03:00
|
|
|
|
2024-01-16 19:13:29 +03:00
|
|
|
(install
|
|
|
|
(section bin)
|
|
|
|
(package catala)
|
2024-01-20 13:47:07 +03:00
|
|
|
(files
|
2024-01-22 15:50:31 +03:00
|
|
|
(catala_web_interpreter.bc.js as catala_web_interpreter.js)))
|
2024-01-16 19:13:29 +03:00
|
|
|
|
2023-04-21 11:37:31 +03:00
|
|
|
(executable
|
|
|
|
(name tests)
|
|
|
|
(modules tests)
|
|
|
|
(libraries catala.driver alcotest))
|
|
|
|
|
2024-01-16 19:13:29 +03:00
|
|
|
(install
|
|
|
|
(section bin)
|
|
|
|
(package catala)
|
2024-01-20 13:47:07 +03:00
|
|
|
(files
|
|
|
|
(catala.bc.js as catala.js)))
|
2024-01-16 19:13:29 +03:00
|
|
|
|
2022-08-03 16:03:33 +03:00
|
|
|
(rule
|
|
|
|
(target custom_linking.sexp)
|
|
|
|
(mode fallback)
|
|
|
|
(action
|
|
|
|
(with-stdout-to
|
|
|
|
%{target}
|
|
|
|
(echo "()"))))
|
|
|
|
|
2021-02-01 22:09:16 +03:00
|
|
|
(executable
|
|
|
|
(name catala)
|
2021-11-12 12:07:13 +03:00
|
|
|
(modes native js)
|
2022-08-03 16:03:33 +03:00
|
|
|
(flags
|
|
|
|
(:standard
|
2023-04-15 18:07:24 +03:00
|
|
|
(:include custom_linking.sexp)
|
|
|
|
-linkall))
|
2021-02-01 22:09:16 +03:00
|
|
|
(package catala)
|
|
|
|
(modules catala)
|
|
|
|
(public_name catala)
|
2023-04-15 18:07:24 +03:00
|
|
|
(libraries catala.driver ocamlgraph))
|
2020-03-08 05:20:04 +03:00
|
|
|
|
|
|
|
(documentation
|
2021-04-22 12:57:50 +03:00
|
|
|
(package catala)
|
|
|
|
(mld_files index))
|
2022-11-17 19:13:35 +03:00
|
|
|
|
|
|
|
(alias
|
|
|
|
(name catala)
|
|
|
|
(deps catala.exe))
|
2023-04-21 11:37:31 +03:00
|
|
|
|
|
|
|
(rule
|
|
|
|
(alias runtest)
|
|
|
|
(package catala)
|
|
|
|
(action
|
|
|
|
(run ./tests.exe)))
|