-
Notifications
You must be signed in to change notification settings - Fork 0
/
load-single-threaded-act-r.lisp
64 lines (57 loc) · 2.5 KB
/
load-single-threaded-act-r.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
;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2019 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; : Carnegie Mellon University
;;; : Pittsburgh, PA 15213-3890
;;; : [email protected]
;;;
;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Filename : load-single-threaded-act-r.lisp
;;; Version : 2.0
;;;
;;; Description : Top level loader for the whole ACT-R system.
;;;
;;; Bugs :
;;;
;;; To do : [-] Test in a variety of Lisps for issues with the
;;; : logical hostname stuff.
;;; : [ ] Now, look into using the clisp version in other
;;; : lisps because it seems cleaner/more generic than
;;; : the ones I put toghether...
;;; : [x] Use compile-file-pathname instead of always adding a new
;;; : entry for *.fasl-pathname*.
;;;
;;; ----- History -----
;;;
;;; 2019.04.19 Dan
;;; : * Custom loader that sets the flag to disable locking and
;;; : suppress any threaded operation.
;;; 2019.05.29 Dan [2.0]
;;; : * Just set the switch and then load the main load file so
;;; : that I don't need to maintain two versions of basically the
;;; : same code.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
(pushnew :single-threaded-act-r *features*)
(setf (logical-pathname-translations "SINGLE-STUB")
`(("**;*.*" ,(namestring (merge-pathnames "**/*.*" *load-truename*)))))
(load (translate-logical-pathname "SINGLE-STUB:load-act-r.lisp"))
#|
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|#