Commit Graph

16 Commits

Author SHA1 Message Date
Louis Gesbert
deb12d2c4a Bump version to 0.8.0
Changelog:
---

A lot has been going on, with more than 530 patches and 70 PRs merged since
0.7.0 last summer. In summary:

- Quite a lot of syntax improvements and changes. Checkout the latest
  [cheat-sheet](https://catalalang.github.io/catala/syntax.pdf) for an overview

- Allow local `let ... equals ... in ...` definitions

- Better error messages and positions throughout

- Added the ability to directly call a scope and retrieve its outputs, like a
  function

- Added disambiguation, allowing to access structure fields without specifying
  the structure type each time

- Added automated resolution of operators, allowing e.g. to write just `+` in
  place of all the type-specific operators `+.`, `+$`, `+@`, `+^`, etc.

- More consistent priority for operators. It is no longer allowed to write `a
  and b or c` without parenthesis.

- Added and changed some operators (`date + duration` now allowed either way,
  `int / int` now returns a decimal, added `duration / duration`)

- Added the ability to have variables and functions defined at
  top-level (outside of any scope). See annex A of the tutorial for details.

- Added support for functions with multiple arguments

- Some big refactors in the compiler, allowing much better code sharing between
  the different passes, and making it much easier to extend. Also added the
  possibility to run the type-checker earlier, etc.

- Countless bug-fixes

- Improvements to our proof backend with Z3

- A tool to automatically synchronise with the upstream French law from
  Legifrance
2023-03-08 18:07:53 +01:00
adelaett
c7c2343d8e Fix nix update
move cppo and menhir from build dependencies to native build dependences
cleanup code
2023-02-24 15:06:14 +01:00
adelaett
c155e18fda
unpinning bindlib, cmdliner, re, ppx_yojson_conv 2022-12-12 11:55:22 +01:00
TWal
844f2dfbba
Fix nix build for #306 2022-09-05 16:15:20 +02:00
Denis Merigoux
e28b45f2c3
Merge branch 'master' into rmonat_dates_calc_lib 2022-09-05 14:28:34 +02:00
Denis Merigoux
85fe8cb6d8
Remove calendar nix dependency 2022-09-05 14:28:19 +02:00
TWal
ab647d4fac Fix nix build 2022-09-05 13:25:31 +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
Emile Rolley
d85812109c refactor(compiler): remove the camomile dependency due to the new Utils.String_common module based on Ubase 2022-08-05 10:55:45 +02:00
lIlIlIlIIIIlIIIllIIlIllIIllIII
6fb8b06e07
revert dependency between clerk and catala 2022-06-07 08:54:03 +02:00
lIlIlIlIIIIlIIIllIIlIllIIllIII
5b845f4f9b
disable test in the nix build 2022-06-07 08:17:14 +02:00
lIlIlIlIIIIlIIIllIIlIllIIllIII
9db9db5421
changed sedlex 2022-06-06 11:46:21 +02:00
lIlIlIlIIIIlIIIllIIlIllIIllIII
8433a2b045
adding clerk as a dependency to catala 2022-05-31 18:10:45 +02:00
lIlIlIlIIIIlIIIllIIlIllIIllIII
13b94eb469
calling using self to get the current packages. 2022-05-31 16:59:09 +02:00
lIlIlIlIIIIlIIIllIIlIllIIllIII
bf3b24a3f4
encoding clerk and ninja_utils inside nix 2022-05-31 16:56:12 +02:00