Louis Gesbert
22c69938b6
Fix handling of "output" tests
...
I.e. our legacy tests with a separate output tests, to distinguish from inline
tests.
2023-09-27 13:08:15 +02:00
Louis Gesbert
326990678f
Enforce recent yojson version
...
2.0 doesn't need biniou or easy_format anymore
2023-09-27 13:08:15 +02:00
Louis Gesbert
1ee2980ae7
Clerk: enable by-directory test targets
2023-09-27 13:08:15 +02:00
Louis Gesbert
63773e48b5
Update tests outputs
2023-09-27 13:08:15 +02:00
Louis Gesbert
55e8e24cab
Clerk: re-enable 'clerk run'
2023-09-27 13:08:15 +02:00
Louis Gesbert
f8e3774662
Fix lookup of built modules in Catala
2023-09-27 13:08:15 +02:00
Louis Gesbert
60fe40e25b
Clerk: fix some module linking options
2023-09-27 13:08:15 +02:00
Louis Gesbert
494be673a8
Rehaul the Clerk build system to fully handle modules and linking
2023-09-27 13:08:15 +02:00
Louis Gesbert
8eb254aa32
Rename tests with ambiguous outputs
...
With modules, it's not reasonable to allow two catala files with the same
basename but different langs
2023-09-27 13:08:15 +02:00
Louis Gesbert
cf8f365cf7
Extract Catala version from dune
...
(avoids multiple, possibly inconsistent, definitions ; also syncs up Clerk
versions with Catala)
2023-09-27 13:08:15 +02:00
Louis Gesbert
94ec864890
Scan file tree: proceed in sequence
2023-09-27 13:08:15 +02:00
Louis Gesbert
bf048f0a74
Add a lightweight lexer for dependency extraction in Clerk
...
The base is there but not fully used yet in Clerk
2023-09-27 13:08:15 +02:00
Louis Gesbert
9aed2c7479
support for parsing Module directives
2023-09-27 13:08:11 +02:00
Louis Gesbert
9445f83407
Improve assertion failure message ( #518 )
2023-09-27 13:07:38 +02:00
Denis Merigoux
ec18ac10bb
Fix missing implem
2023-09-22 18:06:44 +02:00
Denis Merigoux
1f4805caad
Print interpreter error messages with localized expression printer
2023-09-22 18:06:43 +02:00
Denis Merigoux
9cecf5587a
Register surface syntax languge in program troughout the compilation chain
2023-09-22 18:05:26 +02:00
Denis Merigoux
ea838ed6af
Comment
2023-09-22 18:05:26 +02:00
Denis Merigoux
7bad9aa20e
Improve assertion failure message
2023-09-22 18:05:26 +02:00
Denis Merigoux
38782fa546
Correct fix
2023-09-22 18:02:44 +02:00
Denis Merigoux
6356a3c7f8
Fix linebreaking in LaTeX Catala code ( #520 )
2023-09-22 17:16:48 +02:00
Denis Merigoux
9c83943f2b
Revert "Break lines in code Latex output"
...
This reverts commit 7971cb7651
.
2023-09-21 13:58:26 +02:00
Denis Merigoux
5eba0b6562
Trying
2023-09-21 13:57:54 +02:00
Denis Merigoux
7971cb7651
Break lines in code Latex output
2023-09-21 13:30:30 +02:00
Denis Merigoux
f9768c1813
Optim: avoid extra translations in the interpreter ( #519 )
2023-09-20 17:34:35 +02:00
Louis Gesbert
c63d74647d
Optim: avoid extra translations in the interpreter
...
A recent patch introduced custom terms in expressions manipulated by the
interpreter. For typing reasons, a traversal is done to extend the supplied
expression with these custom terms — it's functionally the identity, but, due to
the fact that the type-checker can't infer covariance of our AST terms on their
phantom parameter, playing by the rules imposes a full traversal + rebuild.
Without resorting to a (constrained) `Obj.magic`, this patch avoids extra
intermediate conversions, which is enough to cut out the huge extra cost we were
incurring.
Closes #516
2023-09-19 18:22:43 +02:00
Denis Merigoux
a908b2a45c
Mise à jour du calcul des aides au logement avec la réforme des retraites ( #515 )
2023-09-19 13:58:23 +02:00
Denis Merigoux
da50115acf
Fixes OCaml error not caught in JS ( #511 )
2023-09-19 13:47:51 +02:00
Denis Merigoux
524c8b1274
Commentaire précis
2023-09-19 13:44:01 +02:00
Denis Merigoux
43a1e30c33
Update old image on main README ( fixes #514 )
2023-09-19 13:29:14 +02:00
Denis Merigoux
f57127c0aa
Fix anteriority bug
2023-09-19 12:07:02 +02:00
Denis Merigoux
029c555dc6
Mise à jour du calcul des aides au logement avec la réforme des retraites ( #506 )
2023-09-19 11:56:57 +02:00
armandsalek
ff3060fa04
implémenter calcul de âge_l351_1_5_sécu qui a remplacé âge_l161_17_2_sécu dans le code actuel
2023-09-19 11:55:47 +02:00
Denis Merigoux
a6e15eb150
Mise à jour CCH reglementaire au 2023-09-01
...
Manque des implémentations de la réforme des retraites
2023-09-19 11:55:31 +02:00
Denis Merigoux
b432bdd700
Extra .gitignore after make all
2023-09-15 10:34:42 +02:00
Denis Merigoux
af1fbe884c
Encapsulate by default all Web API calls with execute_or_throw_error
2023-09-15 10:29:31 +02:00
Louis Gesbert
3cc77f4601
Improvements to the Polish translation ( #499 )
2023-09-13 16:19:06 +02:00
Louis Gesbert
a89a95ef6a
Remove catala_legifrance ( #509 )
2023-09-13 16:17:32 +02:00
Denis Merigoux
efd175a390
Remove from scripts
2023-09-13 16:16:48 +02:00
Denis Merigoux
fc9e7330ce
Remove catala_legifrance
2023-09-13 16:16:46 +02:00
Louis Gesbert
02521092d0
replace let _
by let ()
or add type annotation ( #507 )
2023-09-13 16:15:49 +02:00
Louis Gesbert
0a1524352b
Temporarily disable unstable test ( #510 )
2023-09-13 14:46:45 +02:00
Louis Gesbert
fe06f9d55c
Temporarily disable unstable test
...
The mod_use test requires prior compilation of the module which the build system
doesn't guarantee. This will be fixed with the new Clerk version that handles
dependencies transparently, disabled until then to avoid spurious failures..
2023-09-13 14:23:31 +02:00
Denis Merigoux
c1d4592998
Correct MR_* fields for characters with accents
2023-09-13 14:14:47 +02:00
Louis Gesbert
9505e42565
add missing french_law/python/src/runtime.py to .gitignore ( #505 )
2023-09-11 14:17:56 +02:00
zapashcanon
97e5b15531
replace let _
by let ()
or add type annotation
2023-09-09 22:02:39 +02:00
zapashcanon
d1f1686594
add missing french_law/python/src/runtime.py to .gitignore
2023-09-09 21:11:38 +02:00
Louis Gesbert
4c6fff9d99
bugfix: address breaking change in markdown-mode v2.6 ( #503 )
2023-09-06 16:04:04 +02:00
Suhail Singh
b7216c9584
bugfix: address breaking change in markdown-mode v2.6
2023-09-05 23:11:19 -04:00
Louis Gesbert
7d9f1bbc11
Improvements to searching for libs at runtime (plugins, runtime, etc.) ( #502 )
2023-09-05 11:24:37 +02:00