2019-09-04 11:32:33 +03:00
opam-version: "2.0"
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 15:27:16 +03:00
version: "0.8.0"
2021-04-22 12:57:50 +03:00
synopsis:
"Compiler and library for the literate programming language for tax code specification"
2022-03-08 13:28:42 +03:00
description:
"Catala is a domain-specific language for deriving faithful-by-construction algorithms from legislative texts. See https://catala-lang.org for more information"
2020-12-14 12:59:15 +03:00
maintainer: ["contact@catala-lang.org"]
2022-02-25 16:59:56 +03:00
authors: [
"Denis Merigoux"
"Nicolas Chataing"
"Emile Rolley"
"Louis Gesbert"
"Aymeric Fromherz"
"Alain Delaët-Tixeuil"
2022-08-06 18:05:06 +03:00
"Raphaël Monat"
2022-02-25 16:59:56 +03:00
]
2020-12-23 17:37:29 +03:00
license: "Apache-2.0"
2020-04-28 16:08:12 +03:00
homepage: "https://github.com/CatalaLang/catala"
bug-reports: "https://github.com/CatalaLang/catala/issues"
2019-09-04 11:32:33 +03:00
depends: [
2023-06-08 13:06:27 +03:00
"ocolor" {>= "1.3.0"}
2022-08-02 16:15:42 +03:00
"benchmark" {>= "1.6"}
2020-12-14 12:59:15 +03:00
"bindlib" {>= "5.0.1"}
2022-05-04 18:37:03 +03:00
"cmdliner" {>= "1.1.0"}
2022-08-02 16:15:42 +03:00
"cppo" {>= "1"}
2022-09-01 16:59:00 +03:00
"dates_calc" {>= "0.0.4"}
2022-08-02 16:15:42 +03:00
"dune" {>= "2.8"}
2023-04-04 18:13:00 +03:00
"js_of_ocaml-ppx" {= "4.1.0"}
2022-08-02 16:15:42 +03:00
"menhir" {>= "20200211"}
"menhirLib" {>= "20200211"}
"ocaml" {>= "4.13.0"}
"ocamlfind" {!= "1.9.5"}
"ocamlgraph" {>= "1.8.8"}
"ppx_yojson_conv" {>= "0.14.0"}
2020-03-09 21:14:06 +03:00
"re" {>= "1.9.0"}
2022-08-02 16:15:42 +03:00
"sedlex" {>= "2.4"}
2023-01-04 19:53:10 +03:00
"uutf" {>= "1.0.3"}
2022-08-02 16:15:42 +03:00
"ubase" {>= "0.05"}
"unionFind" {>= "20200320"}
"visitors" {>= "20200210"}
2021-10-18 10:43:06 +03:00
"zarith" {>= "1.12"}
"zarith_stubs_js" {>= "v0.14.1"}
2023-03-13 15:40:10 +03:00
"crunch" {>= "3.0.0"}
2023-05-02 12:42:04 +03:00
"alcotest" {>= "1.5.0"}
2021-08-23 15:24:39 +03:00
"odoc" {with-doc}
2023-09-01 15:55:49 +03:00
"ocamlformat" {cataladevmode & = "0.26.0"}
2022-07-18 18:08:46 +03:00
"obelisk" {cataladevmode}
"conf-npm" {cataladevmode}
"conf-python-3-dev" {cataladevmode}
2022-12-19 16:49:16 +03:00
"cpdf" {cataladevmode}
2022-07-18 18:08:46 +03:00
"z3" {catalaz3mode}
2019-09-04 11:32:33 +03:00
]
2022-03-09 14:53:17 +03:00
depopts: ["z3"]
conflicts: [
"z3" {< "4.8.11"}
2023-06-18 19:33:51 +03:00
"base" {>= "v0.16.0"}
2022-03-09 14:53:17 +03:00
]
2020-03-09 21:14:06 +03:00
build: [
2021-04-22 12:57:50 +03:00
["dune" "subst"] {dev}
2020-03-09 21:14:06 +03:00
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
2020-04-28 16:08:12 +03:00
dev-repo: "git+https://github.com/CatalaLang/catala.git"
2022-07-18 18:08:46 +03:00
depexts: [
2023-08-01 17:51:39 +03:00
["groff" "latexmk" "python3-pip" "pandoc"]
2022-07-18 18:08:46 +03:00
{cataladevmode & os-family = "debian"}
2023-08-01 17:51:39 +03:00
["groff" "texlive-xetex" "texmf-dist-latexextra" "texmf-dist-pictures" "py3-pip" "py3-pygments" "pandoc-cli"]
2022-07-18 18:08:46 +03:00
{cataladevmode & os-distribution = "alpine"}
2023-08-01 17:51:39 +03:00
["groff" "latex-mk" "python-pygments" "pandoc"]
2022-07-20 13:00:02 +03:00
{cataladevmode & os-family = "arch"}
2022-07-18 18:08:46 +03:00
]