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.10.0.tar.gz
md5=5abd76e8c51a47670645e91b21b57fc5
sha512=9c6fbe50c0b5a60566e877eeddadca0a339e2ce35deb5c1beceb03bc40eb6af2d519313e71859d88645b53fad591d4fa5288c633b185c9d765603da0f5b7dd7b

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

Sourcetype vertex =
  1. | Scope of Shared_ast.ScopeName.t
  2. | Topdef of Shared_ast.TopdefName.t

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

Sourceval build_program_dep_graph : 'm Ast.program -> SDependencies.t
Sourceval check_for_cycle_in_defs : SDependencies.t -> unit
Sourceval get_defs_ordering : SDependencies.t -> vertex 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 : Shared_ast.typ -> TVertexSet.t
Sourceval check_type_cycles : Shared_ast.struct_ctx -> Shared_ast.enum_ctx -> TVertex.t list
OCaml

Innovation. Community. Security.