package acgtk
Abstract Categorial Grammar development toolkit
Install
Dune Dependency
Authors
Maintainers
Sources
acg-2.1.0-20240219.tar.gz
sha512=5d380a947658fb1201895cb4cb449b1f60f54914c563e85181d628a89f045c1dd7b5b2226bb7865dd090f87caa9187e0ea6c7a4ee3dc3dda340d404c4e76c7c2
doc/acgtk.magicRewriting/MagicRewriting/Adornment/index.html
Module MagicRewriting.Adornment
Source
This module implements free/bound adornments
status_to_string st
returns a string describing the status (basically either "f"
or "b"
).
adornment ~bound_variables pred
returns a pair (bindings, new_bound_variables)
where bindings
is the status of each of the parameters of the predicate pred
according to the bound_variables
set, and new_bound_variables is the bound_variables
augmented with the variables occuring as parameters of pred
.
compare ad1 ad2
returns 0 if the adornments are equal, -1 if ad1
is smaller than ad2
, and 1 otherwise.
to_string ad
returns a string (a word made of b
's and f
's) describing the adornment.
Source
val adorned_predicate_to_string :
pred_table:ASPred.PredIdTable.table ->
(ASPred.predicate * t) ->
string
adorned_predicate_to_string ~pred_table ad
returns the string corresponding to the adorned predicate.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>