source: branches/qres/ccl/level-0/l0-init.lisp @ 14261

Last change on this file since 14261 was 14055, checked in by gz, 9 years ago

Bump version (r13660, r13656)

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