Commit Graph

600 Commits

Author SHA1 Message Date
JusBanuls
efbacd8566 Ajout du décret relatif à la montée en charges des AL pour SPM 2023-03-09 12:42:31 +01:00
Denis Merigoux
6b9bc90b9a
End with @JusBanuls!
Now we have to finish the implem, clean, review and deploy :)
2023-03-06 15:02:19 +01:00
Denis Merigoux
bfc827296c
Merge branch 'master' into aides_logement_outre_mer 2023-03-06 14:09:51 +01:00
Denis Merigoux
263a8672e3
Progress with @JusBanuls 2023-03-03 12:17:15 +01:00
Louis Gesbert
57e29f60bd
Refactor Python dep handling + update cheat-sheet (#419) 2023-03-03 11:05:56 +01:00
Denis Merigoux
f8c2389f96
Progress but bug for @altgr 2023-03-03 11:03:54 +01:00
Denis Merigoux
e82325ebe1
Formatting 2023-03-03 10:29:03 +01:00
Louis Gesbert
5e063dac1b
Require argument name declarations, support multiple function arguments everywhere (#413) 2023-03-02 22:37:21 +01:00
Louis Gesbert
97e0cfca6f Improvements on function arguments refactoring
- simplify naming in the french law examples
- make messages yet more precise on function arguments mismatch
2023-03-02 19:11:21 +01:00
Louis Gesbert
84e6c70d66 Tutorial: fix overfull hbox 2023-03-02 14:32:07 +01:00
JusBanuls
85ed09c3ee Inclusion des chapitres III et IV du titre IV / partie réglementaire 2023-03-01 16:38:34 +01:00
armand
9c176256fe Remplace la double préposition « de de » par « de » 2023-02-28 21:01:35 +01:00
Denis Merigoux
3283c8a2f9
Progrès sur la partie règlementaire du CCH outre-mer avec @JusBanuls 2023-02-28 17:01:36 +01:00
Louis Gesbert
3766e9db2c Fix function argument naming consistency in the examples 2023-02-28 16:17:19 +01:00
Louis Gesbert
d3ccfe9b91 Adjust examples for the new function declaration syntax 2023-02-28 15:53:50 +01:00
Denis Merigoux
fdd9f510d9
Fin de la partie législative outre-mer du CCH avec @JusBanuls 2023-02-28 15:47:42 +01:00
Denis Merigoux
0667e3d40f
Merge branch 'master' into aides_logement_outre_mer 2023-02-28 15:01:31 +01:00
JusBanuls
5f486ce1d3 Nettoyage des archives 2023-02-27 15:06:48 +01:00
Denis Merigoux
82141335c7
Tutorial: add top-level value definitions as an annex (#406) 2023-02-27 09:13:27 +01:00
armandsalek
ddb8361895
Merge branch 'CatalaLang:master' into master 2023-02-24 17:11:49 +01:00
Denis Merigoux
feac2b328b
Progress with @JusBanuls 2023-02-24 12:10:00 +01:00
Denis Merigoux
dd2954838b
Formatting 2023-02-24 10:44:40 +01:00
Denis Merigoux
425a6e19f4
Finished L861-5 with @JusBanuls 2023-02-24 10:44:27 +01:00
Denis Merigoux
5c588cf996
Fixed exception structure for charges locatives with @JusBanuls 2023-02-24 10:12:15 +01:00
JusBanuls
ed998fd824 Articles législatifs et réglementaires des outre-mer 2023-02-23 17:53:28 +01:00
Louis Gesbert
49b4f8a8d8 Tutorial: add top-level value definitions as an annex
The cheat-sheet still needs to be updated, I'll do that once we have a unified
syntax for function types and multiple arguments at the top-level and within
scopes.
2023-02-23 11:35:44 +01:00
armandsalek
f841512619
Update Makefile.common.mk
Ajout de l’appel à la variable « CURR_DIR » dans la définition de la règle « %.run »
2023-02-21 22:48:18 +01:00
Denis Merigoux
366b293649
Progrès avec @JusBanuls 2023-02-21 18:13:27 +01:00
JusBanuls
9222cf1622 Avancement archives arrêté 2019 2023-02-21 15:18:20 +01:00
Denis Merigoux
82132bf145
Updated tests 2023-02-20 16:58:16 +01:00
Denis Merigoux
70db75b09f
Date entrée en vigueur article 31 2023-02-20 16:58:05 +01:00
Denis Merigoux
984b79d09a
Un peu de progrès sur L861-5 2023-02-14 17:30:28 +01:00
Denis Merigoux
6a2c644e9e
Fin de l'arrêté du 27 septembre 2019 pour les outre-mer 2023-02-14 15:58:20 +01:00
Denis Merigoux
1e79f7607a
Précision suite à recherches juridiques de @JusBanuls 2023-02-14 15:57:51 +01:00
Louis Gesbert
98ebc36343 Add all missing parser error messages
... that's one less thing to do

Two notes:

- Updated the syntax errors in
  examples/NSW_community_gaming/tests/test_nsw_social_housie.catala_en ; those
  probably aren't expected though, but fixing them is outside my purpose here

- There is consensus on keeping the error messages in English; however, here,
  the error messages include hints on the syntax to use, which are only valid
  for users of the English syntax.
  * A possible solution would be to apply cppo on parser.messages, using the
    macros already defined in lexer_LANG.cppo.ml. However, we would then need to
    tweak (or duplicate!) the parser to use the messages for the correct language.
    Furthermore, updating and merging the file on parser updates would need
    special care.
  * Another, maybe easier solution would be manual processing, using a custom
    escape in the parser messages and rewriting that at runtime when printing
    the message. We would need to extract a runtime version of the macro
    definitions though.
2023-02-13 10:51:42 +01:00
JusBanuls
d6e6d3de7d Correction de l'art. 52 après rectification sur Légifrance par la DILA 2023-02-10 12:03:05 +01:00
JusBanuls
6217630805 Sous-ensemble d'article pour le prototype du calcul des droits simpes de l'IR 2023-02-07 11:11:12 +01:00
JusBanuls
f1fed717e5 Remplacement du contenu de l'article 52 de l'arrêté de 2019 2023-01-30 11:57:28 +01:00
JusBanuls
ac2f02b7e9 Ajout des derniers articles de l'arrêté 2023-01-24 16:31:22 +01:00
JusBanuls
802818735e Allocations logement: fix typos 2023-01-23 11:56:21 +01:00
JusBanuls
a907eed46f Aides logement: simplify using cumulative exceptions 2023-01-23 11:54:08 +01:00
Denis Merigoux
df560ce366
Fixed another bug thanks to proof mode! 2023-01-20 16:14:30 -05:00
Denis Merigoux
639e2922ad
Remove implicit bound not yet met 2023-01-20 16:04:44 -05:00
Denis Merigoux
a13bbf03d3
Fix bug found by proof mode! 2023-01-20 16:04:33 -05:00
Denis Merigoux
1a97c21ca5
Add missing residence 2023-01-20 15:55:13 -05:00
Denis Merigoux
7054a8c6a7
Putting useful assertions restricting input parameters 2023-01-20 14:47:52 -05:00
Denis Merigoux
19e48f8781
Merge branch 'master' into aides_logement_outre_mer 2023-01-20 13:55:12 -05:00
Denis Merigoux
fcca9e4c47
Correction after confirmation from regulatory body 2023-01-20 10:10:31 -05:00
JusBanuls
52e1bf0cf6 Ajout de la variable résidence aux tests 2023-01-17 11:38:25 +01:00
Louis Gesbert
19033669f5 Add support for paths in the parser
Using them will lead to "not supported yet" errors soon after, but it's a start
to get to handling separate modules.

The idea is that `foo` can now also be `Bar.foo`, `Bar.Baz.foo`, `foo.Struc.fld`
can be `foo.Bar.Baz.Struc.fld`, etc.
The next steps are to enable the lookups to handle this paths, and to provide
ways to load the external modules to feed these lookups.
2023-01-16 12:09:23 +01:00