3 (SYSTEM:ALLOCATE-CONTIGUOUS-PAGES
(round 1100 (/ si
::lisp-pagesize
2048)) t
)
6 (sloop::sloop for v in-package
'make do
(unintern v
))
7 (remprop :maxima
:make
)
8 (remprop :minima
:make
)
9 (sloop::sloop for v in-package
'maxima do
(remprop v
'si
::debug
))
10 (load #"../src/autol.lisp")
11 (load #"../src/max_ext.lisp")
14 (defun run () (maxima::macsyma-top-level
))
15 (defun system::kcl-top-level nil
16 (when (> (system:argc
) 1)
17 (setq system
:*system-directory
* (system:argv
1)))
18 (when (>= (system:argc
) 5)
19 (let ((system::*quit-tag
* (cons nil nil
))
20 (system::*quit-tags
* nil
) (system::*break-level
* '())
21 (system::*break-env
* nil
) (system::*ihs-base
* 1)
22 (system::*ihs-top
* 1) (system::*current-ihs
* 1)
25 '(let ((system::flags
(system:argv
4)))
26 (setq system
:*system-directory
*
27 (pathname (system:argv
1)))
28 (compile-file (system:argv
2) :output-file
29 (system:argv
3) :o-file
30 (case (schar system
::flags
1) (#\
0 nil
) (#\
1 t
)
33 (case (schar system
::flags
2) (#\
0 nil
) (#\
1 t
)
36 (case (schar system
::flags
3) (#\
0 nil
) (#\
1 t
)
39 (case (schar system
::flags
4) (#\
0 nil
) (#\
1 t
)
42 (if (char-equal (schar system
::flags
0) #\S
) t
44 (bye (if compiler
::*error-p
* 1 0))))
45 (format t
"AKCL (Austin Kyoto Common Lisp) ~A~%~a~%" "DATE"
46 "Maxima 4.0 (with enhancements by W. Schelter).
47 Type (run) to start Maxima.")
48 (setq si
::*ihs-top
* 1)
50 (in-package 'system
::user
) (incf system
::*ihs-top
* 2)
51 (funcall system
::*old-top-level
*))
54 (setf $version
(cons '(mlist) (get :maxima
:version
)))
56 (setq *DESCRIBE-INDEX-DIRECTORY
*
58 (make-pathname :directory
59 (pathname-directory $DESCRIBE_DOCUMENTATION
))))
62 ; (setq maxima::$file_search (list '(maxima::mlist)
63 ; #"SYSDIR/share/foo.o"
64 ; #"SYSDIR/share/foo.lisp"
65 ; #"SYSDIR/share1/foo.o" #"SYSDIR/share1/foo.lisp"
66 ; #"SYSDIR/tensor/foo.o" #"SYSDIR/tensor/foo.lisp"
69 (setq maxima
::$file_search
(list '(maxima::mlist
)
70 #"SYSDIR/[stm][hryea]*/foo.[lmo]*"))
74 (si::save-system
"../unixport/saved_maxima")