package catala
All checked builds pass sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Compiler and library for the literate programming language for tax code specification
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.3.2.tar.gz
md5=4f8ba5a733ebdb5c115241162f618d6e
sha512=a091173c7f0a7ef3842849a72250e4fb2da65776f8b7423f5d2473234aa1e842eee63c424640622e89fd1059a6a442831d339bdb8406fb1b362efc0073058637
doc/catala.desugared/Desugared/Dependency/index.html
Module Desugared.DependencySource
Scope dependencies computations using OCamlgraph
Scope variables dependency graph
Graph declaration
Vertices: scope variables or subscopes.
The vertices of the scope dependency graph are either :
- the variables of the scope ;
- the subscopes of the scope.
Indeed, during interpretation, subscopes are executed atomically.
On the edges, the label is the position of the expression responsible for the use of the variable. In the graph, x -> y if x is used in the definition of y.
Module of the graph, provided by OCamlGraph
Graph computations
Returns an ordering of the scope variables and subscope compatible with the dependencies of the computation
Returns an ordering of the scope variables and subscope compatible with the dependencies of the computation
Outputs an error in case of cycles.
Builds the dependency graph of a particular scope
Exceptions dependency graph
Source
module ExceptionsDependencies :
Graph.Sig.P
with type V.t = ExceptionVertex.t
and type E.label = EdgeExceptions.tSource
val build_exceptions_graph :
Ast.rule Shared_ast.RuleName.Map.t ->
Ast.ScopeDef.t ->
ExceptionsDependencies.tSource
val check_for_exception_cycle :
Ast.rule Shared_ast.RuleName.Map.t ->
ExceptionsDependencies.t ->
unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page