Commit graph

194 commits

Author SHA1 Message Date
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
jjgarcia
ded8f34629 Code for handling :IMPORT-FROM in DEFPACKAGE was bogus 2002-05-22 13:38:33 +00:00
jjgarcia
7e5cacd38e * Variable *EVAL-WHEN-COMPILE* is no longer used.
* FIND-CLASS belongs to the C library -- it can now be directly called.
* Class BUILT-IN renamed to BUILT-IN-CLASS
* Macro PROG1 slightly optimized
2002-05-17 16:37:21 +00:00
jjgarcia
f9cf423040 DEFCLASS does not need an extra call to FIND-CLASS, since ENSURE-CLASS already
outputs the right value.
2002-05-17 16:35:13 +00:00
jjgarcia
a5aa7f83e3 Latest version of test suite merged from CLOCC. 2002-05-17 16:33:10 +00:00
jjgarcia
37ff2b9644 Removed INT-CHAR. Use CODE-CHAR instead. 2002-05-13 13:52:45 +00:00
jjgarcia
1be3957ec4 FIND-METHOD should be public in CL. 2002-05-13 12:30:12 +00:00
jjgarcia
8484be417b Under ECL, set-difference outputs values in reverse order. 2002-05-13 08:16:10 +00:00
jjgarcia
6f10f3e925 Fix typo. 2002-05-13 07:24:10 +00:00
jjgarcia
2fc2421073 Dot use "make" but the variable $(MAKE), which is set to a program that works
with our makefiles.
2002-05-13 07:23:45 +00:00
jjgarcia
acae405641 * DEFSETF now works with functions that take keword arguments. For instance,
(DEFSETF XY (&KEY X Y) (STORE) ...).
* GET-SETF-EXPANSION now avoids generating temporary variables for immediate
  values, such as keywords and integers.
2002-05-13 07:22:06 +00:00
jjgarcia
7c142461af Added new type names for the different forms of streams (ECHO-STREAM, STRING-
STREAM, etc). Now TYPE_OF() returns these more specific names.
2002-05-13 07:21:15 +00:00
jjgarcia
dffbb731bd * SYMBOL-MACROLET now fails when redefining a symbol that has been declared
special.
* Declarations are now properly handled by DOTIMES/DOLIST and LOCALLY. See
  src/ansi-tests/section3.* for details.
2002-05-13 07:19:26 +00:00
jjgarcia
249ba9e916 Fixed typo. 2002-05-13 07:17:38 +00:00
jjgarcia
b1ca5addcb CLASS-NAME, CLASS-SLOTS, etc, are now functions. 2002-05-13 07:16:52 +00:00
jjgarcia
69f92bea35 clos/{builtin,kernel}.lsp: Added classes for STREAM, *-STREAM, HASHTABLE,
PACKAGE, LOGICAL-PATHNAME, REAL, READTABLE, RANDOM-STATE.
2002-05-13 07:16:19 +00:00
jjgarcia
ee331c3583 Fix typo. 2002-05-13 07:13:48 +00:00
jjgarcia
50564327b0 BYTECODES-SPLIT is now called BC-SPLIT 2002-05-13 07:13:04 +00:00