package catala
Compiler and library for the literate programming language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.8.0.tar.gz
md5=1408a1cce45c7d5990b981e83e7589c2
sha512=eb3b923aa1f743378b4a05e30f50be5d180dc862a716270d747a90e469017f42fa5fc41352f02fbbf59cd2560f91c4f1b32cf38d80085b105d9387b0aed2039d
doc/catala.runtime_jsoo/Runtime_jsoo/Runtime/index.html
Module Runtime_jsoo.Runtime
Source
A js_of_ocaml wrapper around the Runtime_ocaml.Runtime
.
Log events
Information about the position of the log inside the Catala source file.
Wrapper for the Runtime_ocaml.Runtime.raw_event
-- directly collected during the program execution.
Wrapper for the Runtime_ocaml.Runtime.event
-- structured log event parsed from the raw_event
ones.
JS object usable to retrieve and reset log events.
Duration
Simple JSOO wrapper around Runtime_ocaml.Runtime.duration
.
Date conversion
Date values are encoded to a string in the ISO8601 format: 'YYYY-MM-DD'.
Error management
execute_or_throw_error f
calls f ()
and propagates the Runtime_ocaml.Runtime.NoValueProvided
, Runtime_ocaml.Runtime.ConflictError
Runtime_ocaml.Runtime.AssertionFailed
exceptions by raising a JS error if needed.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page