package catala
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Compiler and library for the literate programming language for tax code specification
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.3.0.tar.gz
md5=59d0dd01df52c38a4d793b594f067d14
sha512=944b755f8b47cb14920994f03f022cc3ba6cdf5def1ae8ffda00a196fa97dcc5b57baf642a03068b79e949df2a98d5f0218e3358e549be1ff0f1cddda1e5f848
doc/CHANGELOG.html
Changes since 1.2.0
One line per change, be concise and explicit. Document only external changes in behavior visible for the end-users of the tooling.
- #1082 New lint warning for local variables (
let ... in) that are never used. - #1058 Fixes a bug in the JSON output format of enumerations yielding errors such as:
Invalid_argument("Json_encoding.construct: consequence of non exhaustive Json_encoding.string_enumandInvalid_argument("Json_encoding.construct: consequence of bad union") #1069 Revamp of the
--tracemechanism:- Added support in the
Javabackend; - Added
clerk run --trace ...options.
- Added support in the
- #1075 Fixes a bug where, for large Catala programs, the java generated code is too large and would yield "code too large" error. We now split large methods into smaller methods whenever necessary. Also, removed law headings from positions in Java (same as C).
#1072 Handling of dependencies between Clerk targets:
Changes in
clerk.toml:- added a
target.dependenciesfield - removed the
target.include_sourcesandtarget.include_objectsfields. The new--objCLI flag can now be used to install compiled objects to the targets directory - added a global
include_sourcesfield (on by default) - added a global project
namefield
- added a
- Multiple targets and/or backends can now be specified to
clerkcommandsbuild,testandrun clerknow also allows--backend allto compile/test/run all compatible backends- When building targets defined in
clerk.toml,clerk buildnow generates library definition files in OCaml and Python (Java (#1093) and C (#1099) have been added in subsequent PRs) - In general, better handling of caching and faster builds (made sure in particular that the underlying
ninjabuild process is run only once)
- #1087 Escape non-ascii characters in Java backend strings as unicode. All Java strings are now agnostic of encodings.
- #1092 Fixes a bug in the
--gen-externaltemplate generator where the generated OCaml code did not match theExternalTypefunctor signature:equalandcomparewere missing the_posparameter, andfrom_jsonhad incorrect signature_pos tinstead of_pos _s. #1093 Improvements over java target generation:
- Added in the generated java target files the proper package and import declaration relative to, resp., their own package and (transitive) dependencies.
- Following #1072, building java targets now also generates a
mavenfile (pom.xml) which can be used to easily compile and generatejarfiles.
#1110 Changes in
clerk.toml:include_dirsis now recursive and defaults to the project rootexclude_dirsis now available- they no longer control visibility, but the directories that will be scanned for sources by
clerk.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>