package catala
Low-level language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.2.0.tar.gz
md5=4c6f725ef4d21c5ff91f60d74b454ef7
sha512=98806e03daa6f33740b80a0f78a37320fb70ebea8cb927ea8fed022673459189c32e2389ccba0fa25d93f754b0fa0128a5ee28e1bb9abefa330deb4be8cc7d95
doc/catala.literate/Literate/Html/index.html
Module Literate.Html
Source
This modules weaves the source code and the legislative text together into a document that law professionals can understand.
Helpers
Converts double lines into HTML newlines.
Raise an error if pygments cannot be found
Source
val wrap_html :
string list ->
string option ->
Cli.backend_lang ->
Format.formatter ->
(Format.formatter -> unit) ->
unit
Usage: wrap_html source_files custom_pygments language fmt wrapped
Prints an HTML complete page structure around the wrapped
content.
Performs syntax highlighting on a piece of code by using Pygments and the special Catala lexer.
Weaving
Source
val law_article_item_to_html :
string option ->
C.backend_lang ->
Format.formatter ->
A.law_article_item ->
unit
Source
val law_structure_to_html :
string option ->
C.backend_lang ->
Format.formatter ->
A.law_structure ->
unit
Source
val program_item_to_html :
string option ->
C.backend_lang ->
Format.formatter ->
A.program_item ->
unit