package lrgrep

  1. Overview
  2. Docs
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/Lrc/index.html

Module Kernel.LrcSource

Sourcetype 'g n
Sourcetype ('g, 'n) t = {
  1. lr1_of : ('n, 'g Info.lr1 Fix.Indexing.index) Fix.Indexing.vector;
  2. lrcs_of : ('g Info.lr1, 'n Utils.Misc.indexset) Fix.Indexing.vector;
  3. all_wait : 'n Utils.Misc.indexset;
  4. all_leaf : 'n Utils.Misc.indexset;
  5. all_successors : ('n, 'n Utils.Misc.indexset) Fix.Indexing.vector;
  6. reachable_from : ('n, 'n Utils.Misc.indexset) Fix.Indexing.vector;
}
Sourceval make : 'g Info.grammar -> 'g Reachability.t -> ('g, 'g n) t
Sourceval to_string : 'g Info.grammar -> ('g, 'g n) t -> 'g n Fix.Indexing.index -> string
Sourceval set_to_string : 'g Info.grammar -> ('g, 'g n) t -> 'g n Utils.Misc.indexset -> string
Sourcetype 'n entrypoints = {
  1. reachable : 'n Utils.Misc.indexset;
  2. wait : 'n Utils.Misc.indexset;
  3. entrypoints : 'n Utils.Misc.indexset;
  4. successors : ('n, 'n Utils.Misc.indexset) Fix.Indexing.vector;
  5. predecessors : ('n, 'n Utils.Misc.indexset) Fix.Indexing.vector;
  6. some_prefix : 'n Fix.Indexing.index -> 'n Fix.Indexing.index list;
}
Sourceval from_entrypoints : 'g Info.grammar -> ('g, 'n) t -> 'n Utils.Misc.indexset -> 'n entrypoints
Sourceval check_deterministic : 'g Info.grammar -> 'g Reachability.t -> unit
Sourcetype 'g mlrc
Sourceval make_minimal : 'g Info.grammar -> 'g Reachability.t -> ('g, 'g mlrc) t
Sourceval check_equivalence : 'g Info.grammar -> ('g, 'n1) t -> ('g, 'n2) t -> 'n1 Utils.Misc.indexset -> 'n2 Utils.Misc.indexset -> unit