File: loading.lisp

package info (click to toggle)
gcl 2.6.14-19
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 60,804 kB
  • sloc: ansic: 177,407; lisp: 151,508; asm: 128,169; sh: 22,510; cpp: 11,923; tcl: 3,181; perl: 2,930; makefile: 2,360; sed: 334; yacc: 226; lex: 95; awk: 30; fortran: 24; csh: 23
file content (26 lines) | stat: -rwxr-xr-x 672 bytes parent folder | download | duplicates (14)
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
(defun jamie-load-clcs (&optional (mode :compiled))
  (let ((files (list 
		;"package"
		"clcs_precom"
		"clcs_macros"
		"clcs_restart"
		"clcs_handler"
		"clcs_debugger"
		"clcs_conditions"
		"clcs_condition_definitions"
		"clcs_kcl_cond"
		"clcs_top_patches"
		"clcs_install")))
;     (load "package.lisp")
    (when (eql :compile mode)
;	  (load "package.lisp")
	  (load "clcs_precom.lisp"))
    (mapc #'(lambda (file)
	      (ecase mode
		     (:interpreted (load (format nil "~A.lisp" file)))
		     (:compiled (load (format nil "~A.o" file)))
		     (:compile (compile-file (format nil "~A.lisp" file) :c-file t :h-file t :data-file t :system-p t))))
	  files)))