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/Enumeration/index.html
Module Kernel.EnumerationSource
Source
type ('g, 'lrc) kernel = {lrc : 'lrc Fix.Indexing.index;nto : 'g Info.nonterminal Fix.Indexing.opt Fix.Indexing.index;lookahead : 'g Info.terminal Utils.Misc.indexset;
}Source
val kernel :
'a Fix.Indexing.index ->
?goto:int ->
'b Info.terminal Utils.Misc.indexset ->
('b, 'a) kernelSource
type ('lrc, 'n) edge = {path : 'lrc Fix.Indexing.index list;source : 'n Fix.Indexing.index;target : 'n Fix.Indexing.index;
}Source
type ('g, 'lrc, 'a, 'n) _graph = {ker : ('n, ('g, 'lrc) kernel) Fix.Indexing.vector;fwd : ('n, ('lrc, 'n) edge list) Fix.Indexing.vector;bkd : ('n, ('lrc, 'n) edge list) Fix.Indexing.vector;entries : 'a array;
}Source
val make_graph :
'g Info.grammar ->
('g Info.lr1, 'g Redgraph.reduction_closure) Fix.Indexing.vector ->
('g, 'lrc) Automata.stacks ->
(('g, 'lrc) kernel * 'a) list ->
('g, 'lrc, 'a) graphSource
val get_lr1_state :
'a Kernel__Info.grammar ->
('a, 'b) Automata.stacks ->
('a, 'b) kernel ->
'a Info.lr1 Fix.Indexing.indexSource
val get_lr0_state :
'a Kernel__Info.grammar ->
('a, 'b) Automata.stacks ->
('a, 'b) kernel ->
'a Kernel__Info.lr0 Fix.Indexing.indexSource
val get_failing :
'a Kernel__Info.grammar ->
('a, 'b) Automata.stacks ->
('a Info.lr1, 'c Redgraph.reduction_closure) Fix.Indexing.Vector.t ->
('a, 'b) kernel ->
'c Info.terminal Utils.Misc.indexsetSource
type ('g, 'lrc, 'a, 'n) failing_sentence = {first : 'n Fix.Indexing.index;pattern : 'g Info.lr0 Fix.Indexing.index;edges : ('lrc, 'n) edge list;failing : 'g Info.terminal Utils.Misc.indexset;entry : 'a;
}Source
val make_failing_sentence :
('a, 'b, 'c, 'd) _graph ->
('e Fix.Indexing.index
* 'f Info.lr0 Fix.Indexing.index
* ('g, 'e) edge list
* 'f Info.terminal Utils.Misc.indexset) ->
('f, 'g, 'c, 'e) failing_sentenceSource
val cover_with_maximal_patterns :
'a Kernel__Info.grammar ->
('a Info.lr1, 'a Redgraph.reduction_closure) Fix.Indexing.Vector.t ->
('a, 'b) Automata.stacks ->
('a, 'b, 'c, 'd) _graph ->
('a, 'b, 'c, 'd) failing_sentence listSource
type ('g, 'a) dispenser = {fallible0 : ('g Info.lr0, 'g Info.terminal Utils.Misc.indexset) Fix.Indexing.vector;mutable next : 'a Stdlib.Seq.t;
}Source
val mark_sentence_covered :
'a Kernel__Info.grammar ->
('a, 'b) Automata.stacks ->
('a, 'b, 'c, 'd) _graph ->
('a, 'e) dispenser ->
('a, 'f, 'g, 'd) failing_sentence ->
unitSource
val cover_all :
'g Kernel__Info.grammar ->
('g Info.lr1, 'g Redgraph.reduction_closure) Fix.Indexing.Vector.t ->
('g, 'a) Automata.stacks ->
('g, 'a, 'b, 'n) _graph ->
('g, ('g, 'a, 'b, 'n) failing_sentence) dispenser sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>