source: branches/rme-logops/level-0/l0-init.lisp @ 15779

Last change on this file since 15779 was 13660, checked in by rme, 9 years ago

Put :ccl-1.5 on *features*

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.5 KB
Line 
1;;;-*-Mode: LISP; Package: CCL -*-
2;;;
3;;;   Copyright (C) 2009 Clozure Associates
4;;;   Copyright (C) 1994-2001 Digitool, Inc
5;;;   This file is part of Clozure CL. 
6;;;
7;;;   Clozure CL is licensed under the terms of the Lisp Lesser GNU Public
8;;;   License , known as the LLGPL and distributed with Clozure CL as the
9;;;   file "LICENSE".  The LLGPL consists of a preamble and the LGPL,
10;;;   which is distributed with Clozure CL as the file "LGPL".  Where these
11;;;   conflict, the preamble takes precedence. 
12;;;
13;;;   Clozure CL is referenced in the preamble as the "LIBRARY."
14;;;
15;;;   The LLGPL is also available online at
16;;;   http://opensource.franz.com/preamble.html
17
18(in-package "CCL")
19
20(defconstant array-total-size-limit
21  #.(expt 2 (- target::nbits-in-word target::num-subtag-bits))
22  "the exclusive upper bound on the total number of elements in an array")
23
24
25;Features for #+/- conditionalization:
26(defparameter *features*
27  '(:common-lisp
28    :openmcl
29    :ccl
30    :ccl-1.2
31    :ccl-1.3
32    :ccl-1.4
33    :ccl-1.5
34    :clozure
35    :clozure-common-lisp
36    :ansi-cl
37    #-windows-target :unix
38    :openmcl-unicode-strings
39    ;; Threads and MOP stuff is pretty redundant.
40    :openmcl-native-threads
41    :openmcl-partial-mop
42    :mcl-common-mop-subset
43    :openmcl-mop-2
44    ;; Thread-private hash-tables were introduced in version 1.0
45    :openmcl-private-hash-tables
46    ;; Hash-consing support (special primitives for allocating
47    ;; and managing statically allocated CONS cells) will be
48    ;; added in 1.1
49    ;; Was dropped in 1.2
50    ;; :openmcl-hash-consing
51    #+eabi-target :eabi-target
52    #+ppc-target :powerpc
53    #+ppc-target :ppc-target
54    #+ppc-target :ppc-clos              ; used in encapsulate
55    #+ppc32-target :ppc32-target
56    #+ppc32-target :ppc32-host
57    #+ppc64-target :ppc64-target
58    #+ppc64-target :ppc64-host
59    #+x8632-target :x8632-target
60    #+x8632-target :x8632-host
61    #+x8664-target :x86-64
62    #+x8664-target :x86_64
63    #+x8632-target :x86
64    #+x86-target :x86-target
65    #+x86-target :x86-host
66    #+x8664-target :x8664-target
67    #+x8664-target :x8664-host
68    #+linux-target :linux-host
69    #+linux-target :linux-target
70    #+linuxppc-target :linuxppc-target
71    #+linuxppc-target :linuxppc-host
72    #+linuxx86-target :linuxx86-target
73    #+linuxx8664-target :linuxx8664-target
74    #+linuxx8664-target :linuxx8664-host
75    #+linuxx8632-target :linuxx8632-target
76    #+linuxx8632-target :linuxx8632-host
77    #+darwinppc-target :darwinppc-target
78    #+darwinppc-target :darwinppc-host
79    #+darwinppc-target :darwin-target
80    #+freebsd-target :freebsd-host
81    #+freebsd-target :freebsd-target
82    #+freebsdx86-target :freebsdx86-target
83    #+freebsdx8664-target :freebsdx8664-target
84    #+freebsdx8664-target :freebsdx8664-host
85    #+freebsdx8632-target :freebsdx8632-target
86    #+freebsdx8632-target :freebsdx8632-host
87    #+darwin-target :darwin-host
88    #+darwin-target :darwin-target
89    #+darwinx86-target :darwinx86-target
90    #+darwinx8632-target :darwinx8632-target
91    #+darwinx8632-target :darwinx8632-host
92    #+darwinx8664-target :darwinx8664-target
93    #+darwinx8664-target :darwinx8664-host
94    #+windows-target :windows-host
95    #+windows-target :windows-target
96    #+win64-target :win64-target
97    #+win64-target :win64-host
98    #+win32-target :win32-target
99    #+win32-target :win32-host
100    #+solaris-target :solaris-host
101    #+solaris-target :solaris-target
102    #+solarisx86-target :solarisx86-target
103    #+solarisx8664-target :solarisx8664-target
104    #+solarisx8664-target :solarisx8664-host
105    #+solarisx8632-target :solarisx8632-target
106    #+solarisx8632-target :solarisx8632-host
107    #+(and ppc-target poweropen-target) :poweropen-target
108    #+64-bit-target :64-bit-target
109    #+64-bit-target :64-bit-host
110    #+32-bit-target :32-bit-target
111    #+32-bit-target :32-bit-host
112    #+ppc-target :big-endian-target
113    #+ppc-target :big-endian-host
114    #+x86-target :little-endian-target
115    #+x86-target :little-endian-host
116    #+darwin-target :darwin
117    #+linux-target :linux
118    #+freebsd-target :freebsd
119    #+solaris-target :solaris
120    #+windows-target :windows
121    )
122  "a list of symbols that describe features provided by the
123   implementation")
124
125(defparameter *optional-features* () "Set by build process")
126
127(defparameter *load-verbose* nil
128  "the default for the :VERBOSE argument to LOAD")
129
130;All Lisp package variables... Dunno if this still matters, but it
131;used to happen in the kernel...
132(dolist (x '(* ** *** *APPLYHOOK* *DEBUG-IO*
133             *DEFAULT-PATHNAME-DEFAULTS* *ERROR-OUTPUT* *EVALHOOK*
134             *FEATURES* *LOAD-VERBOSE* *MACROEXPAND-HOOK* *MODULES*
135             *PACKAGE* *PRINT-ARRAY* *PRINT-BASE* *PRINT-CASE* *PRINT-CIRCLE*
136             *PRINT-ESCAPE* *PRINT-GENSYM* *PRINT-LENGTH* *PRINT-LEVEL*
137             *PRINT-PRETTY* *PRINT-RADIX* *QUERY-IO* *RANDOM-STATE* *READ-BASE*
138             *READ-DEFAULT-FLOAT-FORMAT* *READ-SUPPRESS* *READTABLE*
139             *STANDARD-INPUT* *STANDARD-OUTPUT* *TERMINAL-IO* *TRACE-OUTPUT*
140             + ++ +++ - / // /// ARRAY-DIMENSION-LIMIT ARRAY-RANK-LIMIT
141             ARRAY-TOTAL-SIZE-LIMIT BOOLE-1 BOOLE-2 BOOLE-AND BOOLE-ANDC1
142             BOOLE-ANDC2 BOOLE-C1 BOOLE-C2 BOOLE-CLR BOOLE-EQV BOOLE-IOR
143             BOOLE-NAND BOOLE-NOR BOOLE-ORC1 BOOLE-ORC2 BOOLE-SET BOOLE-XOR
144             CALL-ARGUMENTS-LIMIT CHAR-CODE-LIMIT
145             DOUBLE-FLOAT-EPSILON DOUBLE-FLOAT-NEGATIVE-EPSILON
146             INTERNAL-TIME-UNITS-PER-SECOND LAMBDA-LIST-KEYWORDS
147             LAMBDA-PARAMETERS-LIMIT LEAST-NEGATIVE-DOUBLE-FLOAT
148             LEAST-NEGATIVE-LONG-FLOAT LEAST-NEGATIVE-SHORT-FLOAT
149             LEAST-NEGATIVE-SINGLE-FLOAT LEAST-POSITIVE-DOUBLE-FLOAT
150             LEAST-POSITIVE-LONG-FLOAT LEAST-POSITIVE-SHORT-FLOAT
151             LEAST-POSITIVE-SINGLE-FLOAT LONG-FLOAT-EPSILON
152             LONG-FLOAT-NEGATIVE-EPSILON MOST-NEGATIVE-DOUBLE-FLOAT
153             MOST-NEGATIVE-FIXNUM MOST-NEGATIVE-LONG-FLOAT
154             MOST-NEGATIVE-SHORT-FLOAT MOST-NEGATIVE-SINGLE-FLOAT
155             MOST-POSITIVE-DOUBLE-FLOAT MOST-POSITIVE-FIXNUM
156             MOST-POSITIVE-LONG-FLOAT MOST-POSITIVE-SHORT-FLOAT
157             MOST-POSITIVE-SINGLE-FLOAT MULTIPLE-VALUES-LIMIT PI
158             SHORT-FLOAT-EPSILON SHORT-FLOAT-NEGATIVE-EPSILON
159             SINGLE-FLOAT-EPSILON SINGLE-FLOAT-NEGATIVE-EPSILON))
160  (%symbol-bits x (%ilogior2 (%symbol-bits x) (ash 1 $sym_bit_special))))
161
162(defparameter *loading-file-source-file* nil)
163(defparameter *loading-toplevel-location* nil)
164
165(defvar *nx-speed* 1)
166(defvar *nx-space* 1)
167(defvar *nx-safety* 1)
168(defvar *nx-cspeed* 1)
169(defvar *nx-debug* 1)
170
171(defparameter *case-sensitive-filesystem* t)
172
173;;; end
Note: See TracBrowser for help on using the repository browser.