adelaett
5a3a6a9dc1
remove unused json ppx
2023-04-06 13:50:22 +02:00
adelaett
ed25bb2213
nobanner
2023-04-06 13:50:04 +02:00
adelaett
7ebfb2e66a
typo
2023-04-06 13:42:40 +02:00
alain
f16842b71a
add a todo
2023-04-06 13:18:33 +02:00
adelaett
7b0f1b238c
add documentation for interpret_lcalc
2023-04-06 13:09:49 +02:00
Denis Merigoux
b931101294
Update english and french tutorials ( #440 )
2023-04-05 21:06:41 +02:00
Denis Merigoux
89e5659500
Fix errors in the code
2023-04-05 19:15:16 +02:00
armandsalek
56818f03e6
Update examples/tutoriel_fr/tutoriel_fr.catala_fr
...
Co-authored-by: Louis Gesbert <louis.gesbert@ocamlpro.com>
2023-04-05 19:15:16 +02:00
armandsalek
71f2c5c3a5
Update examples/tutoriel_fr/tutoriel_fr.catala_fr
...
Co-authored-by: Louis Gesbert <louis.gesbert@ocamlpro.com>
2023-04-05 19:15:16 +02:00
armandsalek
f4f42e1297
Update examples/tutorial_en/tutorial_en.catala_en
...
Co-authored-by: Louis Gesbert <louis.gesbert@ocamlpro.com>
2023-04-05 19:15:16 +02:00
armandsalek
3623261490
Update examples/tutoriel_fr/tutoriel_fr.catala_fr
...
Co-authored-by: Louis Gesbert <louis.gesbert@ocamlpro.com>
2023-04-05 19:15:16 +02:00
armandsalek
f1703f4ab4
Traduction depuis la dernière version du tutoriel de l’anglais vers le français
2023-04-05 19:15:16 +02:00
armandsalek
f66c7eefde
Add an instruction and replace some mispellings
2023-04-05 19:15:16 +02:00
adelaett
75e496c62d
correct types
2023-04-05 16:35:12 +02:00
adelaett
72f6ac9f58
append lcalc to driver
2023-04-05 15:42:26 +02:00
adelaett
256c0625ff
forward -> propagate
2023-04-05 14:57:02 +02:00
Louis Gesbert
0098f00512
Yet some more small improvements to the AST encoding
2023-04-05 10:32:58 +02:00
Louis Gesbert
0c1cd481e1
Interpreter on dcalc + lcalc (the simple way)
...
I made some changes in the meantime, and had to factorise e.g. the handling of
the `EEmptyError` case, but this is the simple approach type-wise of making the
function type for `∀ 'a. 'a —> 'a` (with `assert false` match cases), then
restricting its type do `dcalc` or `lcalc` in the `.mli`.
2023-04-05 10:32:58 +02:00
Louis Gesbert
79ff776d2e
Multi-pass interperter: typing (but useless) version
2023-04-05 10:32:58 +02:00
adelaett
503cd6b1e5
implementation of the behavior
2023-04-05 10:32:52 +02:00
adelaett
06147ac5b6
typing working in the file, but does not accept
...
Lcalc for some reason
2023-04-05 10:32:52 +02:00
adelaett
68e0f0a0ee
changing position of the interpreter
2023-04-05 10:32:52 +02:00
Denis Merigoux
3361612965
Overseas rules for French housing benefits ( #385 )
2023-04-05 09:54:21 +02:00
Denis Merigoux
1ee8d3923b
Restore Python API
2023-04-04 17:37:41 +02:00
Denis Merigoux
d63958d7da
Merge branch 'master' into aides_logement_outre_mer
2023-04-04 17:21:28 +02:00
Denis Merigoux
ba44949bea
Pin js_of_ocaml version : see https://github.com/CatalaLang/catala/issues/442
2023-04-04 17:13:00 +02:00
adelaett
82992e9858
documentation
2023-04-04 17:02:26 +02:00
Denis Merigoux
4b4034e2ff
Removed spurious dependency?
2023-04-04 16:39:40 +02:00
Alex
57e3501220
Add ocaml-crunch to build deps
2023-04-04 16:05:35 +02:00
Louis Gesbert
996ee1ea13
CI: Update OCaml base image
...
Available tags can be seen at https://hub.docker.com/r/ocamlpro/ocaml/tags?page=1&ordering=last_updated
2023-04-04 16:01:14 +02:00
adelaett
066388ddfd
fix of_lcalc special handling of handle_opt variables
2023-04-04 15:58:05 +02:00
adelaett
60f8c229d5
fix to_ocaml new handledefault and handledefault opt operator
2023-04-04 15:57:33 +02:00
Denis Merigoux
87a41f172e
Add ocaml-crunch to build deps ( #441 )
2023-04-04 15:57:19 +02:00
adelaett
06f2e56c74
fix closure conversion non-existent variable
2023-04-04 15:57:11 +02:00
adelaett
8ef3db005f
clean deadcode
2023-04-04 15:56:49 +02:00
Denis Merigoux
a29339ed2f
Stringify JSON fields
2023-04-04 15:44:00 +02:00
Denis Merigoux
7d278caa30
Update OCaml assets
2023-04-04 15:19:08 +02:00
adelaett
61bdd751e4
corrected program equality
2023-04-04 15:18:08 +02:00
adelaett
b6cf552913
lcalc optimization documentation
2023-04-04 15:17:59 +02:00
adelaett
948af85abd
simplification of the driver
2023-04-04 15:17:43 +02:00
Denis Merigoux
3932da6648
Clean allocations_familiales with help of lints
2023-04-04 13:53:30 +02:00
Alex
70c807b684
Add ocaml-crunch to build deps
2023-04-04 11:02:58 +00:00
Denis Merigoux
16ab1b310d
Restore tests
2023-04-03 18:32:33 +02:00
Denis Merigoux
18382b99f5
Further clean from prestations_familiales elements belonging to allocations_familiales
2023-04-03 18:13:53 +02:00
Denis Merigoux
7d25ab6e24
Removed useless received benefits
2023-04-03 17:58:35 +02:00
Denis Merigoux
a5b09cb3d8
Remove field used for resources computation
2023-04-03 17:57:21 +02:00
Denis Merigoux
602a3bb6e9
Removed useless prestation_courante marker
2023-04-03 17:54:41 +02:00
Denis Merigoux
fccdacf484
Fixed bug found through linting
...
limitation personnes à charges
(variable not used)
2023-04-03 17:53:28 +02:00
Denis Merigoux
6abe8e0123
Remove code about income calibration (unfinished stub)
2023-04-03 17:06:08 +02:00
Denis Merigoux
19f44a8ab3
Fix bug found through linting:
...
eligibility for moving benefits was not used!
2023-04-03 16:59:45 +02:00