package acgtk
Abstract Categorial Grammar development toolkit
Install
Dune Dependency
Authors
Maintainers
Sources
acg-2.1.0-20240219.tar.gz
sha512=5d380a947658fb1201895cb4cb449b1f60f54914c563e85181d628a89f045c1dd7b5b2226bb7865dd090f87caa9187e0ea6c7a4ee3dc3dda340d404c4e76c7c2
doc/acgtk.datalogLib/DatalogLib/Datalog/Make/Rule/index.html
Module Make.Rule
Source
Source
type rule = {
id : int;
lhs : Predicate.predicate;
e_rhs : (Predicate.predicate * int) list;
i_rhs : (Predicate.predicate * int) list;
i_rhs_num : int;
content : Datalog_AbstractSyntax.ConstGen.id UF.t;
}
make_rule r
returns an internal rule, that is one whose content is now a UnionFind.S
indexed data structure. It is ensured that the id of the generated concrete rule is the same as the one of the abstract rule.
Source
val immediate_consequence_of_rule :
rule ->
FactArray.row Predicate.PredMap.t ->
ASPred.predicate list
to_abstract r table
returns a datalog abstract syntax rule where the arguments of all (datalog abstract syntax) predicates have been computed using r.content
and the symbol are the one stored in table
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>