package lrgrep
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Analyse the stack of a Menhir-generated LR parser using regular expressions
Install
dune-project
Dependency
Authors
Maintainers
Sources
lrgrep-0.3.tbz
sha256=84a1874d0c063da371e19c84243aac7c40bfcb9aaf204251e0eb0d1f077f2cde
sha512=5a16ff42a196fd741bc64a1bdd45b4dca0098633e73aa665829a44625ec15382891c3643fa210dbe3704336eab095d4024e093e37ae5313810f6754de6119d55
doc/kernel/Kernel/Automata/Machine/index.html
Module Automata.MachineSource
Source
type ('g, 'r) label = {filter : 'g Info.lr1 Utils.Misc.indexset;(*The set of lr1 states that allow this transition to be taken.
*)captures : (Regexp.Capture.t * Lrgrep_support.Register.t) list;(*The set of variables captured, and the register in which to store the variable, when the transition is taken.
*)clear : Lrgrep_support.Register.set;(*The set of registers to clear when the transition is taken.
*)moves : Lrgrep_support.Register.t Lrgrep_support.Register.map;(*Registers to move when taking this transition. The source register is used as a key and the target as a value.
*)priority : (('g, 'r) Spec.branch Fix.Indexing.index * priority * priority) list;(*Dynamic priority levels to remap. An element (c, p1, p2) means that a match of clause
*)cat priorityp1in the source state corresponds to a match at priorityp2in the target state.
}Source
type ('g, 'r, 'st, 'tr) t = {initial : 'st Fix.Indexing.index option;source : ('tr, 'st Fix.Indexing.index) Fix.Indexing.vector;target : ('tr, 'st Fix.Indexing.index) Fix.Indexing.vector;label : ('tr, ('g, 'r) label) Fix.Indexing.vector;unhandled : ('st, 'g Info.lr1 Utils.Misc.indexset) Fix.Indexing.vector;outgoing : ('st, 'tr Utils.Misc.indexset) Fix.Indexing.vector;accepting : ('st, (('g, 'r) Spec.branch Fix.Indexing.index * priority * Lrgrep_support.Register.t Regexp.Capture.map) list) Fix.Indexing.vector;branches : ('st, (('g, 'r) Spec.branch Fix.Indexing.index * bool * Lrgrep_support.Register.t Regexp.Capture.map) list) Fix.Indexing.vector;register_count : int;partial_captures : Regexp.Capture.set;
}Source
val minimize :
('g, 'r) Spec.branches ->
('g, 'r, 'dfa) DFA.t ->
('g, 'r, 'dfa) Dataflow.t ->
('g, 'r) _t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>