Debian Codegraph @

TODO

raw
1 20150324 tswd
2
3 refactor, over 20 years old codes
4 even 20 years a go, the style was already old fashioned.
5 (1) many globals to be eliminated
6 *memoized-module* ?
7 (2) clean up and reorganize modules
8 profiler -- new
9 context
10 (3) many dumplicated/similar code fragments
11 much codes have been added in ad hoc manner
12
13 20150317 np
14
15 update manual.tex for current interpreter, add/remove options
16
17 ship parametrized modules in lib/para/ like
18 para/list.cafe
19 para/queue.cafe
20 para/set.cafe
21 so that one can use
22 require para/list.cafe
23 pr(PARA_LIST(NAT))
24 pr(PARA_SET(NAT))
25 ...
26
27 20150225 np
28
29 we should add a check that a key is not define'd more than once
30 my idea was to add code to oldoc.lisp as the generate-oldoc- is
31 called on all values, but the following patch didn't generate
32 any warnings:
33 - (setf (gethash key *cafeobj-alias-db*) mainkey)))
34 + (multiple-value-bind (hk pr) (gethash key *cafeobj-alias-db*)
35 + (format t "DEBUG DEBUG DEBUG defining ~s" key)
36 + (if pr
37 + (error "multiple defines of ~s" key))
38 + (setf hk mainkey))))
39
40 20141008 email sawada
41
42 How about not to specify --dynamic-space-size at image creation time?
43
44 It would be nice if we can specify this at the time of invoking cafeobj.
45 According to the sbcl manual (ver. 1.2.1), there is a way to do this.
46 (1) specifying the argument ':save-runtime-options nil' to 'save-lisp-and-die'
47 (2) calls cafeobj executable like this
48 cafeobj --dynamic-space-size XXXX --end-runtime-options
49 --end-toplevel-options <args-to-cafeobj>*
50 (Please refer to 3.2.3 Saving Core Image and 3.3 Command Line Options
51 of the manual. )
52
53