A moldable Common Lisp object inspector based on CLOG
Konrad Hinsen b369f0a425 Auto-version JS and CSS assets
Workaround for browser caching
2025-12-01 20:23:00 +01:00
svg New maximize icon 2024-04-25 16:30:50 +02:00
.gitignore Initial commit 2024-02-08 17:10:31 +00:00
builder-install.lisp Add file inspector to the CLOG builder 2024-06-06 11:32:23 +02:00
clog-moldable-inspector.asd Remove tutorial (now a HyperDoc) 2025-09-10 18:05:43 +02:00
inspector.lisp Revert 90db21f921 2025-10-27 15:12:46 +01:00
LICENSE License change to BSD, for compatibility with CLOG 2024-04-24 14:47:52 +02:00
package.lisp Remove tutorial (now a HyperDoc) 2025-09-10 18:05:43 +02:00
playground.lisp Change priority of playground views 2025-11-10 12:19:24 +01:00
README.md Updated README 2024-11-15 09:37:49 +01:00
screenshot-tutorial.png Update README 2024-06-20 15:43:32 +02:00
svg-buttons.lisp Remove compiler warnings 2024-09-23 17:06:54 +02:00
utilities.lisp Refactor around classes for inspectors and panes 2024-05-28 16:55:15 +02:00
views.lisp Auto-version JS and CSS assets 2025-12-01 20:23:00 +01:00

clog-moldable-inspector

A moldable Common Lisp object inspector based on CLOG. The inspector is thus shown in a Web browser.

Warning: this package is in active development. Many details are likely to change in the future. I am not making any promises about backwards compatibility at this time.

Dependencies

You can install clog-moldable-inspector from Ultralisp. If you prefer a more manual installation, here is the list of dependencies:

  • clog, which you can install via Quicklisp or by any other means you may prefer.
  • clog-ace, which you should get directly from GitHub because the inspector depends on recent additions to it.
  • html-inspector-views, which defines the (small) infrastructure for defining views and also most of the views used by the inspector. Separate systems and packages for view definitions avoid making clog-moldable-inspector and thus clog dependencies of every piece of code that implements custom views.

Usage

(asdf:load-system :clog-moldable-inspector)
(clog-moldable-inspector:tutorial)

Examples of view definitions

html-inspector-views contains many views for data types from the Common Lisp standard (lists, vectors, hash tables, pathnames, systems, packages, etc.). The names of view definitions have a common prefix (the "eyes" emoji 👀), so they are easy to spot.

My malleable-message-manager has views for various Mastodon data types in the file inspector-views.lisp.

Motivation

While this is a generic Common Lisp object inspector, much like Clouseau), my motivation for developing it is more specific: I want to make it easier to present computer-aided research with a large cognitive surface. In more familiar terms, I want to empower scientists to share their code, data, and associated narratives in a way that makes them comprehensible to their peers.

For a simple example, see ratp-points-of-sale.

License

BSD

Acknowledgment

This inspector is heavily influenced by the moldable inspector in Glamorous Toolkit.