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/fix/Fix/Gensym/index.html

Module Fix.GensymSource

This module offers a simple facility for generating fresh integer identifiers.

Sourcetype gensym = unit -> int

A gensym is a generator of unique integer identifiers.

Sourceval make : unit -> gensym

make() produces a new gensym.

Sourcetype generator

A generator whose current state can be inspected (but not modified).

Sourceval generator : unit -> generator

generator() creates a new generator.

Sourceval fresh : generator -> int

fresh g causes the generator g to create and return a fresh integer identifier.

Sourceval current : generator -> int

current g returns the current state of the generator g, that is, the next available integer identifier.