Commit graph

412 commits

Author SHA1 Message Date
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
jjgarcia
ab08b07ac1 ECL now detects wrong function calls, such as ("foo"), (setq a ("foo")), etc 2003-03-11 12:47:58 +00:00
jjgarcia
a627819a71 Typo fixed. 2003-03-10 14:02:44 +00:00
jjgarcia
5f6f65b407 Bunch of fixes inspired by the ANSI test suite of GCL. 2003-03-10 09:10:13 +00:00
jjgarcia
2be5baa3e4 A stupid character got in the file. 2003-03-05 09:33:19 +00:00
jjgarcia
75b7207b6d Fixed typo. 2003-03-04 17:25:43 +00:00
jjgarcia
9771e91572 + New implementation of DESTRUCTURING-BIND
+ The bytecodes compiler now alloes a lambda list with &key and no keywords
+ WITH-HASHTABLE-ITERATOR implemented
+ QUIT is now silent
+ In MAKE-PATHNAME, values supplied with a value of NIL would be overwritten
  by the content of :DEFAULTS.
2003-03-04 16:35:03 +00:00
jjgarcia
c935faf44a In cl_clear_input(), do not complain when fseek() fails. 2002-12-17 10:53:29 +00:00
jjgarcia
b0e60245a4 c::*funs* may contain symbols (like CB marking closure boundary),
function structures (marking function definitions), or lists with the
format (fname MACRO interpreted-function), to denote MACROLET
expansions.
2002-12-17 10:45:36 +00:00
jjgarcia
8209fc021e Write FTYPE declarations correctly. 2002-12-17 09:53:52 +00:00
jjgarcia
d21a1fd389 Previous fixed removed. Hopefully this time I got FTYPE declarations
correct: they are restricted to (FTYPE (FUNCTION (arg-types*) ret-type*) name*)
2002-12-17 09:53:04 +00:00
jjgarcia
8852166529 FTYPE should accept two types of declarations: the ones with a formal type
(FTYPE (FUNCTION (T T) T) MY-FUN1 MY-FUN2)
and the abbreviated ones
	(FTYPE MY-FUN1 (T T) T)
2002-12-17 09:15:37 +00:00
jjgarcia
22280e7f6c Fix macroexpander for define-condition. 2002-12-14 16:57:11 +00:00