package catala

  1. Overview
  2. Docs
Compiler and library for the literate programming language for tax code specification

Install

Dune Dependency

Authors

Maintainers

Sources

0.6.0.tar.gz
md5=b22e238d5d5c8452067109e9c7c0f427
sha512=ccc8c557c67c2f9d1bed4b957b2367f0f6afc0ef9b8b83237cf2a2912b3e8829b7e8af78ea7fe00b20ecf28b436ad04b591e5fff4f82fd08725d40a18c9924d0

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.