Commit Graph

29 Commits

Author SHA1 Message Date
adelaett
363ece217e
fix nix environment 2023-11-16 16:52:23 +01:00
adelaett
2911003088
add ocolor as a dependency 2023-07-31 16:19:06 +02:00
Denis Merigoux
107ff95dc4
Remove dependency on ppx_expect and use alcotest instead 2023-04-21 10:37:31 +02:00
adelaett
a9809b69a9
Merge branch 'master' into adelaett-withoutexceptionsfix 2023-04-14 11:19:58 +02:00
adelaett
3e35d4b826
Merge branch 'master' into adelaett-withoutexceptionsfix 2023-04-11 11:49:22 +02:00
adelaett
12d85570e8 fix printing boxes & merge issues 2023-04-07 10:51:21 +02:00
alain
ec40de83fc
Merge branch 'master' into adelaett-withoutexceptionsfix 2023-04-06 13:57:22 +02:00
adelaett
06147ac5b6 typing working in the file, but does not accept
Lcalc for some reason
2023-04-05 10:32:52 +02:00
Alex
70c807b684 Add ocaml-crunch to build deps 2023-04-04 11:02:58 +00:00
adelaett
61830bc348 fixing runtime merge errors 2023-03-30 11:02:35 +02:00
adelaett
72ceafd67c scopes does not return optional terms 2023-03-23 10:45:44 +01:00
adelaett
61ad00f277 unit test infrastructure for optimization 2023-03-17 17:19:50 +01:00
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
78f121b44a before any issues with mark on code_item 2023-03-03 11:39:55 +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