Commit graph

424 commits

Author SHA1 Message Date
jjgarcia
d243d6b091 Fix inline expanders for = and /=. 2003-04-30 08:01:54 +00:00
jjgarcia
b9f17d926b In DEF{CLASS,CONDITION}, arguments to the :INITFORM option, or to the :DEFAULT-INITARGS option, are now properly evaluated in the lexical environment corresponding to the DEF{CLASS,CONDITION} form. 2003-04-30 07:48:13 +00:00
jjgarcia
0432664a61 The inline expansions for = and /= were completely wrong. 2003-04-30 07:46:44 +00:00
jjgarcia
78f5db3d16 Add option :DEFAULT-INITARGS to DEFINE-CONDITION. 2003-04-29 15:56:36 +00:00
jjgarcia
e55c5cb6cf COPY-ALIST should signal an error when it gets a dotted list, but not when
it gets a list with atoms as elements.
2003-04-29 15:31:43 +00:00
jjgarcia
5040c5050a Signal an error when a slot option is missing an argument, but not when
the :TYPE option has argument NIL.
2003-04-29 15:29:20 +00:00
jjgarcia
f20a08a15a In DEFINE-CONDITION, when the list of parent conditions should default to
'(CONDITION).
2003-04-29 09:36:29 +00:00
jjgarcia
10d095dc9b In destructuring lambda lists, when &ALLOW-OTHER-KEYS is supplied, the number of
arguments needs not be double checked. New function CHECK-ARG-LENGTH embeds bot
h the checking of the number of arguments and the possible error message.
2003-04-29 08:25:06 +00:00
jjgarcia
395761a558 In destructuring lambda lists, a destructuring form may appear in
the position of a variable, even after a &KEY form.
In LAMBDA-BLOCK, deduce the block name from the function name.
2003-04-28 18:23:16 +00:00
jjgarcia
04dcf81cc2 Fix typo. 2003-04-28 17:54:37 +00:00
jjgarcia
de2176ff11 In destructuring lambda lists, &WHOLE may be accompanied by a
destructuring form.
2003-04-28 17:50:53 +00:00
jjgarcia
b08886993b Fix typo. 2003-04-28 16:09:32 +00:00
jjgarcia
c2aa136143 Various minor fixes, and an important set of changes to teach the compiler
and the interpreter to understand (SETF fname) function names, and to handle
them without creating auxiliary symbols.
2003-04-28 15:55:22 +00:00
jjgarcia
057ff71e6a DELETE-PACKAGE should signal a correctable error when the string does not
name a package. MAKE-PACKAGE should signal a correctable error when a
package with the same name/nickname exists.
2003-04-28 09:53:50 +00:00
jjgarcia
1e1efa7a7c Use VECTORP to detect whether the output sequence of MAP-INTO is a vector,
and take the fill-pointer into account, if it exists.
2003-04-28 09:32:34 +00:00
jjgarcia
f20736084b Add more symbols to src/c/symbols_list.h, and resolve associated conflicts. 2003-04-28 09:25:58 +00:00
jjgarcia
757572ca7f STANDARD-OBJECT must be a STRUCTURE-CLASS. 2003-04-28 09:07:07 +00:00
jjgarcia
1fe35cfb5b TYPEP for array types failed to check the array dimensions properly. 2003-04-10 20:40:08 +00:00
jjgarcia
07b7411a0b Signal a PROGRAM-ERROR when number of arguments is wrong. 2003-04-10 20:38:33 +00:00
jjgarcia
0d7b6e58c1 Signal a TYPE-ERROR in [N]BUTLAST or MAKE-LIST when argument is not an integer. 2003-04-10 20:06:08 +00:00
jjgarcia
6a7c791985 The UPGRADED-* functions take an optional argument -- which we ignore. 2003-04-10 19:51:05 +00:00
jjgarcia
05fa67ad17 Define and use UNBOUND-SLOT condition. 2003-04-10 19:47:56 +00:00
jjgarcia
88563164b1 LOOP-DO-REPEAT has to be a public function. 2003-04-10 19:21:54 +00:00
jjgarcia
4d2af3a55c Fix typo. 2003-04-10 19:15:24 +00:00
jjgarcia
54487f34f7 Fix the LOOP macroexpander to support "BY" keyword and better destructuring
(For instance (LOOP FOR NIL ...)). Changes taken from CMUCL.
2003-04-10 18:41:44 +00:00
jjgarcia
1af46c7c39 Use the READER-ERROR condition to signal errors in the reader. 2003-04-10 17:40:34 +00:00
jjgarcia
45d863b054 Change the order in which variables of a MULTIPLE-VALUE-SETQ form are assigned. 2003-04-10 17:38:17 +00:00
jjgarcia
02622043bc New implementation of SUBTYPEP. 2003-04-10 14:32:02 +00:00
jjgarcia
1111281642 STRUCTURE is not the name of a type; use STRUCTURE-CLASS instead. 2003-04-08 14:35:50 +00:00
jjgarcia
b6d9ee1820 si_gc() takes only one argument! 2003-04-08 14:33:59 +00:00
jjgarcia
823b5ae50f Simplify how *FEATURES* is built. 2003-04-08 14:33:05 +00:00
jjgarcia
255b967d3b Important comment. 2003-04-08 14:32:06 +00:00
jjgarcia
7b5fe28c18 Implement bignum operations using GMP and not dealing with the low-level
representation of these numbers.
2003-04-08 14:31:05 +00:00
jjgarcia
04c7cce1d4 Do not try to deallocate pointers outside our heap. 2003-04-08 14:28:05 +00:00
jjgarcia
1e9e0c140c Do not try to deallocate bignum registers. 2003-04-08 14:00:32 +00:00
jjgarcia
8e34a6179a (COND) is a valid expression and should return NIL. 2003-03-21 15:30:38 +00:00
jjgarcia
6b76d155ee Create new functions SI::{GET,PUT,REM}-SYSPROP to handle vital information
about functions, SETF forms, DEFTYPEs, etc. Property lists are no longer
used for this task.
2003-03-21 14:18:56 +00:00
jjgarcia
d8300559a9 Protect both calls to the library initialization function, because for
some cases, also the first call executes code.
2003-03-21 14:12:54 +00:00
jjgarcia
8bb27d3094 Remove public function putprop(); use si_putprop() instead.
Removed public functions FEtype_error_plist().
Low level function getf() and get() renamed as ecl_get[f]().
Simplified the loops which deal with property lists.
Assertions ASSERT and CHECK-TYPE moved from conditions.lisp to assert.lisp; old definitions removed.
2003-03-21 09:24:37 +00:00
jjgarcia
aabafc3c6c Remove public functions remf() and remprop(). 2003-03-20 15:47:44 +00:00
jjgarcia
5f57762ca6 FEcondition does no longer exist. 2003-03-20 15:46:52 +00:00
jjgarcia
57e80be0aa Fix typo. 2003-03-20 14:10:38 +00:00
jjgarcia
723d24eba7 Remove spurious semicolon. 2003-03-18 10:16:20 +00:00
jjgarcia
41c0868469 Bunch of fixes. See CHANGELOG. 2003-03-17 10:39:08 +00:00
jjgarcia
a767dd4939 Symbol GC moved from package COMMON-LISP to SYSTEM (and imported into CL-USER). 2003-03-13 13:10:15 +00:00
jjgarcia
b7ced3d4ba Change the way Cblocks are created. Now, within a DLL, several Cblocks may
be created for the different components, but in the end they are chained together
and point to a main Cblock with the handle of the library.
2003-03-13 11:10:35 +00:00
jjgarcia
5478bbe21b DLLs and files have now termination procedures, which unload the DLL or close
the file, when these objects are garbage collected.
2003-03-12 10:05:42 +00:00
jjgarcia
94f70da47b Remove debug statement. 2003-03-11 18:22:51 +00:00
jjgarcia
e10ee7808b When dealing with compiler-macros, ECL may enter an infinite loop. 2003-03-11 14:56:48 +00:00
jjgarcia
c972e21255 Make symbol COMPILER-MACRO built-in. 2003-03-11 14:55:58 +00:00