package elpi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=6c68078b96d4c179734d829b25aad06c36e7fabd1c6385d2d6c0074a5112f7b9
sha512=761415b8a54ae8ebea0f387e531c4872116cac8406e467e2cde959821c497849558990870d88de673a5890e43cc712d475a1afcbdef0c2303e1d8210927aa967
doc/elpi_trace_atd/Elpi_trace_atd/Trace_atd/index.html
Module Elpi_trace_atd.Trace_atdSource
and chr = {chr_failed_attempts : chr_attempt list;chr_successful_attempts : successful_chr_attempt list;chr_store_before : goal list;chr_store_after : goal list;
}and successful_chr_attempt = {chr_attempt : chr_attempt;chr_removed_goals : goal_id list;chr_new_goals : goal list;
}Output a JSON value of type builtin_kind.
Serialize a value of type builtin_kind into a JSON string.
Input JSON data of type builtin_kind.
Deserialize JSON data of type builtin_kind.
Output a JSON value of type builtin_rule.
Serialize a value of type builtin_rule into a JSON string.
Input JSON data of type builtin_rule.
Deserialize JSON data of type builtin_rule.
val create_builtin_rule :
name:string ->
kind:builtin_kind ->
payload:string list ->
unit ->
builtin_ruleCreate a record of type builtin_rule.
Serialize a value of type chr_text into a JSON string.
Input JSON data of type chr_text.
Serialize a value of type color into a JSON string.
Input JSON data of type color.
Output a JSON value of type file_location.
Serialize a value of type file_location into a JSON string.
Input JSON data of type file_location.
Deserialize JSON data of type file_location.
val create_file_location :
filename:string ->
line:int ->
column:int ->
character:int ->
unit ->
file_locationCreate a record of type file_location.
Serialize a value of type goal_id into a JSON string.
Input JSON data of type goal_id.
Serialize a value of type event into a JSON string.
Input JSON data of type event.
Serialize a value of type goal into a JSON string.
Input JSON data of type goal.
Create a record of type goal.
Output a JSON value of type goal_text.
Serialize a value of type goal_text into a JSON string.
Input JSON data of type goal_text.
Serialize a value of type outcome into a JSON string.
Input JSON data of type outcome.
Serialize a value of type resume into a JSON string.
Input JSON data of type resume.
Output a JSON value of type rule_text.
Serialize a value of type rule_text into a JSON string.
Input JSON data of type rule_text.
Output a JSON value of type runtime_id.
Serialize a value of type runtime_id into a JSON string.
Input JSON data of type runtime_id.
Deserialize JSON data of type runtime_id.
Output a JSON value of type solution_text.
Serialize a value of type solution_text into a JSON string.
Input JSON data of type solution_text.
Deserialize JSON data of type solution_text.
Serialize a value of type step_id into a JSON string.
Input JSON data of type step_id.
Serialize a value of type location into a JSON string.
Input JSON data of type location.
Output a JSON value of type user_rule.
Serialize a value of type user_rule into a JSON string.
Input JSON data of type user_rule.
Create a record of type user_rule.
Serialize a value of type cutted into a JSON string.
Input JSON data of type cutted.
Create a record of type cutted.
Serialize a value of type cut into a JSON string.
Input JSON data of type cut.
Create a record of type cut.
Serialize a value of type rule into a JSON string.
Input JSON data of type rule.
Serialize a value of type attempt into a JSON string.
Input JSON data of type attempt.
Create a record of type attempt.
Serialize a value of type frame into a JSON string.
Input JSON data of type frame.
Create a record of type frame.
Serialize a value of type stack into a JSON string.
Input JSON data of type stack.
Output a JSON value of type successful_attempt.
Serialize a value of type successful_attempt into a JSON string.
val read_successful_attempt :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
successful_attemptInput JSON data of type successful_attempt.
Deserialize JSON data of type successful_attempt.
val create_successful_attempt :
attempt:attempt ->
siblings:goal list ->
siblings_aggregated_outcome:outcome ->
unit ->
successful_attemptCreate a record of type successful_attempt.
Output a JSON value of type inference.
Serialize a value of type inference into a JSON string.
Input JSON data of type inference.
val create_inference :
current_goal_id:goal_id ->
current_goal_text:goal_text ->
current_goal_predicate:string ->
failed_attempts:attempt list ->
successful_attempts:successful_attempt list ->
more_successful_attempts:step_id list ->
?more_failing_attempts:step_id list ->
stack:stack ->
unit ->
inferenceCreate a record of type inference.
Serialize a value of type suspend into a JSON string.
Input JSON data of type suspend.
val create_suspend :
suspend_goal_id:goal_id ->
suspend_goal_text:goal_text ->
suspend_sibling:goal ->
suspend_stack:stack ->
unit ->
suspendCreate a record of type suspend.
Serialize a value of type card into a JSON string.
Input JSON data of type card.
val create_card :
step_id:step_id ->
runtime_id:runtime_id ->
step:step ->
color:color ->
unit ->
cardCreate a record of type card.
Serialize a value of type chr into a JSON string.
Input JSON data of type chr.
val create_chr :
chr_failed_attempts:chr_attempt list ->
chr_successful_attempts:successful_chr_attempt list ->
chr_store_before:goal list ->
chr_store_after:goal list ->
unit ->
chrCreate a record of type chr.
Output a JSON value of type chr_attempt.
Serialize a value of type chr_attempt into a JSON string.
Input JSON data of type chr_attempt.
Deserialize JSON data of type chr_attempt.
val create_chr_attempt :
chr_text:chr_text ->
chr_loc:file_location ->
chr_condition_cards:trace ->
unit ->
chr_attemptCreate a record of type chr_attempt.
Serialize a value of type findall into a JSON string.
Input JSON data of type findall.
val create_findall :
findall_goal_id:goal_id ->
findall_goal_text:goal_text ->
findall_cards:trace ->
findall_solution_text:solution_text ->
findall_stack:stack ->
unit ->
findallCreate a record of type findall.
Serialize a value of type step into a JSON string.
Input JSON data of type step.
Output a JSON value of type successful_chr_attempt.
Serialize a value of type successful_chr_attempt into a JSON string.
val read_successful_chr_attempt :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
successful_chr_attemptInput JSON data of type successful_chr_attempt.
Deserialize JSON data of type successful_chr_attempt.
val create_successful_chr_attempt :
chr_attempt:chr_attempt ->
chr_removed_goals:goal_id list ->
chr_new_goals:goal list ->
unit ->
successful_chr_attemptCreate a record of type successful_chr_attempt.
Serialize a value of type trace into a JSON string.
Input JSON data of type trace.
Serialize a value of type stop into a JSON string.
Input JSON data of type stop.
Serialize a value of type kind into a JSON string.
Input JSON data of type kind.
Serialize a value of type item into a JSON string.
Input JSON data of type item.
val create_item :
step:int ->
kind:kind list ->
goal_id:int ->
runtime_id:int ->
name:string ->
payload:string list ->
unit ->
itemCreate a record of type item.
Output a JSON value of type raw_trace.
Serialize a value of type raw_trace into a JSON string.
Input JSON data of type raw_trace.