2022-02-25 20:00:10 +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"
|
2022-03-07 21:40:29 +03:00
|
|
|
synopsis:
|
|
|
|
"Build system for Catala, a specification language for tax and social benefits computation rules"
|
|
|
|
description:
|
|
|
|
"Clerk is a build system for Catala, a specification language for tax and social benefits computation rules, see https://catala-lang.org"
|
2022-02-25 20:00:10 +03:00
|
|
|
maintainer: ["contact@catala-lang.org"]
|
|
|
|
authors: ["Emile Rolley" "Denis Merigoux"]
|
|
|
|
license: "Apache-2.0"
|
|
|
|
homepage: "https://github.com/CatalaLang/catala"
|
|
|
|
bug-reports: "https://github.com/CatalaLang/catala/issues"
|
|
|
|
depends: [
|
|
|
|
"dune" {>= "2.8"}
|
|
|
|
"ocaml" {>= "4.11.0"}
|
2022-05-04 18:37:03 +03:00
|
|
|
"cmdliner" {>= "1.1.0"}
|
2022-02-25 20:00:10 +03:00
|
|
|
"re" {>= "1.9.0"}
|
2023-06-08 13:06:27 +03:00
|
|
|
"ocolor" {>= "1.3.0"}
|
2022-02-25 22:06:03 +03:00
|
|
|
"alcotest" {with-test & >= "1.5.0"}
|
2022-02-25 20:00:10 +03:00
|
|
|
"catala" {= version}
|
2022-03-08 13:28:42 +03:00
|
|
|
"ninja_utils" {= version}
|
2022-02-25 20:00:10 +03:00
|
|
|
"odoc" {with-doc}
|
|
|
|
]
|
|
|
|
build: [
|
|
|
|
["dune" "subst"] {dev}
|
|
|
|
[
|
|
|
|
"dune"
|
|
|
|
"build"
|
|
|
|
"-p"
|
|
|
|
name
|
|
|
|
"-j"
|
|
|
|
jobs
|
|
|
|
"@install"
|
|
|
|
"@runtest" {with-test}
|
|
|
|
"@doc" {with-doc}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
dev-repo: "git+https://github.com/CatalaLang/catala.git"
|
2022-07-18 18:08:46 +03:00
|
|
|
depexts: [
|
|
|
|
["ninja-build"] {os-family = "debian"}
|
|
|
|
["samurai"] {os-distribution = "alpine"}
|
|
|
|
]
|