-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmake-uranus.lisp
68 lines (53 loc) · 1.37 KB
/
make-uranus.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
(IN-PACKAGE :URANUS)
(defvar uranus@version "V-19.8") ;Uranus version string
(LET ((*DEFAULT-PATHNAME-DEFAULTS* #P"/home/mc/Desktop/uranus/uranus/"))
(load "decl.lisp")
(load "defs")
(load "lib")
(load "kernel")
(load "amuse")
(load "systempred")
(load "lispfunctions")
(load "stepper")
(load "trace")
(load "td")
(load "readin"))
#+kcl
(defun si:top-level ()
(format t "Uranus ~a on KCl~%" uranus:uranus@version)
(uranus::uranus))
#+akcl
(defun si:top-level ()
(format t "Uranus ~a on akcl~%" uranus:uranus@version)
(uranus::uranus))
#+(and common vax (not kcl))
(defun bye () (exit))
#+(and common vax (not kcl))
(defun save-uranus-system (filename)
(suspend filename)
(format t "Uranus ~a on VaxLisp~%" uranus:uranus@version)
(uranus))
#+(and common vax (not kcl))
(setf *gc-verbose* nil)
#+(and common vax (not kcl))
(format t "
When you have finished loading this file, type
(save-uranus-system \"uranus.sus\")
to create the system Uranus.
")
#+lucid
(defun top-level ()
(format t "Uranus ~a on Lucid~%" uranus:uranus@version)
(uranus:uranus))
#+lucid
(defun save-uranus ()
(disksave "uranus" :restart-function #'top-level))
; (disksave "uranus" :restart-function #'top-level :full-gc t))
#+lusid
(format t "
When you have finished loading this file, type
(save-uranus)
to create the system Uranus.
")
#+lucid
(setq *gc-silence* t)