package catala
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Compiler and library for the literate programming language for tax code specification
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.1.0.tar.gz
md5=ec7dda88c5f7f371d2a35874cdae2a10
sha512=7cedccfbe5330992d5730441d6ba7b97446237ff5bb4579498a167f2319ec03e8fae50b7f80e3abe96833744b61ffd10719ce0c3e4c144893a4b7adc77e91b56
doc/catala.surface/Surface/Parser_state/index.html
Module Surface.Parser_stateSource
Our parser crosses the bounds of LR parsing for two features:
- attaching breadcrumbs to every position (leading titles, subtitles, etc.)
- attaching attributes to the directly following node, notwithstanding the normal syntax hierarchy
for these purposes we maintain a little bit of state and contained side-effects.
Mandatory wrapper around parser calls
Source
val new_heading :
(string * string option * bool * int) ->
(Lexing.position * Lexing.position) ->
Ast.law_heading sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>