changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/lib/skel/tools/viz.lisp

changeset 698: 96958d3eb5b0
parent: e2d577f31866
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 ;;; skel/tools/viz.lisp --- skel object visualizer
2 
3 ;; Skel Visualization extensions
4 
5 ;;; Commentary:
6 
7 ;; One of our goals with this package is to extend the
8 ;; introspectability of the Lisp debugger outside of Lisp and onto a
9 ;; graphic medium.
10 
11 ;; We have several visualization backends in mind:
12 
13 ;; - web :: interactive 3d/2d graph, probably based on d3.js, prefer wasm
14 ;; - emacs :: skv.el
15 ;; - svg :: configurable vector graphic backend
16 ;; - txt :: text-based, simplified output -- utf-8 or ascii
17 ;; - native :: native backend - look into widgets, mcclim, gtk4
18 
19 ;;; Code:
20 (in-package :skel/tools/viz)
21 
22 (defgeneric sk-view (self &key new-process &allow-other-keys)
23  (:documentation "View a SKEL object.")
24  (:method ((self t) &key new-process)
25  (clouseau:inspect self :new-process new-process :handle-errors t)))