source: release/1.2/source/level-0/l0-init.lisp @ 9119

Last change on this file since 9119 was 9119, checked in by gz, 12 years ago

Add :CCL and :CCL-1.2 and (gasp) remove :MCL from *features*

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