#lang scribble/manual @(require planet/scribble scribble/eval planet/version "main.rkt") @(define my-eval (make-base-eval)) @(my-eval `(require (planet ,(this-package-version-symbol main)) )) @(require (for-label racket "main.rkt")) @title{Visualize evaluation} @(defmodule/this-package main) A tool for visualizing the evaluation of s-expressions, useful for teaching the evaluation and composition of functions. @defform[(vis-eval exp)]{Draw a diagram, recursively, of evaluating @racket[exp]. @examples[#:eval my-eval (vis-eval (+ (* 2 3) (/ 3 4)))] }