Commit graph

261 commits

Author SHA1 Message Date
jjgarcia
a682c5accb Make MAYBE-PUSH-ARGS smaller. 2002-10-21 12:29:44 +00:00
jjgarcia
a9e4edf4d0 The calling conventions have been changed. SI::C-ARGUMENTS-LIMIT and
LAMBDA-PARAMETERS-LIMIT are both 64. Up to C-ARGUMENTS-LIMIT may be
passed to a function using C calling conventions. If the function is
to retrieve more arguments, (for instance through a &rest variable),
this can be done, but then the arguments have to be pushed on the lisp
stack. This method allows us to raise the CALL-ARGUMENTS-LIMIT up to
MOST-POSITIVE-FIXNUM. From a users point of view, there is no visible
change, excep the fact that a function may receive more arguments.

The function apply() has been replaced with cl_apply_from_stack().
The former took a pointer to the list of arguments. The latter assumes
that the last "narg" elements on the lisp stack are the arguments of
the function.
2002-10-21 09:27:58 +00:00
jjgarcia
10fbd27569 Add multival.d to the list of source files. 2002-10-21 09:26:50 +00:00
jjgarcia
40d3d5c9b1 Fix bogus link. 2002-10-21 09:25:17 +00:00
jjgarcia
5f92465b08 SI::LOOKUP-HOST-ENTRY should not signal an error when the host is not found. 2002-10-16 07:15:58 +00:00
jjgarcia
feeea3db1a Remove unused functions extended_{mul,div}(). 2002-10-16 07:11:01 +00:00
jjgarcia
9724cc060a Remove unused function object_to_string(). 2002-10-16 07:06:37 +00:00
jjgarcia
e919dcd6c7 Remove unused function make_list() 2002-10-16 06:59:50 +00:00
jjgarcia
874affc400 SUBSEQ should also work with vectors of bytes. 2002-10-16 06:56:47 +00:00
jjgarcia
f03ef8ae16 Added function SI:OPEN-UNIX-SOCKET-STREAM and SI:LOOKUP-HOST-ENTRY 2002-10-15 13:38:18 +00:00
jjgarcia
39539e5714 Add new operator OP_LFUNCTION and remove OP_CALL/OP_PCALL. This results in
a simplification of the code for OP_FUNCTION, which may assume that the
function to be searched is a global.
2002-10-13 17:13:25 +00:00
jjgarcia
0912497863 Simplify use of local variables, eliminating the redundant symbol from the
bytecodes.
2002-10-13 17:05:40 +00:00
jjgarcia
cd6d1e61ef Simplify the bytecodes a bit and add comments describing their use. 2002-10-13 16:57:24 +00:00
jjgarcia
3c7fe4535b Instead of having gcall() work like funcall(), create a function
[va_]compute_method() which computes the method we really want to call,
and use this function inside funcall(), apply(), etc.
2002-10-13 16:05:26 +00:00
jjgarcia
59a26b4751 Use same link_call() with and without CLOS. The use of static variables is
not thread safe.
2002-10-13 16:03:36 +00:00
jjgarcia
a5aaa3edf3 Use abs_{srcdir,builddir,top_srcdir}, to avoid problems with latest autoconf. 2002-10-13 16:02:23 +00:00
jjgarcia
29734ae79b New functions SI:SAFE-EVAL and cl_safe_eval() allow the user to evaluate
code with errors without jumping into the debugger. Useful when embedding
ECL in other programs.
2002-10-08 17:40:22 +00:00
jjgarcia
4c6036b3f8 Changed the algorithm of the list reader. A dot which is not escaped is read as
a symbol SI::. which is recognized by LEFT-PARENTHESIS-READER. This avoids
using global variables "in_list_flag" and "dot_flag". No need for function
read_object_recursive(), since read_object() is equivalent to it.
2002-10-08 16:50:28 +00:00
jjgarcia
fe2c419642 Configure Boehm's GC with --disable-threads so that ECL does not require
the posix threads library.
2002-10-08 16:48:37 +00:00
jjgarcia
97dbff8921 New function to undo "n" bindings of special variables. 2002-10-08 16:39:55 +00:00
jjgarcia
1897e278d6 *standard-output* and *terminal-io* are always bound to something. 2002-10-08 16:32:13 +00:00
jjgarcia
7a4c7788bf Small optimization for APPLY[_closure]. 2002-10-07 09:27:23 +00:00
jjgarcia
308ca50f5d Export build-program as well. 2002-10-07 07:17:39 +00:00
jjgarcia
e2d71f3f18 default_dispatch_macro should be private. 2002-10-04 15:47:34 +00:00
jjgarcia
15b66bff98 Remove global variable read_VV_block. Use special variable instead. 2002-10-04 15:42:57 +00:00
jjgarcia
d81eb52f3f Remove global variable READtable. Use value of symbol instead. 2002-10-04 14:44:04 +00:00
jjgarcia
15b0a010a6 Remove global variable READsuppress. Use value of symbol instead. 2002-10-04 13:03:06 +00:00
jjgarcia
e69c094119 Remove global variable READdefault_float_format. Use value of symbol instead. 2002-10-04 12:51:21 +00:00
jjgarcia
826bdc6cca Remove global variable READbase. Use value of symbol instead. 2002-10-04 12:36:08 +00:00
jjgarcia
39811b295f Remove global variable READtable. Use the value of the symbol instead.
Prefix standard_readtable, current_readtable() with cl_
2002-10-04 09:55:57 +00:00
jjgarcia
31e4ac5fa1 Remove some extra tokens after #endif. 2002-10-04 08:25:14 +00:00
jjgarcia
8d7c070929 Remove tag concerning CLISP to avoid confusion. 2002-10-04 07:56:56 +00:00
jjgarcia
8c565b8768 Fix wrong link. 2002-10-02 16:39:56 +00:00
jjgarcia
cfc4abfb41 Use BSD "install" to ensure that the required directories are created. 2002-10-02 16:38:14 +00:00
jjgarcia
7aab30f6c1 Small size optimization. 2002-09-26 13:45:40 +00:00
jjgarcia
3f09999d53 Remove unused code. 2002-09-26 13:37:51 +00:00
jjgarcia
5c2adb9d9f Whenever possible, use readc_stream() to read characters. This avoids useless
conversions between cl_object and character codes.
2002-09-26 13:29:28 +00:00
jjgarcia
6ed993bd85 Replace low level code with cl_string_push_extend(), isalpha(), islower(). 2002-09-26 10:41:24 +00:00
jjgarcia
6ac05a4b6e Build download.html as well. 2002-09-25 18:18:15 +00:00
jjgarcia
44f71e08f7 The distribution file has changed name. 2002-09-25 17:59:02 +00:00
jjgarcia
15b8410814 Document changes for the 0.6 release 2002-09-25 17:36:00 +00:00
jjgarcia
6288e333b0 Remove extra tokens from #endif 2002-09-25 17:15:19 +00:00
jjgarcia
e33e82eafc Collect function and symbol declarations in the same file: all_symbols.d 2002-09-22 12:19:23 +00:00
jjgarcia
7ce6a0d4c2 Avoid recreating symbols when assigning value to constants. 2002-09-22 12:08:05 +00:00
jjgarcia
8016d4822f Comment latest improvements. 2002-09-22 11:53:56 +00:00
jjgarcia
ea47a36468 Fix typo. 2002-09-22 11:49:49 +00:00
jjgarcia
77d38e2c09 Define all variables pointing to symbols in "all_symbols.o", because MacOSX
does not like object files without functions.
2002-09-20 14:01:27 +00:00
jjgarcia
d69981c763 Avoid using nanosleep() in MacOSX 2002-09-20 14:00:35 +00:00
jjgarcia
7360266c25 Use sin, cos, etc, where sinf, cosf, etc are not defined 2002-09-20 13:59:58 +00:00
jjgarcia
e62282b59b machines.h contains some definitions which are needed in functions_list.h 2002-09-20 13:58:44 +00:00