Skip to content

pietroiusti/draw-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

draw-tree

draw-tree.el

Draw tree structure of cons cells.

Ported to Emacs Lisp from Nils M Holm’s Scheme 9 from Empty Space’s Function Library (http://www.t3x.org/s9fes/draw-tree.scm.html) and its Common Lisp port written by CBaggers (https://github.com/cbaggers/draw-cons-tree).

Giulio Pietroiusti, 2022 Placed in the Public Domain.

Example:

  (draw-tree '((a) (b . c) (d e))) ;; ==> 
;; "
;; [o|o]---[o|o]---[o|/]
;;  |       |       |      
;; [o|/]    |      [o|o]---[o|/]
;;  |       |       |       |      
;;  a       |       d       e      
;;          |      
;;         [o|o]--- c      
;;          |      
;;          b      
;; "

See also:

About

Draw tree of cons cells

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published