My thought, activities

Other Software

Towers of Hanoi


This page is constructed using server side include:
   <!--#exec cmd="/home/gniibe/www/html/hanoi-counter" -->

The code of hanoi-counter is like this:

#! /usr/bin/gosh

(set! *load-path* (cons "./code" *load-path*))
(use hanoi)
(use srfi-11)
(use text.tree)

(define (main args)
  (let-values (((step html-output)
		(hanoi "/home/gniibe/www/hanoi/hanoi.dat" 22 :border 0.5)))
    (write-tree	(list step html-output))))

;;
;; Local Variables:
;; mode: scheme
;; End:


Last modified: Tue Jan 24 12:09:05 JST 2006