Index of /farg/rehling/lspirit/code-files
Name Last modified Size Description
Parent Directory 19-Jun-2003 13:09 -
FILE-STRUCTURE 19-Jun-2003 13:31 5k
adj-setup.ss 19-Jun-2003 13:09 5k
adjudicator.ss 19-Jun-2003 13:09 11k
anticipate.ss 19-Jun-2003 13:09 2k
blurred-proto.ss 19-Jun-2003 13:09 13k
bond.ss 19-Jun-2003 13:09 4k
borrow.ss 19-Jun-2003 13:09 4k
coderack.ss 19-Jun-2003 13:09 17k
curve.ss 19-Jun-2003 13:09 7k
demo.ss 19-Jun-2003 13:09 1k
display.ss 19-Jun-2003 13:09 2k
draft-setup.ss 19-Jun-2003 13:09 24k
draft-test.ss 19-Jun-2003 13:09 1k
drafter.ss 19-Jun-2003 13:09 10k
draw.ss 19-Jun-2003 13:09 2k
evolve.ss 19-Jun-2003 13:09 1k
exam-setup.ss 19-Jun-2003 13:09 1k
examiner.ss 19-Jun-2003 13:09 35k
fonts.ss 19-Jun-2003 13:09 17k
get-mystery.ss 19-Jun-2003 13:09 35k
glom.ss 19-Jun-2003 13:09 6k
goodness 19-Jun-2003 13:09 1k
graphics.ss 19-Jun-2003 13:09 22k
gridfonts.ss 19-Jun-2003 13:09 9k
gridmath.ss 19-Jun-2003 13:09 28k
gtools.ss 19-Jun-2003 13:09 63k
know.ss 19-Jun-2003 13:09 13k
labeler.ss 19-Jun-2003 13:09 5k
labels.ss 19-Jun-2003 13:09 7k
loader.ss 19-Jun-2003 13:09 2k
lobby.ss 19-Jun-2003 13:09 10k
loop.ss 19-Jun-2003 13:09 27k
ls-load.ss 19-Jun-2003 13:09 1k
ls-out.ss 19-Jun-2003 13:09 10k
memory.ss 19-Jun-2003 13:09 15k
mid-run.ss 19-Jun-2003 13:09 1k
model.ss 19-Jun-2003 13:09 2k
motif.ss 19-Jun-2003 13:09 7k
norm-viols.ss 19-Jun-2003 13:09 17k
quickact.ss 19-Jun-2003 13:09 9k
r-roles.ss 19-Jun-2003 13:09 5k
recog.ss 19-Jun-2003 13:09 5k
role-defs.ss 19-Jun-2003 13:09 45k
routines.ss 19-Jun-2003 13:09 1k
rules.ss 19-Jun-2003 13:09 5k
scores.ss 19-Jun-2003 13:09 1k
scratchpad.ss 19-Jun-2003 13:09 10k
sgl-d.ss 19-Jun-2003 13:09 81k
shaker.ss 19-Jun-2003 13:09 5k
sim.ss 19-Jun-2003 13:09 2k
smartparse.ss 19-Jun-2003 13:09 12k
stats.ss 19-Jun-2003 13:09 17k
string.ss 19-Jun-2003 13:09 3k
sugar.ss 19-Jun-2003 13:09 11k
test-loop.ss 19-Jun-2003 13:09 2k
tf-test.ss 19-Jun-2003 13:09 1k
tf-test2.ss 19-Jun-2003 13:09 1k
thematic-focus.ss 19-Jun-2003 13:09 15k
tools.ss 19-Jun-2003 13:09 19k
topdown.ss 19-Jun-2003 13:09 5k
touching.ss 19-Jun-2003 13:09 4k
whole-defs.ss 19-Jun-2003 13:09 10k
zones.ss 19-Jun-2003 13:09 1k
10 June 2003 update by Damien:
/usr/local/bin/sxm /u/rehling/bin/shell.so
(load "ls-load.ss")
(design-gridfont '((4 5 6 7 8 9 22 23 25) (4 5 8 9 14 17 20 22 23 25)))
and John once said
design-gridfont is not the only way to get started. other
top-level functions exist in the (poorly documented) loop.ss function.
John's old file:
TO RUN LETTER SPIRIT
Start SXM, which will give you Scheme functionality plus graphics.
If you are going to work around the existing LS graphics, you can
start in regular Scheme, but you will have to figure out a way to turn
off graphics! It is not claimed that this will be easy.
Load the necessary code simply by loading ls-load.ss
(load ls-load.ss)
Several functions allow different ways of running the program. The
most basic and general is probably to call design-gridfont with
seeds. For example,
(design-gridfont '((4 5 6 7 8 9 22 23 25) (4 5 8 9 14 17 20 22 23
25)))
will take those two gridletters, expressed in terms of lists of
quanta, and start Letter Spirit running on it.
NOTE
Much of this code was written when the Examiner was the only part of
the program that existed. Many functions and variables are
Examiner-only, although their names sound more general than that. For
example, (set! *graphics* #f) does not turn off LS graphics. It turns
off Examiner graphics.
MOST LIKELY SNAGS
1) Graphics.
2) The function set-top-level-value!
I think some versions of Scheme might not have this function. It is
called about five times in the code, and it is essential to how
activation is spread -- a solution that is very fast in SXM/Chez. if a
workaround is needed, serious attention should be given to maintaining
the speed.
3) Examiner-centrism
Much of this code was written when the Examiner was the only part of
the program that existed. Many functions and variables are
Examiner-only, although their names sound more general than that. For
example, (set! *graphics* #f) does not turn off LS graphics. It turns
off Examiner graphics.
4) General clutteredness
The code is basically a mess now. FILE-STRUCTURE describes it in
brief. Comments are present in some places, rare in others. I will
re-organize the code without changing its functionality circa autumn
2001.