mirror of
https://github.com/CatalaLang/catala.git
synced 2024-09-20 00:41:05 +03:00
Restore web build
This commit is contained in:
parent
a775f786f6
commit
6f223d2519
2
Makefile
2
Makefile
@ -298,7 +298,7 @@ website-assets: doc literate_examples grammar.html catala.html build_french_law_
|
|||||||
|
|
||||||
#> all : Run all make commands
|
#> all : Run all make commands
|
||||||
all: \
|
all: \
|
||||||
build doc website-assets\
|
build build_js doc website-assets\
|
||||||
tests \
|
tests \
|
||||||
generate_french_law_library_ocaml build_french_law_library_ocaml \
|
generate_french_law_library_ocaml build_french_law_library_ocaml \
|
||||||
tests_ocaml bench_ocaml \
|
tests_ocaml bench_ocaml \
|
||||||
|
@ -19,6 +19,7 @@ let _ =
|
|||||||
backend = "Interpret";
|
backend = "Interpret";
|
||||||
language = Some (Js.to_string language);
|
language = Some (Js.to_string language);
|
||||||
max_prec_digits = None;
|
max_prec_digits = None;
|
||||||
|
closure_conversion = false;
|
||||||
trace;
|
trace;
|
||||||
disable_counterexamples = false;
|
disable_counterexamples = false;
|
||||||
optimize = false;
|
optimize = false;
|
||||||
|
@ -430,8 +430,6 @@ let rec unfold_scope_body_expr (ctx : decl_ctx) (scope_let : scope_body_expr) :
|
|||||||
let build_whole_scope_expr
|
let build_whole_scope_expr
|
||||||
(ctx : decl_ctx) (body : scope_body) (pos_scope : Pos.t) =
|
(ctx : decl_ctx) (body : scope_body) (pos_scope : Pos.t) =
|
||||||
let var, body_expr = Bindlib.unbind body.scope_body_expr in
|
let var, body_expr = Bindlib.unbind body.scope_body_expr in
|
||||||
Cli.debug_format "Getting variable %s_%d" (Bindlib.name_of var)
|
|
||||||
(Bindlib.uid_of var);
|
|
||||||
let body_expr = unfold_scope_body_expr ctx body_expr in
|
let body_expr = unfold_scope_body_expr ctx body_expr in
|
||||||
make_abs
|
make_abs
|
||||||
(Array.of_list [ var ])
|
(Array.of_list [ var ])
|
||||||
|
Loading…
Reference in New Issue
Block a user