package acgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Abstract Categorial Grammar development toolkit
Install
dune-project
Dependency
Authors
Maintainers
Sources
acg-2.1.0-20240219.tar.gz
sha512=5d380a947658fb1201895cb4cb449b1f60f54914c563e85181d628a89f045c1dd7b5b2226bb7865dd090f87caa9187e0ea6c7a4ee3dc3dda340d404c4e76c7c2
doc/acgtk.datalogLib/DatalogLib/Datalog_AbstractSyntax/AbstractSyntax/Rule/index.html
Module AbstractSyntax.RuleSource
Source
type rule = {id : int;lhs : Predicate.predicate;e_rhs : (Predicate.predicate * int) list;(*represents the extensionnal predicates of the rule. The
*)intrepresents the position in the rulei_rhs : (Predicate.predicate * int) list;(*represents the intensionnal predicates of the rule. The
*)intrepresents the position in the rulei_rhs_num : int;(*stores the number of intensional predicates occurring in the rule
*)rhs_num : int;(*stores the number of predicates occurring in the rule body
*)
}Source
val pp :
?with_position:bool ->
?with_id:bool ->
?with_arity:bool ->
Predicate.PredIdTable.table ->
ConstGen.Table.table ->
Format.formatter ->
rule ->
unitSource
val extend_head_id_map_to_rules :
Predicate.pred_id ->
rule ->
Rules.t Predicate.PredIdMap.t ->
Rules.t Predicate.PredIdMap.tset_new_id id rule returns a rule similar to rule except that its id is id
Source
val set_new_id_from_gen :
rule ->
UtilsLib.IdGenerator.IntIdGen.t ->
rule * UtilsLib.IdGenerator.IntIdGen.tset_new_id_from_gen returns pair (rule',from_gen') wherer rule' is a rule similar to rule excepts that it has a new id generated from from_gen generator, and the latter has been updated to from_gen'.
get_variables_in_rule rule returns the set of variables in the rule rule
get_subgoal rule i returns the predicate at the position i in the body of the rule rule
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>