Index of /farg/rehling/lspirit/code-files

      Name                    Last modified       Size  Description

[DIR] Parent Directory 19-Jun-2003 13:09 - [TXT] FILE-STRUCTURE 19-Jun-2003 13:31 5k [TXT] adj-setup.ss 19-Jun-2003 13:09 5k [TXT] adjudicator.ss 19-Jun-2003 13:09 11k [TXT] anticipate.ss 19-Jun-2003 13:09 2k [TXT] blurred-proto.ss 19-Jun-2003 13:09 13k [TXT] bond.ss 19-Jun-2003 13:09 4k [TXT] borrow.ss 19-Jun-2003 13:09 4k [TXT] coderack.ss 19-Jun-2003 13:09 17k [TXT] curve.ss 19-Jun-2003 13:09 7k [TXT] demo.ss 19-Jun-2003 13:09 1k [TXT] display.ss 19-Jun-2003 13:09 2k [TXT] draft-setup.ss 19-Jun-2003 13:09 24k [TXT] draft-test.ss 19-Jun-2003 13:09 1k [TXT] drafter.ss 19-Jun-2003 13:09 10k [TXT] draw.ss 19-Jun-2003 13:09 2k [TXT] evolve.ss 19-Jun-2003 13:09 1k [TXT] exam-setup.ss 19-Jun-2003 13:09 1k [TXT] examiner.ss 19-Jun-2003 13:09 35k [TXT] fonts.ss 19-Jun-2003 13:09 17k [TXT] get-mystery.ss 19-Jun-2003 13:09 35k [TXT] glom.ss 19-Jun-2003 13:09 6k [TXT] goodness 19-Jun-2003 13:09 1k [TXT] graphics.ss 19-Jun-2003 13:09 22k [TXT] gridfonts.ss 19-Jun-2003 13:09 9k [TXT] gridmath.ss 19-Jun-2003 13:09 28k [   ] gtools.ss 19-Jun-2003 13:09 63k [TXT] know.ss 19-Jun-2003 13:09 13k [TXT] labeler.ss 19-Jun-2003 13:09 5k [TXT] labels.ss 19-Jun-2003 13:09 7k [   ] loader.ss 19-Jun-2003 13:09 2k [TXT] lobby.ss 19-Jun-2003 13:09 10k [TXT] loop.ss 19-Jun-2003 13:09 27k [TXT] ls-load.ss 19-Jun-2003 13:09 1k [TXT] ls-out.ss 19-Jun-2003 13:09 10k [TXT] memory.ss 19-Jun-2003 13:09 15k [TXT] mid-run.ss 19-Jun-2003 13:09 1k [TXT] model.ss 19-Jun-2003 13:09 2k [TXT] motif.ss 19-Jun-2003 13:09 7k [TXT] norm-viols.ss 19-Jun-2003 13:09 17k [TXT] quickact.ss 19-Jun-2003 13:09 9k [TXT] r-roles.ss 19-Jun-2003 13:09 5k [TXT] recog.ss 19-Jun-2003 13:09 5k [TXT] role-defs.ss 19-Jun-2003 13:09 45k [TXT] routines.ss 19-Jun-2003 13:09 1k [TXT] rules.ss 19-Jun-2003 13:09 5k [TXT] scores.ss 19-Jun-2003 13:09 1k [TXT] scratchpad.ss 19-Jun-2003 13:09 10k [   ] sgl-d.ss 19-Jun-2003 13:09 81k [TXT] shaker.ss 19-Jun-2003 13:09 5k [TXT] sim.ss 19-Jun-2003 13:09 2k [TXT] smartparse.ss 19-Jun-2003 13:09 12k [TXT] stats.ss 19-Jun-2003 13:09 17k [TXT] string.ss 19-Jun-2003 13:09 3k [TXT] sugar.ss 19-Jun-2003 13:09 11k [TXT] test-loop.ss 19-Jun-2003 13:09 2k [TXT] tf-test.ss 19-Jun-2003 13:09 1k [TXT] tf-test2.ss 19-Jun-2003 13:09 1k [TXT] thematic-focus.ss 19-Jun-2003 13:09 15k [TXT] tools.ss 19-Jun-2003 13:09 19k [TXT] topdown.ss 19-Jun-2003 13:09 5k [TXT] touching.ss 19-Jun-2003 13:09 4k [TXT] whole-defs.ss 19-Jun-2003 13:09 10k [TXT] 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.