package catala
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.surface/Surface/Lexer_common/index.html
Module Surface.Lexer_common
Source
Auxiliary functions used by all lexers.
Reference, used by the lexer as the mutable state to distinguish whether it is lexing code or law.
Buffer that accumulates the string representation of the body of code being lexed. This string representation is used in the literate programming backends to faithfully capture the spacing pattern of the original program
Updates code_buffer
with the current lexeme
Error-generating helper
Associative list matching each punctuation string part of the Catala syntax with its Surface.Parser
token. Same for all the input languages (English, French, etc.)
Calculates the precedence according a matched regex of the form : '#
+'
Gets the LAW_HEADING
token from the current lexbuf
Simplified tokens for dependency extraction
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>