Denis Merigoux
8d3e283669
Fix some bugs of JSOO plugin
2022-07-28 15:02:43 +02:00
Denis Merigoux
c9e985b33a
Merge pull request #297 from AltGr/set-contains
...
Change syntax for set membership predicate ('in' -> 'contains')
2022-07-28 10:52:24 +02:00
Louis Gesbert
3987e446e9
Add polish translation for new "contains" keyword
2022-07-28 10:34:37 +02:00
Denis Merigoux
1e8f9bb6e8
Merge pull request #298 from AltGr/no-ubuntu-builds
...
CI: Disable (broken) ubuntu builds
2022-07-27 20:17:52 +02:00
Louis Gesbert
b28583fb71
CI: Disable (broken) ubuntu builds
...
the routine builds on PRs are fine and the issue seems to come from the complex container ubuntu/OCaml setup
2022-07-27 14:41:22 +02:00
Louis Gesbert
6d41818e0a
Change syntax for set membership predicate
...
Before: `ELEMENT in SET`; now: `SET contains ELEMENT`
Using the `in` keyword was causing conflicts and blocking #203 .
Current proposal has `contient` for the French syntax, and is untranslated (`contains`) for Polish.
2022-07-27 14:34:58 +02:00
Louis Gesbert
922b77abc7
Cli: allow standard option --color=always|never|auto
to control styling
2022-07-27 10:42:35 +02:00
Catala nix updated
25a0464e93
update lock files
2022-07-25 00:24:13 +00:00
Denis Merigoux
d266202159
Merge pull request #291 from CatalaLang/290-jsoo-wrapper-plugin
...
feat(plugins): add a new backend for generating JSOO wrapper
2022-07-22 18:15:11 +02:00
Denis Merigoux
d17ac0bc39
More nitpicks
2022-07-22 18:04:16 +02:00
Denis Merigoux
fa55a83fb4
Merge branch 'master' into 290-jsoo-wrapper-plugin
2022-07-22 17:54:51 +02:00
Denis Merigoux
aa3820c2a7
Nitpicks
2022-07-22 17:42:24 +02:00
Denis Merigoux
e2b9b80602
Merge pull request #287 from CatalaLang/aides_logement
...
Fixing French housing benefits
2022-07-22 17:25:10 +02:00
Denis Merigoux
a73be79d61
Update assets
2022-07-22 17:14:58 +02:00
Denis Merigoux
4002c22570
Contre-ordre: DGLAN admet l'arrondi par défaut
2022-07-22 17:05:09 +02:00
Emile Rolley
d9045499c0
refactor(french_law/ocaml): refactor the api_web.ml
2022-07-22 17:01:33 +02:00
Emile Rolley
231f327efb
feat(jsoo): v1 jsoo plugin
2022-07-22 16:52:56 +02:00
Emile Rolley
ad0efd3447
refactor(ocaml): wrap enum type inside their own module like struct ones
2022-07-22 16:52:56 +02:00
Emile Rolley
3ab5129572
feat(jsoo): add conversion fun generation (except mutiple cons args)
2022-07-22 16:52:56 +02:00
Emile Rolley
677ff92ae6
feat(utils): add File.ocamlformat_file_opt
2022-07-22 16:52:56 +02:00
Emile Rolley
7ad81158eb
feat(runtime/jsoo): add date conversion functions
2022-07-22 16:52:56 +02:00
Emile Rolley
5f27334bec
feat(jsoo): gen conv functions from and to jsoo type
2022-07-22 16:52:56 +02:00
Emile Rolley
0a9e563450
refactor(to_ocaml): format_to_struct_type -> format_to_module_name
2022-07-22 16:52:56 +02:00
Emile Rolley
3dcf856ec6
refactor(cli): add Cli.call_unstyled
2022-07-22 16:52:56 +02:00
Emile Rolley
b2bba6eaf0
feat(jsoo): factorize log events related function to the object eventManager
2022-07-22 16:52:56 +02:00
Emile Rolley
37a8cf7090
fix(rebase): changes Lcalc and Dcalc AST manipulation according #272
2022-07-22 16:52:56 +02:00
Emile Rolley
d3d254033c
feat(runtimes/jsoo): add a new class type duration with conv functions
2022-07-22 16:52:56 +02:00
Emile Rolley
0c180e12f9
refactor(runtimes): add runtime_ocaml and runtime_jsoo in the catala package
2022-07-22 16:52:56 +02:00
Emile Rolley
cd33ed9de7
feat(plugins/jsoo): now generate both .ml and _web_api.ml file
2022-07-22 16:52:56 +02:00
Emile Rolley
59f50f95e8
refactor(plugins/jsoo): use To_ocaml function directly by extending its interface
2022-07-22 16:52:56 +02:00
Emile Rolley
c09b457988
refactor(runtimes): add move the OCaml runtime into runtimes/ocaml
2022-07-22 16:52:56 +02:00
Emile Rolley
cda3bfb3aa
feat(plugins/jsoo): format type declaration
2022-07-22 16:52:56 +02:00
Emile Rolley
15be4b7279
refactor(law_source): remove the unused Enfant submodule from the allocation_familiales.mli
2022-07-22 16:52:56 +02:00
Denis Merigoux
dc00ce8957
Merge branch 'master' into aides_logement
2022-07-22 16:49:01 +02:00
Denis Merigoux
1013fadc50
Merge pull request #289 from CatalaLang/fix_171
...
Fix encoding of chains of groups of exceptions
2022-07-22 16:48:37 +02:00
Denis Merigoux
5b6bb88a47
Add -B flag to ensure everything's fine
2022-07-22 16:30:59 +02:00
Denis Merigoux
df9f02f943
Update Python asset
2022-07-22 16:29:47 +02:00
Denis Merigoux
b7c468bd1e
Fix faulty unboxing
2022-07-22 16:18:55 +02:00
Denis Merigoux
522deb50c2
Factorizing Dcalc.program
2022-07-22 15:49:57 +02:00
Denis Merigoux
0304602433
Trying to fix Bindlib unboxing bug [skip ci]
2022-07-22 12:31:05 +02:00
Denis Merigoux
85144c35fb
Simplify default tree encoding
2022-07-22 12:31:02 +02:00
Denis Merigoux
3895743f20
Cleaned code for generating exception graph, now correct and fully general
...
Missing some encoding optimizations
2022-07-22 12:25:41 +02:00
Denis Merigoux
85cb2d5c8d
Starting debug
2022-07-22 12:11:34 +02:00
Denis Merigoux
109c7dec31
Create failing test
2022-07-22 12:11:34 +02:00
Denis Merigoux
ad0f02837c
Fix some TODOs
2022-07-21 14:54:05 +02:00
Denis Merigoux
100c84a741
Allow negative literals
2022-07-21 14:14:22 +02:00
Denis Merigoux
dcf80f4bec
Adding first_day_of_month and last_day_of_month
2022-07-21 14:14:04 +02:00
Emile Rolley
61899cd698
fix(examples): assets are now generated from the repo root
2022-07-20 18:29:01 +02:00
Denis Merigoux
bf33cbfa49
Updating assets
2022-07-20 15:58:24 +02:00
Denis Merigoux
39a4c20c7b
Merge pull request #292 from CatalaLang/tweak-dev-mode
...
Use custom Docker image for CI
2022-07-20 15:44:50 +02:00