Commit graph

211 commits

Author SHA1 Message Date
jjgarcia
dad4e2e388 Install the headers of the garbage collector together with ECL. 2002-09-20 10:04:58 +00:00
jjgarcia
530d74cce3 Fix a typo. "boehm" has to be defined to "yes" to force building the GC. 2002-09-20 09:40:42 +00:00
jjgarcia
474593f908 Version 6.1 of the garbage collector imported. 2002-09-20 09:37:43 +00:00
jjgarcia
055d71ec73 Remove unused headers. 2002-09-20 09:04:22 +00:00
jjgarcia
50a46e8f60 Replace informative tokens after #endif with comments. 2002-09-17 15:42:51 +00:00
jjgarcia
74a8d63a2e Add path to source directory so that symbols_list.h may be found under RedHat. 2002-09-17 15:36:10 +00:00
jjgarcia
a0470a134c Add more symbols from the CL package to symbols_list.h. 2002-09-17 14:53:46 +00:00
jjgarcia
80d7e0fe75 Keywords are now created in all_symbols.d 2002-09-17 13:23:52 +00:00
jjgarcia
9e8180d8ef Fix interplay between old garbage collector and new method for allocating
symbols. The old GC still has a leak, so disable it.
2002-09-16 16:40:27 +00:00
jjgarcia
d3cb296d05 Update list of useful files. 2002-09-16 16:39:45 +00:00
jjgarcia
2414150f77 Verbose loading of files. Helps in debugging errors in the library. 2002-09-16 16:39:21 +00:00
jjgarcia
6b96d4f2df When creating NIL and T, set the number of symbols. 2002-09-16 16:38:20 +00:00
jjgarcia
33924a765a The pretty printer hangs in an infinite loop with circular lists. 2002-09-16 16:37:20 +00:00
jjgarcia
b7578d6a69 Fix typo: output from load went to a string, instead of *standard-output*. 2002-09-16 16:35:53 +00:00
jjgarcia
c841e3f1e3 Circular printer was disabled! 2002-09-16 15:28:56 +00:00
jjgarcia
ac940d1cf2 <signal.h> has to be included so that SIGIOT may be restored before aborting.
A temporary error handler is also installed, which simply exits.
2002-09-16 12:20:24 +00:00
jjgarcia
23ee878e59 All symbols belonging to the LISP package and to the C core, are
kept in a single array, "cl_symbols". The translator "dpp" and the
routine SI::MANGLE-NAME, output the right name for any symbol
which is in this array.
2002-09-15 13:29:05 +00:00
jjgarcia
c17bbd1ecb Fix typo: feature #+ecls -> #+ecl 2002-09-15 13:22:10 +00:00
jjgarcia
ca4b7822d1 New header for things which are not for the end user. 2002-09-15 13:19:00 +00:00
jjgarcia
356e6b9235 ECL now uses a hashtable to store objects when *PRINT-CIRCLE* is
on. This hashtable is not cleared when calling PRINT-OBJECT, so
that circularities are also detected inside these methods.
2002-09-14 11:30:17 +00:00
jjgarcia
eb36d14010 gentemp_prefix and gensym_prefix are now constant static variables and their
value is not modified by calls to GENSYM or GENTEMP.
2002-09-11 14:49:54 +00:00
jjgarcia
7db430cb45 Change version number and keep note of latest changes. 2002-09-11 13:49:20 +00:00
jjgarcia
74c02ee5b3 Global variables bignum_register[], gc_time, backq_level are no longer public. 2002-09-11 13:39:44 +00:00
jjgarcia
8389a361d1 Newer versions of config.{guess,sub} files, which come with Autoconf 2.52. 2002-09-11 13:35:09 +00:00
jjgarcia
441354af45 Make format.d use only stack allocated data, to make it reentrant. 2002-09-09 07:15:57 +00:00
jjgarcia
2e439d23ad FORMAT should not accept more than 7 parameters per directive. Also,
avoid the use of pointers in fmt_set_param[_positive]().
2002-09-08 10:00:07 +00:00
jjgarcia
9eb9d3bc88 Hide a lot of functions. Official interface for printer is made of
setupPRINT() and write_object().
2002-09-07 15:30:51 +00:00
jjgarcia
0d168a1aa5 Remove pointer write_ch_fun. Clean up a bit the procedure for preparing the
printer and printing circular objects.
2002-09-07 15:12:39 +00:00
jjgarcia
e9204d8d37 Fix typo. 2002-09-07 14:31:51 +00:00
jjgarcia
370289ec26 Create new functions for make_string_output_stream_from_string() and
cl_string_push_extend().
2002-09-07 13:40:07 +00:00
jjgarcia
fab70b7056 call_{structure_print_function,print_object} now share the same code. 2002-09-03 16:27:49 +00:00
jjgarcia
265a23d5ce Remove global variable intern_flag. Add, instead, a new parameter to
intern() and find_symbol().
2002-09-03 14:53:34 +00:00
jjgarcia
098aa5bee4 Remove unused type intUobject. 2002-09-03 14:51:02 +00:00
jjgarcia
3a87ac41f4 Provide declarations for some functions & remove some #include's from ecl.h 2002-09-03 13:39:13 +00:00
jjgarcia
57a7261d34 Fix typo in copy_list_wildcards() 2002-09-03 12:42:47 +00:00
jjgarcia
ee6300ea76 Fixed typo in path_list_match(). 2002-09-03 12:41:50 +00:00
jjgarcia
fcdc396b53 Remove useless definitions. 2002-09-03 12:23:11 +00:00
jjgarcia
91c4080337 Remove useless definitions. 2002-09-03 12:03:06 +00:00
jjgarcia
475c8627a6 Remove unused definitions. 2002-09-03 11:54:25 +00:00
jjgarcia
5339a44232 Fix typo in unreadc_stream(). 2002-08-29 15:49:18 +00:00
jjgarcia
41240fe8e9 Synonym streams can now point to CLOS streams. 2002-08-28 17:39:23 +00:00
jjgarcia
6c7dfc0477 LOAD accepts now a stream as input parameter. However, in this case it only
tolerates lisp source files, not compiled files or libraries. For example,
(LOAD (OPEN "foo.lsp")) is equivalent to (LOAD "foo.lsp").
2002-08-27 16:31:42 +00:00
jjgarcia
6a35761024 Introduce two new user-defined methods for CLOS streams: STREAM-INPUT-P and
STREAM-OUTPUT-P. Both should be defined, so that ECL may decide wether an
instance may be used for output or not.
2002-08-27 16:25:40 +00:00
jjgarcia
1179c35043 The interface for CLOS streams is cleared. First, output_ch_fun and read_ch_fun
disappear. All code pertaining CLOS streams is moved to file.d. This code
allows the user to supply an arbitrary object instead of a stream. The object
must have the following methods defined: STREAM-READ-CHAR, STREAM-UNREAD-CHAR,
STREAM-LISTEN, STREAM-CLEAR-INPUT, STREAM-WRITE-CHAR, STREAM-CLEAR-OUTPUT,
STREAM-FORCE-OUTPUT, STREAM-CLOSE. With these methods it can be used for
input and output. This implementation of streams is enabled with the flag
--with-clos-streams during configuration phase.
2002-08-27 13:46:04 +00:00
jjgarcia
cd71cbe5a3 Fix square root. 2002-07-08 07:35:55 +00:00
jjgarcia
b7cd0209b8 Use ISO-C99 functions to check whether a real number is finite. 2002-05-22 16:51:15 +00:00
jjgarcia
1286ec7528 No need to check for overflows while reading numbers -- make_shortfloat
and make_longfloat take care of that.
2002-05-22 16:50:41 +00:00
jjgarcia
723047975d Use ISO-C99 functions to extract exponents, mantisas, etc, instead of old
tricks based on the binary representation of numbers.
2002-05-22 16:36:41 +00:00
jjgarcia
99c96e7840 The name of the class itself does not appear in the class precedence list
under ECL.
2002-05-22 16:35:55 +00:00
jjgarcia
e6922fb76c Function SI:NANI has been removed. Its purpose was to provide an
object which could not be printed or readed so that it could be
used to mark unbound slots in classes. Now the function SI:UNBOUND
performs the same task
2002-05-22 13:40:38 +00:00