Lib & Shen/tk

18 views
Skip to first unread message

dr.mt...@gmail.com

unread,
Feb 9, 2026, 8:12:27 AM (4 days ago) Feb 9
to Shen
This bundled in with the sources and I've stopped providing a seperate link.  
The installation process for Shen/tk has been simplifed and the following
is taken from the README file with the sources.

To install under SBCL / Windows *without* Tcl/Tk
_______________________________________________

1. Start SBCL.

2. Enter:
   (load "install.lsp")

3. The executable `sbcl-shen.exe` will be created.

During installation you will be asked whether to create an image
*with* or *without* the Standard Library.

- Choose *with* unless you intend to build an image to compile
  the Shen kernel itself.
- Choose *without* only for kernel development.


To install under SBCL / Windows *with* Tcl/Tk
_____________________________________________

Step by step.

1. Install Tcl/Tk for Windows.

   Shen/tk was developed using the free ActiveState
   implementation of Tcl/Tk.

2.  You need to nominate a writable directory for
    Shen/tk transaction files.  Go to Lib/Tk/installation.shen.
    You will find this code.
   
    (define transaction-directory
      {--> string}
      -> "C:/Users/drmta/OneDrive/Documents/ShenTk/")
     
    Change the path to the directory you wish to use.
       
3. Start SBCL and enter:
   (load "install-tk.lsp")

4. The executable `sbcl-shen+tk.exe` will be created.  

5. The batch file `shen-tk.bat` launches Shen/tk.    
   It contains
   
   START /B sbcl-shen+tk.exe
   C:\ActiveTcl\bin\wish.exe "C:\Users\drmta\OneDrive\Documents\ShenTk\root.tcl"

   You may need to edit the path to `wish.exe` so that it points
   to your Tcl/Tk installation.

   You must also replace "C:\Users\drmta\OneDrive\Documents\ShenTk" in the
   actual file with the directory nominated in the program function
   transaction-directory.

   Remember that Windows paths use backslashes.

IMPORTANT
*******************************************************
Before quitting Shen/tk, click the Exit button in the IDE
and confirm that you wish to exit *before* closing the
command window or the root window.
Reply all
Reply to author
Forward
0 new messages