Denis Merigoux
92189e6439
Fix bug introduced by a1ebb67
2022-08-16 14:40:12 +02:00
Denis Merigoux
7ee971c4e1
Remove unused type definitions
2022-08-16 14:33:37 +02:00
Denis Merigoux
437be673ce
Merge branch 'master' into aides_logement
2022-08-16 14:25:06 +02:00
Denis Merigoux
2c40802c57
Fix again line numbers in HTML
2022-08-16 11:46:20 +02:00
Denis Merigoux
efa7cec4c1
Merge pull request #315 from AltGr/ast-factorisation
...
Factorise ASTs (between dcalc and lcalc)
2022-08-16 11:42:51 +02:00
Denis Merigoux
a1ebb6715c
Remove age prompts, deduct from birth date correctly
2022-08-16 11:08:13 +02:00
Denis Merigoux
4336fb0a41
Update assets
2022-08-15 18:38:15 +02:00
Denis Merigoux
d93e00c7bc
Some factorization
2022-08-15 18:33:09 +02:00
Denis Merigoux
93f6a19ea9
Update assets
2022-08-15 18:01:12 +02:00
Denis Merigoux
1fdb21326b
Fix logement meublé thing
2022-08-15 17:43:29 +02:00
Denis Merigoux
c278f61cf2
Update assets
2022-08-15 17:21:43 +02:00
Denis Merigoux
489d2f9506
Fixed bugs in allocation logement eligibility
2022-08-15 17:16:23 +02:00
Denis Merigoux
2ae0efa5dd
Fix subtle bug with the default false value for conditions
2022-08-15 16:47:36 +02:00
Denis Merigoux
1aeb47effd
Fix uncaught type error
2022-08-15 16:20:31 +02:00
Louis Gesbert
0b0e774d1c
More factorisation, in particular for variables
2022-08-12 17:18:06 +02:00
Louis Gesbert
ebf97a0995
Pass-specific literals
2022-08-12 16:55:32 +02:00
Louis Gesbert
b5579cde3d
Generalise the expressions between dcalc and lcalc
...
The huge benefit of this approach is that almost no changes are needed and we get compatible types between dcalc and lcalc, allowing to deduplicate a few functions.
It might not be the best in the long run: there are still benefits in factorising small parts of the AST as suggested in #157 , and this forces a central AST definition that makes the nanopass-like approach a bit less legible.
Still, I think it's a step in the right direction and it doesn't really lock us in keeping to use the big GADT (as the minimal cascade of changes show).
2022-08-12 16:55:30 +02:00
Denis Merigoux
c71b8e28c6
Moving parameters into property-section of data
2022-08-12 11:16:52 +02:00
Denis Merigoux
c6e448a9b7
Correctly escape character in HTML weaving
2022-08-12 09:51:43 +02:00
Denis Merigoux
ef269df553
Restore tests
2022-08-12 09:51:35 +02:00
Denis Merigoux
1af33ef8b2
Update assets
2022-08-11 18:24:04 +02:00
Denis Merigoux
c062ac2924
Added a new test
2022-08-11 18:18:04 +02:00
Denis Merigoux
9184b1e265
Further use let-in
2022-08-11 18:17:53 +02:00
Denis Merigoux
35a893920b
Précision chambre CROUS
2022-08-11 18:17:33 +02:00
Denis Merigoux
9eef072cdd
Logement à usage locatif s'applique aussi aux logements-foyers
2022-08-11 18:17:00 +02:00
Denis Merigoux
62b984c83c
Don't print functions in interpreter
2022-08-11 18:13:25 +02:00
Denis Merigoux
7b7d31d0a5
Fix non-negative value bug in housing benefits
2022-08-11 16:16:00 +02:00
Denis Merigoux
da06bedaca
Fix HTML line numbers
2022-08-11 16:15:52 +02:00
Denis Merigoux
a48e90150c
Use let-bindings to refactor code
2022-08-11 14:12:11 +02:00
Denis Merigoux
b8a5598d3c
Fix syntax highlighting for "let"
2022-08-11 11:46:45 +02:00
Denis Merigoux
038e6068e6
Small improvements to housing benefits
2022-08-10 18:13:07 +02:00
Denis Merigoux
aee08d5d10
Revert "Remove constraing because https://github.com/ocaml/opam-repository/pull/21795 has been merged"
...
This reverts commit bb27840d79
.
2022-08-10 11:33:22 +02:00
Denis Merigoux
e8bc253445
Added collection merging to syntax cheat sheet
2022-08-10 10:57:35 +02:00
Denis Merigoux
3a3c08ba7c
Fix LegiFrance link generation
2022-08-10 10:52:46 +02:00
Denis Merigoux
228b6c830a
Fix line numbers in LaTeX and HTML with leading comments in code
2022-08-10 10:45:49 +02:00
Louis Gesbert
54c97d1d0c
Fix missing redirect in CI
2022-08-09 16:28:02 +02:00
Denis Merigoux
bb27840d79
Remove constraing because https://github.com/ocaml/opam-repository/pull/21795 has been merged
2022-08-09 15:32:43 +02:00
Denis Merigoux
a77fa65f9c
Documentation about plugins
2022-08-09 15:00:13 +02:00
Denis Merigoux
c82c04e866
Merge pull request #312 from AltGr/local-letin
...
Add local 'let in' bindings
2022-08-09 14:45:48 +02:00
Denis Merigoux
61eee3b3b1
Merge pull request #313 from AltGr/nodejs-noz3
...
CI: build js binary without z3
2022-08-09 14:42:31 +02:00
Denis Merigoux
8696490265
Fixes #307
2022-08-09 14:39:43 +02:00
Denis Merigoux
922d3af7dc
Bump dependency of js_of_ocaml
2022-08-09 12:39:26 +02:00
Louis Gesbert
168d023e25
CI: build js binary without z3
2022-08-09 12:36:37 +02:00
Louis Gesbert
f35f18b295
Add local 'let in' bindings
2022-08-09 12:17:31 +02:00
Denis Merigoux
0133ad4843
Tests belong to clerk
2022-08-09 12:05:50 +02:00
Denis Merigoux
1d9af3cc02
Attempt to revive nix build
2022-08-08 18:05:43 +02:00
Denis Merigoux
03e598128a
Bumping version number
2022-08-08 17:26:07 +02:00
Denis Merigoux
0351d90087
Update assets
2022-08-08 17:25:49 +02:00
Denis Merigoux
d03d82a0e7
Correctly count columns
2022-08-08 17:25:08 +02:00
Denis Merigoux
4d465b33b4
Helpful error message when trying to interpret a scope with arguments
2022-08-06 13:35:17 +02:00