package catala

  1. Overview
  2. Docs
Low-level language for tax code specification

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.0.tar.gz
md5=4a2c5495f30d8fc2e3bf977df6e602f9
sha512=8dcc404b6068b9dbd76982ade60d8fba1950fdd0a8a626db17429120483367dce1f51997e96d7b8ee5308f305c3bcbb897ef85336f25e9ef3681f4cb9237f56a

doc/catala.scopelang/Scopelang/Dependency/index.html

Module Scopelang.DependencySource

Graph representation of the dependencies between scopes in the Catala program. Vertices are functions, x -> y if x is used in the definition of y.

Scope dependencies

On the edges, the label is the expression responsible for the use of the function

Sourceval build_program_dep_graph : Ast.program -> SDependencies.t
Sourceval check_for_cycle_in_scope : SDependencies.t -> unit
Sourceval get_scope_ordering : SDependencies.t -> Scopelang.Ast.ScopeName.t list

Type dependencies

Sourcemodule TVertex : sig ... end
Sourcemodule TVertexSet : Set.S with type elt = TVertex.t

On the edges, the label is the expression responsible for the use of the function

Sourceval get_structs_or_enums_in_type : Ast.typ Utils.Pos.marked -> TVertexSet.t
Sourceval check_type_cycles : Ast.struct_ctx -> Ast.enum_ctx -> TVertex.t list
OCaml

Innovation. Community. Security.