Commit graph

463 commits

Author SHA1 Message Date
jjgarcia
34c9a7fdcd Only include ffi.d when it is required. Some compilers do not like empty files. 2003-07-02 08:41:39 +00:00
jjgarcia
af3ae3ca3b Use ISOC99 type uint8_t instead of u_int8_t 2003-07-01 13:12:04 +00:00
jjgarcia
5e56be36a8 ECL ported to Solaris/SPARC-32 2003-07-01 12:28:44 +00:00
jjgarcia
5edc1bb191 Parse properly filenames with a leading dot, like ~/.ecl.lsp or ~/.eclrc 2003-06-27 16:16:26 +00:00
jjgarcia
737571a68a Rename several accessors according to AMOP 2003-06-27 10:23:06 +00:00
jjgarcia
fde3e12c66 Use also ~/.ecl[.lsp] as initialization file 2003-06-27 10:22:59 +00:00
jjgarcia
474c37f933 Speed up checking of SUBTYPEP between classes, by using the class precedence list 2003-06-27 10:22:53 +00:00
jjgarcia
45c6042fbc Implement query-replace over the source tree 2003-06-27 10:22:39 +00:00
jjgarcia
1d26a7a51d *** empty log message *** 2003-06-25 15:09:06 +00:00
jjgarcia
eb0e98c2e3 Changes on the CLOS bootstrapping sequence (which is now done entirely in
LISP), and minor bugfixes.
2003-06-25 14:46:42 +00:00
jjgarcia
3b861d5e3b Second version of the inliner for LAMBDA forms. 2003-06-09 12:40:46 +00:00
jjgarcia
c479e12190 ABORT, and MUFFLE-WARNING should signal a CONTROL-ERROR when such restarts
do not exists. On the other hand, CONTINUE, USE-VALUE and SLOT-VALUE should
only output NIL when their restarts are not found.
2003-06-09 12:22:05 +00:00
jjgarcia
b2897c14dd When an accessor for a slot would have the same name as another accessor
defined by an included structure for the same slot, use the old function
and create no new definition.
2003-06-09 12:21:29 +00:00
jjgarcia
66b554e030 Allow structures to have slots with name NIL. 2003-06-09 12:21:08 +00:00
jjgarcia
9ff486f0ba Implemented inlining of LAMBDA expressions when they appear in the place of a function, such as the beginning of a list, or as a first argument to APPLY and FUNCALL. We can now safely remove the mechanism CALL-LAMBDA which inlines LAMBDA forms when the C code is being produced. 2003-06-09 12:19:39 +00:00
jjgarcia
ce0010c2dc Some extra headers are required for select() in older systems. 2003-06-06 16:18:59 +00:00
jjgarcia
82e8994291 Header sys/select.h required for POSIX function select() 2003-06-02 16:01:50 +00:00
jjgarcia
9667a63a60 Fix FORMAT control ~C so that ~C behaves as WRITE-CHAR. 2003-05-27 12:33:59 +00:00
jjgarcia
621aaaa03b Implement part of LISTEN using the C function select(). 2003-05-26 14:27:24 +00:00
jjgarcia
a381a7ee09 Merge NEW_COMPILER 25.05.03 2003-05-26 09:49:50 +00:00
jjgarcia
a44b509bdc New version number 2003-05-03 18:36:31 +00:00
jjgarcia
85e69577ed Build news.html using the release announcement. 2003-05-03 18:31:44 +00:00
jjgarcia
162bd771bd Do not define a function which is not going to be reused. 2003-05-03 17:37:52 +00:00
jjgarcia
0c54b35b46 New function SIMPLE-PROGRAM-ERROR creates PROGRAM-ERROR with messages. Consistency and syntax checks added all over CLOS. Signalled errors are of SIMPLE-PROGRAM-ERROR type. 2003-05-03 17:32:34 +00:00
jjgarcia
6b5725787a (VALUES form) does not fully work in the compiler. Avoid this problem with hack. 2003-05-03 17:31:22 +00:00
jjgarcia
efcfaeccc9 RESTART-CASE now recognizes ERROR, CERROR, WARN and SIGNAL forms, and associates the restarts to the condition to be signalled. CONDITION-RESTARTS had a few typos (wrong order of arguments, no associations taken into account). 2003-05-03 17:26:38 +00:00
jjgarcia
7df2ec7c01 The fake version of CLASSP is only needed when booting. 2003-05-03 17:21:33 +00:00
jjgarcia
35040b43ef In closures and local functions, the environment and the lexical variables
should not count as arguments. Not a fix, but makes code more readable.
2003-05-03 17:20:42 +00:00
jjgarcia
c81925fa7f Fix type proclamation for MEMBER1. 2003-05-03 17:16:17 +00:00
jjgarcia
ff48175133 In list functions, improve checking of :TEST[-NOT] and :KEY arguments, and rewrite auxiliary function MEMBER1 so that it uses no keyword arguments. 2003-05-03 17:13:42 +00:00
jjgarcia
8a1a95116e Commit announcement for ECL v0.9 2003-05-02 17:13:56 +00:00
jjgarcia
961559c595 Change the way compiler macros are defined (They need not understand
(FUNCALL 'function-name ...), etc). Also, add a SETF-expander for
COMPILER-MACRO-FUNCTION.
2003-05-02 10:16:32 +00:00
jjgarcia
1791e09a68 Directly call several functions in CLOS which are frequently used. 2003-05-02 10:07:25 +00:00
jjgarcia
c2ce3bd2d8 Write an efficiency note when cl_fdefinition() has to be used. 2003-05-02 09:59:30 +00:00
jjgarcia
167027f33e Fix typo. 2003-05-02 09:51:36 +00:00
jjgarcia
f9954f8e11 Redefine DOCUMENTATION as a generic function which can also handle
packages, structures, classes, etc.
2003-04-30 20:10:21 +00:00
jjgarcia
a6a4a3f919 Proclaim as directly callable a couple of frequently used functions. 2003-04-30 20:08:24 +00:00
jjgarcia
fdcdd69c26 Fix the name mangler so that it also mangles the package name. 2003-04-30 20:05:09 +00:00
jjgarcia
e70961b8cf Allow structures to have :TYPE (VECTOR BIT), (VECTOR CHARACTER), etc,
and make use of that sequence type instead of the general one (VECTOR T).
2003-04-30 11:47:59 +00:00
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