source: trunk/source/level-0/l0-init.lisp @ 14855

Last change on this file since 14855 was 14855, checked in by rme, 8 years ago

Put :ccl-1.7 on *features*.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 7.0 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    :ccl-1.6
35    :ccl-1.7
36    :clozure
37    :clozure-common-lisp
38    :ansi-cl
39    #-windows-target :unix
40    :openmcl-unicode-strings
41    ;; Threads and MOP stuff is pretty redundant.
42    :openmcl-native-threads
43    :openmcl-partial-mop
44    :mcl-common-mop-subset
45    :openmcl-mop-2
46    ;; Thread-private hash-tables were introduced in version 1.0
47    :openmcl-private-hash-tables
48    ;; Hash-consing support (special primitives for allocating
49    ;; and managing statically allocated CONS cells) will be
50    ;; added in 1.1
51    ;; Was dropped in 1.2
52    ;; :openmcl-hash-consing
53    #+eabi-target :eabi-target
54    #+ppc-target :powerpc
55    #+ppc-target :ppc-target
56    #+ppc-target :ppc-clos              ; used in encapsulate
57    #+ppc32-target :ppc32-target
58    #+ppc32-target :ppc32-host
59    #+ppc64-target :ppc64-target
60    #+ppc64-target :ppc64-host
61    #+x8632-target :x8632-target
62    #+x8632-target :x8632-host
63    #+x8664-target :x86-64
64    #+x8664-target :x86_64
65    #+x8632-target :x86
66    #+x86-target :x86-target
67    #+x86-target :x86-host
68    #+x8664-target :x8664-target
69    #+x8664-target :x8664-host
70    #+arm-target :arm
71    #+arm-target :arm-target
72    #+linux-target :linux-host
73    #+linux-target :linux-target
74    #+linuxppc-target :linuxppc-target
75    #+linuxppc-target :linuxppc-host
76    #+linuxx86-target :linuxx86-target
77    #+linuxx8664-target :linuxx8664-target
78    #+linuxx8664-target :linuxx8664-host
79    #+linuxx8632-target :linuxx8632-target
80    #+linuxx8632-target :linuxx8632-host
81    #+linuxarm-target :linuxarm-target
82    #+linuxarm-target :linuxarm-host
83    #+darwinarm-target :darwinarm-target
84    #+darwinarm-target :darwinarm-host
85    #+darwinppc-target :darwinppc-target
86    #+darwinppc-target :darwinppc-host
87    #+darwinppc-target :darwin-target
88    #+freebsd-target :freebsd-host
89    #+freebsd-target :freebsd-target
90    #+freebsdx86-target :freebsdx86-target
91    #+freebsdx8664-target :freebsdx8664-target
92    #+freebsdx8664-target :freebsdx8664-host
93    #+freebsdx8632-target :freebsdx8632-target
94    #+freebsdx8632-target :freebsdx8632-host
95    #+darwin-target :darwin-host
96    #+darwin-target :darwin-target
97    #+darwinx86-target :darwinx86-target
98    #+darwinx8632-target :darwinx8632-target
99    #+darwinx8632-target :darwinx8632-host
100    #+darwinx8664-target :darwinx8664-target
101    #+darwinx8664-target :darwinx8664-host
102    #+windows-target :windows-host
103    #+windows-target :windows-target
104    #+win64-target :win64-target
105    #+win64-target :win64-host
106    #+win32-target :win32-target
107    #+win32-target :win32-host
108    #+solaris-target :solaris-host
109    #+solaris-target :solaris-target
110    #+solarisx86-target :solarisx86-target
111    #+solarisx8664-target :solarisx8664-target
112    #+solarisx8664-target :solarisx8664-host
113    #+solarisx8632-target :solarisx8632-target
114    #+solarisx8632-target :solarisx8632-host
115    #+android-target :android-host
116    #+android-target :android-target
117    #+androidarm-target :androidarm-target
118    #+androidarm-target :androidarm-host
119    #+(and ppc-target poweropen-target) :poweropen-target
120    #+64-bit-target :64-bit-target
121    #+64-bit-target :64-bit-host
122    #+32-bit-target :32-bit-target
123    #+32-bit-target :32-bit-host
124    #+darwin-target :darwin
125    #+linux-target :linux
126    #+freebsd-target :freebsd
127    #+solaris-target :solaris
128    #+windows-target :windows
129    #+android-target :android
130    #+little-endian-target :little-endian-target
131    #+little-endian-target :little-endian-host
132    #+big-endian-target :big-endian-target
133    #+big-endian-target :big-endian-host
134    )
135  "a list of symbols that describe features provided by the
136   implementation")
137
138(defparameter *optional-features* () "Set by build process")
139
140(defparameter *load-verbose* nil
141  "the default for the :VERBOSE argument to LOAD")
142
143;All Lisp package variables... Dunno if this still matters, but it
144;used to happen in the kernel...
145(dolist (x '(* ** *** *APPLYHOOK* *DEBUG-IO*
146             *DEFAULT-PATHNAME-DEFAULTS* *ERROR-OUTPUT* *EVALHOOK*
147             *FEATURES* *LOAD-VERBOSE* *MACROEXPAND-HOOK* *MODULES*
148             *PACKAGE* *PRINT-ARRAY* *PRINT-BASE* *PRINT-CASE* *PRINT-CIRCLE*
149             *PRINT-ESCAPE* *PRINT-GENSYM* *PRINT-LENGTH* *PRINT-LEVEL*
150             *PRINT-PRETTY* *PRINT-RADIX* *QUERY-IO* *RANDOM-STATE* *READ-BASE*
151             *READ-DEFAULT-FLOAT-FORMAT* *READ-SUPPRESS* *READTABLE*
152             *STANDARD-INPUT* *STANDARD-OUTPUT* *TERMINAL-IO* *TRACE-OUTPUT*
153             + ++ +++ - / // /// ARRAY-DIMENSION-LIMIT ARRAY-RANK-LIMIT
154             ARRAY-TOTAL-SIZE-LIMIT BOOLE-1 BOOLE-2 BOOLE-AND BOOLE-ANDC1
155             BOOLE-ANDC2 BOOLE-C1 BOOLE-C2 BOOLE-CLR BOOLE-EQV BOOLE-IOR
156             BOOLE-NAND BOOLE-NOR BOOLE-ORC1 BOOLE-ORC2 BOOLE-SET BOOLE-XOR
157             CALL-ARGUMENTS-LIMIT CHAR-CODE-LIMIT
158             DOUBLE-FLOAT-EPSILON DOUBLE-FLOAT-NEGATIVE-EPSILON
159             INTERNAL-TIME-UNITS-PER-SECOND LAMBDA-LIST-KEYWORDS
160             LAMBDA-PARAMETERS-LIMIT LEAST-NEGATIVE-DOUBLE-FLOAT
161             LEAST-NEGATIVE-LONG-FLOAT LEAST-NEGATIVE-SHORT-FLOAT
162             LEAST-NEGATIVE-SINGLE-FLOAT LEAST-POSITIVE-DOUBLE-FLOAT
163             LEAST-POSITIVE-LONG-FLOAT LEAST-POSITIVE-SHORT-FLOAT
164             LEAST-POSITIVE-SINGLE-FLOAT LONG-FLOAT-EPSILON
165             LONG-FLOAT-NEGATIVE-EPSILON MOST-NEGATIVE-DOUBLE-FLOAT
166             MOST-NEGATIVE-FIXNUM MOST-NEGATIVE-LONG-FLOAT
167             MOST-NEGATIVE-SHORT-FLOAT MOST-NEGATIVE-SINGLE-FLOAT
168             MOST-POSITIVE-DOUBLE-FLOAT MOST-POSITIVE-FIXNUM
169             MOST-POSITIVE-LONG-FLOAT MOST-POSITIVE-SHORT-FLOAT
170             MOST-POSITIVE-SINGLE-FLOAT MULTIPLE-VALUES-LIMIT PI
171             SHORT-FLOAT-EPSILON SHORT-FLOAT-NEGATIVE-EPSILON
172             SINGLE-FLOAT-EPSILON SINGLE-FLOAT-NEGATIVE-EPSILON))
173  (%symbol-bits x (%ilogior2 (%symbol-bits x) (ash 1 $sym_bit_special))))
174
175(defparameter *loading-file-source-file* nil)
176(defparameter *loading-toplevel-location* nil)
177
178(defvar *nx-speed* 1)
179(defvar *nx-space* 1)
180(defvar *nx-safety* 1)
181(defvar *nx-cspeed* 1)
182(defvar *nx-debug* 1)
183
184(defparameter *case-sensitive-filesystem* t)
185
186;;; end
Note: See TracBrowser for help on using the repository browser.