package memgraph

  1. Overview
  2. Docs
A small library to inspect memory representation of ocaml values

Install

Dune 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

Published: 31 Jan 2023

README

README.md

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.

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).

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

Used by (1)

  1. memgraph_kitty

Conflicts

None

OCaml

Innovation. Community. Security.