A small library to output memory graph for ocaml values
  • OCaml 93.9%
  • Dune 4.8%
  • Makefile 1.3%
Find a file
2024-06-28 13:38:47 +02:00
.github/workflows Remove doc update from CI (doc update on releases should be enough) 2023-01-30 18:26:44 +01:00
doc Add some doc for closure representation 2021-12-24 19:56:56 +01:00
examples typo 2024-06-28 13:38:47 +02:00
src Tweaks for non-{bytecode,native} backends 2024-01-19 17:11:47 +01:00
.gitignore Cleanup + LICENSE + switch from ocamlbuild to dune 2020-09-09 15:01:08 +02:00
CHANGES.md Update version number in CHANGES 2023-01-30 17:24:29 +01:00
dune Try and fix workflow 2020-09-11 21:12:08 +02:00
dune-project Update lower bound on ocaml 2023-01-31 23:18:02 +01:00
LICENSE Cleanup + LICENSE + switch from ocamlbuild to dune 2020-09-09 15:01:08 +02:00
Makefile Update to dune>=2.7 2020-09-11 20:38:10 +02:00
memgraph.opam Update lower bound on ocaml 2023-01-31 23:18:02 +01:00
memgraph_kitty.opam Update lower bound on ocaml 2023-01-31 23:18:02 +01:00
README.md fix typos 2023-11-13 15:06:18 +01:00
TODO Cleanup + LICENSE + switch from ocamlbuild to dune 2020-09-09 15:01:08 +02:00

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 than kitty may lead to weird behaviour, such as filling your screen with weird characters.