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.2.0-20251107.tar.gz
sha512=07f391d052090bb70c10ec511fdc53af764954cbe1c30093778984c5ed41a4327573fdac0890c6fd619ff9827725572eb7b8a7545bd8ccb7f5bddb84d2d7f7cc
doc/acgtk.datalogLib/DatalogLib/Datalog/ASRule/index.html
Module Datalog.ASRuleSource
Source
type rule = Datalog_AbstractSyntax.AbstractSyntax.Rule.rule = {id : int;lhs : Datalog_AbstractSyntax.AbstractSyntax.Predicate.predicate;e_rhs : (Datalog_AbstractSyntax.AbstractSyntax.Predicate.predicate * int) list;(*represents the extensionnal predicates of the rule. The
*)intrepresents the position in the rulei_rhs : (Datalog_AbstractSyntax.AbstractSyntax.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 ->
Datalog_AbstractSyntax.AbstractSyntax.Predicate.PredIdTable.table ->
Datalog_AbstractSyntax.ConstGen.Table.table ->
Format.formatter ->
rule ->
unitSource
val proto_rule_to_rule :
Datalog_AbstractSyntax.AbstractSyntax.Proto_Rule.t ->
Datalog_AbstractSyntax.AbstractSyntax.Predicate.PredIds.t ->
ruleset_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
Source
val get_subgoal :
rule ->
int ->
Datalog_AbstractSyntax.AbstractSyntax.Predicate.predicate * intget_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)"
>