added additional docs for a debian system.
[CommonLispStat.git] / README
blob456cbe264e40c91fd2bfe11cf5c49ac4762af895
1 -*- mode: text -*-
3 For a fast start: 
5 Make the shared library liblispstat with an ANSI C compiler (only gcc
6 tested at this point):
8        cd lib
9        make
11 run a common lisp (SBCL, CMUCL, CLISP) starting in the current
12 directory.  We also assume that a recent version of CFFI and LIFT have
13 been installed and are ASDF-loadable.  Probably should include a local
14 copy just in case.
16 (on Debian: can use CLC or SBCL approaches, i.e.  ~/.clc/systems  or
17 ~/.sbcl/systems should contain softlinks to the lispstat, cffi, and
18 lift ASDF files (i.e. lispstat.asd, cffi.asd, and lift.asd)).
20 Step through ls-demo.lisp for a range of examples that will become
21 part of the test suite.
23     
25 So basically ..   
26   
27 1. change directory into the CommonLispStat working directory.
28 2. start your lisp
29 3. follow the commands in the ls-demo.lisp file, i.e.
31    a. (load "init.lisp")
32    b. (in-package :ls-user)
33    c. (normal-rand 20)
34    d. (setf mytest (normal-rand 20))
37    and see if they work (basic CFFI functionality for external C
38    library, LIFT package for unit-testing framework to ensure run time
39    stability).
40   
41 4. Tell me ( <blindglobe@gmail.com> ) if there is any thing wrong (or
42    if anything happens to work.
44 CMUCL and SBCL work justfine at this stage.
46 CLISP is finicky regarding the problems that we have with CFFI
47 conversation.  In particular that we can not really do typing that we
48 need to take care of.
52 ===========
54 See Doc/README* for history and design considerations
55 See Doc/INSTALL for getting this to work and run
57 ===========
61 Working on this with git:
65     git clone git://repo.or.cz/CommonLispStat.git 
68 will pull the whole repository, and create a "master" branch to work
69 on.  Probably, you don't want to use the master branch, but more to
70 use a topic-centric branch, so you might:
72     git checkout -b myTopicBranch
74 and then work on myTopicBranch, pulling back to the master branch when
75 needed by
79     git checkout master
80     git pull . myTopicBranch
83 of course, perhaps you want to contribute to the mob branch.   For
84 that, after cloning the repository as above, you would:
87     git checkout -b mob remotes/origin/mob
89 <work, work, work... through a cycle of
91          <edit>
92          git add <files just edited>
93          git commit -m "what I just did"
95  ad-nauseum.  When ready to commit, then just >
97          git push git+ssh://mob@repo.or.cz/srv/git/CommonLispStat.git mob:mob
101 and it'll be put on the mob branch, as a proposal for merging.
103 Another approach would be to pull from the topic branch into the mob
104 branch before uploading.   Will work on a formal example soon.
107 (but the basic principle is that instead of the edit cycle on mob, do
108 something like:
110   git checkout mob
111   git pull . myTopicBranch
112   git push git+ssh://mob@repo.or.cz/srv/git/CommonLispStat.git mob:mob