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_AbstractSyntax/AbstractSyntax/Program/index.html
Module AbstractSyntax.Program
Source
Source
type program = {
rules : Rule.Rules.t;
pred_table : Predicate.PredIdTable.table;
const_table : ConstGen.Table.table;
i_preds : Predicate.PredIds.t;
rule_id_gen : UtilsLib.IdGenerator.IntIdGen.t;
head_to_rules : Rule.Rules.t Predicate.PredIdMap.t;
e_pred_to_rules : Rule.Rules.t Predicate.PredIdMap.t;
}
Source
type modifier = {
modified_rules : Rule.Rules.t;
new_pred_table : Predicate.PredIdTable.table;
new_const_table : ConstGen.Table.table;
new_i_preds : Predicate.PredIds.t;
new_e_preds : Predicate.PredIds.t;
new_rule_id_gen : UtilsLib.IdGenerator.IntIdGen.t;
}
is_in_idb pred prog
returns true
if the predicate pred
is an intensional predicate for the program prog
is_head pred rule
returns true if the predicate pred
matches with the head of the rule rule
match_rules pred prog
returns the set of rules of program prog
whose heads match with pred
get_rule_by_id program id
Get the rule matching the id
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>