Getting started.

78 views
Skip to first unread message

william Glenn

unread,
Sep 28, 2023, 12:03:08 PMSep 28
to Shen
A big fan of lisps, and this one has my attention. However, there really isn't a step-by-step guide to getting going on the website? All I see on the downloads page is download the recent kernel with instructions. Okay, I can do that. The README in kernel S34.6 and all it says is (load "install.shen"). 

Right. (load "/path/to/S34.6/install.lsp) loads install.lsp then immediately fails because it looks for the next file in a different directory. 

Great, so I naively try:

(progn  (uiop:chdir "/path/to/S34.6") (load "install.lsp")) 

This says that uiop: doesn't exist.. Thats weird. So, I kill the lisp process completely to start fresh. I had to read the hyper spec to learn that (load ..) looks for items in path *default-pathname-defaults*. Looks like this variable is set to the directory that sbcl is called from.

Okay, so I run (in emacs) M-x dired "/path/to/S34.6/". Then M-x sly and (load "install.lsp"). This runs beautifully until I get an error that "/path/to/S34.6/StLib/Encrypttbos.txt" does not exist. Right-O, I suppose I'll do without that, and select to continue in the debugger. Well, that now says "Could not save core". That doesn't sound good. To heck with it, I press on and select the continue option again in the debugger. And I get a return T, Great! We've loaded.. something. 

Now what? lol. All other READMEs in S34.6 say to run (load ..) while in shen.. but I am not in shen. How do I get to shen. Was this all supposed to be done after I do something else. What is that step? If I am right so far, what is next? On Ubuntu btw. would really appreciate some guidance. Thanks.

dr.mt...@gmail.com

unread,
Sep 28, 2023, 3:42:58 PMSep 28
to Shen
If you're using Linux you probably need the advice of somebody who uses that OS.  Basically you
copy your SBCL executable into S34.6, open it and type (load "install.lsp") which works in Windows.

M.

nha...@gmail.com

unread,
Sep 28, 2023, 3:47:17 PMSep 28
to Shen
apt-get install sbcl
wget "https://www.shenlanguage.org/Download/S34.6.zip"
unzip S34.6.zip
cd S34.6
sbcl
(load "install.lsp")

mv sbcl-shen.exe sbcl-shen
./sbcl-shen

That ecrypttbos.txt is broken on linux for some reason. My guess is the filename is supposed to point to StLib/Encrypt/tbos.txt

If you ignore the problem with '4' above, it still generates the shen lisp image

nha...@gmail.com

unread,
Sep 28, 2023, 4:04:52 PMSep 28
to Shen
The problem is in encrypt.shen in that it uses the Windows path sep in the call to (key "Encrypt\tbos.txt"), instead of the correct forward slash.

dr.mt...@gmail.com

unread,
Sep 29, 2023, 1:35:09 AMSep 29
to Shen
Ah; I've fixed that.

M.

osmanfb1

unread,
Oct 4, 2023, 10:47:49 AMOct 4
to qil...@googlegroups.com
I just downloaded S35 and it also has the same problem  in 
S35/StLib/Encrypt/encrypt.shen 
at the end of the file (line 85) backslash should be changed to forward slash. Compiles ok after editing.

--
You received this message because you are subscribed to the Google Groups "Shen" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qilang+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/qilang/2d4ffb24-12b2-47e1-bf59-15c5d0911c78n%40googlegroups.com.

Mark Tarver

unread,
Oct 4, 2023, 1:24:32 PMOct 4
to qil...@googlegroups.com
must have crept in from an earlier version - gone hopefully for good now

M.

Reply all
Reply to author
Forward
0 new messages