Commit Graph

2937 Commits

Author SHA1 Message Date
Denis Merigoux
7f705beb07
Merge branch 'master' into aides_logement_outre_mer 2023-03-17 17:52:10 +01:00
Denis Merigoux
0be36b620d
Implement D863-7 2023-03-17 13:47:06 +01:00
Louis Gesbert
db09eb0c42
Add date rounding option in scope (#397) 2023-03-17 10:14:36 +01:00
Denis Merigoux
c4869ffd36
Fixing some TODOs 2023-03-17 09:26:11 +01:00
Denis Merigoux
056e84792d
Printing warning for undefined variables 2023-03-17 09:25:14 +01:00
Denis Merigoux
4fcdd005e0
Merge branch 'master' into aides_logement_outre_mer 2023-03-17 09:18:27 +01:00
Denis Merigoux
13b0b0bbcd
Merge branch 'aides_logement_outre_mer' of github.com:CatalaLang/catala into aides_logement_outre_mer 2023-03-17 09:18:09 +01:00
Raphaël Monat
d5cd5b206a Show conflicting date rounding mode declarations when they happen 2023-03-16 18:51:01 +01:00
Raphaël Monat
8981b21edb Add test for date rounding option conflict 2023-03-16 17:20:14 +01:00
Raphaël Monat
51ea9d8cff Format code 2023-03-16 17:20:14 +01:00
Raphaël Monat
d3c27799de Raise exception when more than one rounding mode option has been specified 2023-03-16 17:20:13 +01:00
Raphaël Monat
1e1e3b538e Simplify format 2023-03-16 17:20:13 +01:00
Raphaël Monat
b013f4257d Update parser error message 2023-03-16 17:20:13 +01:00
Raphaël Monat
887ec00d0e Add explicit match 2023-03-16 17:20:13 +01:00
Raphaël Monat
8fe20e7fa2 Update syntax 2023-03-16 17:20:13 +01:00
Raphaël Monat
c4b0c6c107 Remove stale files 2023-03-16 17:20:13 +01:00
Raphaël Monat
1e0eddfa1f Update syntax 2023-03-16 17:20:13 +01:00
Raphaël Monat
ce858a74df Update syntax cheatsheet 2023-03-16 17:20:13 +01:00
Raphaël Monat
5cf6bdffb8 Add tests for date rounding option 2023-03-16 17:20:13 +01:00
Raphaël Monat
a09b4b82fd Updating french_law 2023-03-16 17:20:13 +01:00
Raphaël Monat
30c6f8e321 Change age check scope names 2023-03-16 17:20:13 +01:00
Raphaël Monat
64fa32392f Update generated files 2023-03-16 17:20:09 +01:00
Raphaël Monat
5fc1e8e5d5 Fix operator printing 2023-03-16 16:55:55 +01:00
Raphaël Monat
6dac7007f2 Tentative CI fix 2023-03-16 16:55:55 +01:00
Raphaël Monat
7021c41f93 Add date rounding option within scopes 2023-03-16 16:55:55 +01:00
Louis Gesbert
bdfb206650
Compile LaTeX code using minted without the Python venv (#430) 2023-03-16 15:18:06 +01:00
Louis Gesbert
ebf957008d Makefile: loading venv is no longer required for most rules 2023-03-14 17:35:22 +01:00
Louis Gesbert
abc5a00c2f Compile LaTeX code using minted without the Python venv
This is a hack, but not a dirty one: a new command `catala pygmentize` is added,
which is just a wrapper around `pygmentize` that calls it with the proper lexers
defined.

The point is that this needs no installation, just a stock `pygmentize`
installation and the `catala` binary.
2023-03-14 17:35:22 +01:00
JusBanuls
d8f0274bf7 Nouveau test 2023-03-14 15:34:01 +01:00
Denis Merigoux
7f83a99daa
French law JS must be created with a dune release profile (#429) 2023-03-14 14:11:49 +01:00
Denis Merigoux
74df4ee988
Merge branch 'master' into aides_logement_outre_mer 2023-03-14 14:10:09 +01:00
Louis Gesbert
7914d9aaef Build: enforce "release" profile for website-assets
but make sure to keep a consistent dune profile otherwise for `make all`,
avoiding multiple rebuilds.

This saves 30s CPU time on a `make all` that doesn't specify
`DUNE_PROFILE=release`
2023-03-14 13:49:50 +01:00
Denis Merigoux
283d82bfce
French law JS must be created with a dune release profile 2023-03-14 11:53:27 +01:00
Denis Merigoux
43ad27037a
Embed the Pygments lexers in Catala (#428) 2023-03-14 10:25:52 +01:00
Louis Gesbert
f1e44619e0 LaTeX literate output: handle pygments coloration from within Catala
This leverages the embedded lexer already used for HTML output, and uses the
LaTeX pygments backend to colorise code directly, without the need for `minted`.
2023-03-13 22:33:48 +01:00
Louis Gesbert
5282aec400 LaTeX output: start refactor 2023-03-13 14:44:34 +01:00
Louis Gesbert
508992de33 Embed the Pygments Catala lexer
This enables the HTML output to work without a custom Pygments installation (or
the proper venv activated)
2023-03-13 14:41:24 +01:00
Louis Gesbert
b75910d087
fix(runtimes/ocaml): rename fun_call.inputs into fun_call.fun_inputs (#427) 2023-03-13 10:51:58 +01:00
adelaett
907244362d Update lock files 2023-03-13 00:23:53 +00:00
Emile Rolley
b2383d33bc fix(runtimes/ocaml): rename fun_call.inputs into fun_call.fun_inputs 2023-03-11 17:37:24 +01:00
Louis Gesbert
97b4ec8a6a CI: fix generation of manpage artifacts 2023-03-10 17:42:48 +01:00
Louis Gesbert
2a482c92fc
Fix colors in HTML literal output, add some HTML docs to the artifacts (#426) 2023-03-10 17:13:21 +01:00
Louis Gesbert
e7f44d71fe Update install instructions
* mention the need for Python venv
* it's no longer true that Catala isn't released on opam
* website assets should be generated in release mode (this affects js
  minification, among other things)
* cleanup stale API docs during `rsync`
2023-03-09 18:55:24 +01:00
Louis Gesbert
c054aa89c9 Add the HTML manpages to the artifacts 2023-03-09 16:27:04 +01:00
Denis Merigoux
d1169f28dd
Update doc 2023-03-09 16:18:36 +01:00
Louis Gesbert
16e72f0ba5 README: add note on nightly artifacts 2023-03-09 16:07:36 +01:00
Louis Gesbert
37d9a6cefd Add the HTML tutorials to the published artifacts 2023-03-09 15:47:41 +01:00
Louis Gesbert
e1fe37ad09 Fix coloration in HTML output 2023-03-09 15:46:00 +01:00
JusBanuls
efbacd8566 Ajout du décret relatif à la montée en charges des AL pour SPM 2023-03-09 12:42:31 +01:00
Louis Gesbert
e4408b1ba1
Prepare release 0.8.0 (#425) 2023-03-09 09:04:56 +01:00