package memgraph

All checked builds pass
  1. Overview
  2. Docs
A small library to inspect memory representation of ocaml values

Install

dune-project
 Dependency

Authors

Maintainers

Sources

memgraph-1.0.tbz
sha256=5e53bb092d0a5f8c025a7b17118c068c7d998cf47f459e9d634fdd26dc84af26
sha512=407382d1fb7de266983949f57d4ff882a4666b5cfea8845a75c67d397f055d9b00c9a2d4aff5ce7f3c2d198f1a4a8a921ff0ac5cd10c82a5a75b471e9b900a43

Description

Memgraph allows one to inspect an ocaml value and get a representation of its layout in memory, and helpers to dump such representation as dot files to easily print them as graphs

Added to opam-repository:

README

Build

Memgraph

A small library to output memory graph for ocaml values. Memgraph can be used to generate graphs that represent the memory layout of any valid ocaml value. Memgraph can produce .dot files that can then be processed using the graphviz suite of tools to generate images of the memory graph of ocaml values.

You can look at the examples folder to see how to use memgraph.

example

Memgraph & Kitty

For users of the kitty terminal emulator, you can use the Memgraph_kitty package and library to show the memory graph directly in a toplevel session (using ocaml or utop for instance).

kitty

WARNING: using this module in a terminal other thank kitty may lead to weird behaviour, such as filling your screen with weird characters.

Dependencies (2)

  1. ocaml >= "4.12.0"
  2. dune >= "2.7"

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies

None

Used by (1)

  1. memgraph_kitty

Conflicts

None

Build status

Results of building memgraph with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
1.0 (this version) n/a good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure