Denis Merigoux
57da622567
Refactoring changes after @altgr's suggestions
2023-04-18 10:31:44 +02:00
Denis Merigoux
c5ba3e72fe
Restore CI
2023-04-18 09:59:24 +02:00
Denis Merigoux
39f1704d76
Last fixes
2023-04-18 09:59:24 +02:00
Denis Merigoux
ecccb5fb91
Last changes
2023-04-18 09:59:24 +02:00
Denis Merigoux
6479c3c10b
Print exception tree
2023-04-18 09:59:24 +02:00
Denis Merigoux
2afb6fc20c
I/O plumbing necessary for this feature, missing main implem
2023-04-18 09:59:24 +02:00
adelaett
b757b828a0
Update lock files
2023-04-17 00:22:21 +00:00
Louis Gesbert
3cf64edb39
Vastly improve the printer ( #450 )
2023-04-13 18:46:34 +02:00
Louis Gesbert
e19e4af12d
Vastly improve the printer
...
* fix lots of Format boxes
* add parens based on precedence in the printer
* fix interaction of Format and the colored line debug tags
2023-04-13 18:15:22 +02:00
Denis Merigoux
7b1b3f2968
Adding an interpreter to lcalc ( #432 )
2023-04-12 15:11:39 +02:00
Denis Merigoux
77d6a97ddc
Formatting
2023-04-06 16:35:28 +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
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
Denis Merigoux
87a41f172e
Add ocaml-crunch to build deps ( #441 )
2023-04-04 15:57:19 +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
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