https://github.com/kach/boxcars
Lively box-and-pointer diagrams for Racket.
https://github.com/kach/boxcars
Last synced: 5 months ago
JSON representation
Lively box-and-pointer diagrams for Racket.
- Host: GitHub
- URL: https://github.com/kach/boxcars
- Owner: kach
- License: mit
- Created: 2016-03-01T03:50:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-01T03:51:16.000Z (over 10 years ago)
- Last Synced: 2025-01-28T20:41:29.217Z (over 1 year ago)
- Language: Racket
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Boxcars
=======
**Boxcars** is a simple, lightweight Racket box-and-pointer-diagram rendering
tool to help you visualize what's going on with complex pair structures. Pairs
are drawn with a force-directed layout to keep things tidy, but also lively.
Invoke Boxcars with `(require "boxcars.rkt")` to import it, causing a window to
pop up, and `(box-and-pointer-diagram! '(1 2 3))` to load up a pair to inspect.
Boxcars works with both normal pairs and mutable `mpair`s, so you can mutate
data structures and see how they affect the diagram instantaneously.
This project is completely free to use, and MIT-licensed. Enjoy!