jjgarcia
3607ca33c6
READ/WRITE-SEQUENCE implemented.
2003-07-10 08:41:15 +00:00
jjgarcia
d0cd173cf4
Initial patches for supporting MINGW32
2003-07-08 17:36:41 +00:00
jjgarcia
dadf9d34ed
Fix SI::OPEN-PIPE and add SI::CLOSE-PIPE
2003-07-03 13:57:59 +00:00
jjgarcia
f8d7f48aeb
Fix declaration for si_member1()
2003-07-03 10:09:31 +00:00
jjgarcia
5e56be36a8
ECL ported to Solaris/SPARC-32
2003-07-01 12:28:44 +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
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
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
f20736084b
Add more symbols to src/c/symbols_list.h, and resolve associated conflicts.
2003-04-28 09:25:58 +00:00
jjgarcia
1af46c7c39
Use the READER-ERROR condition to signal errors in the reader.
2003-04-10 17:40:34 +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
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
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
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
5f6f65b407
Bunch of fixes inspired by the ANSI test suite of GCL.
2003-03-10 09:10:13 +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
aaa68d02a8
LOGICAL-PATHNAME implemented.
2002-12-14 15:03:07 +00:00
jjgarcia
81fd297e7e
Fix prototypes for functions which changed from int -> cl_fixnum.
2002-12-09 12:39:26 +00:00
jjgarcia
18cce3f268
Enter definitions for the Alpha processors, and allow the processor to
...
be unknown (helps in porting).
2002-12-09 12:31:00 +00:00
jjgarcia
62141f9f5d
Replace int -> cl_fixnum, cl_index, to avoid problems with 64-bit archit.
...
Make sure that structure/instance slots may be indexed with a simple integer.
2002-12-09 12:10:33 +00:00
jjgarcia
3e7559f112
SI::PROCESS-LAMBDA-LIST split into SI::PROCESS-LAMBDA (which actually
...
operates on functions) and SI::PROCESS-LAMBDA-LIST (which parses only
the lambda list). The code is simplified.
2002-12-02 10:14:21 +00:00
jjgarcia
ffbfd24425
When illegally trying to access a closed stream, signal an error of type
...
STREAM-ERROR. Also, check operations from the C library for possible errors
and use FElibc_error() when these input/output operations fail.
2002-11-27 15:54:25 +00:00
jjgarcia
0cb11a2aad
Global variables preserving_whitespace, detect_eos_flag, escape_flag and
...
delimiter_char removed. Function readc_stream and unreadc_stream renamed
to ecl_getc and ecl_ungetc. They now have a C-like behavior, do not
complain about EOF and return the special value EOF when the end of the
file is reached.
2002-11-24 15:52:15 +00:00
jjgarcia
e241cfec55
Fix a typo. In comma_reader, PEEK-CHAR should be called with the stream to
...
be read.
2002-11-23 17:52:43 +00:00
jjgarcia
a6fea4e63e
After reading an object, READ should skip whitespaces until it fints the
...
beginning of a new line, the EOF, or a new token. This way (READ-LINE)
at the prompt, produces the expected result instead of an empty line.
2002-11-23 15:42:09 +00:00
jjgarcia
15da98a8c9
MacOSX's "cc -E" trashes a file while preprocessing. Therefore, we have to
...
get the content of machines.h in some other way: building a program. In a
near future, we should replace machines.h with a script.
2002-11-22 18:08:12 +00:00
jjgarcia
cfb16c1920
+ The tests for the type and size of cl_fixnum have been grouped.
...
FIXNUM_BITS and CHAR_BIT do not rely now on "char" being 8-bit
large.
+ All configuration settings are now grouped in config.h. This file
has two parts, and the second one, containing flags which are only
needed during the build process, is deleted when installing ECL.
+ File critical.h merged into lwp.h.
2002-11-20 17:26:21 +00:00
jjgarcia
c7d4c73767
Use same declarations as in gc.h, but avoid including all definitions
...
for the Boehm-Weiser GC.
2002-11-19 14:31:32 +00:00
jjgarcia
7b4be96812
Remove more unused entries in external.h.
2002-11-18 17:28:02 +00:00
jjgarcia
399952f4d5
all_functions.c no longer exists.
2002-11-18 15:56:57 +00:00
jjgarcia
a1cb0392e0
Make DISPATCH-FUNCTION a valid type.
2002-11-18 12:55:22 +00:00
jjgarcia
673a0c212f
Make cl_dealloc do nothing, since the bignum libraries tries to deallocate statically allocate data.
2002-11-18 12:54:07 +00:00
jjgarcia
c08c51ab4a
Instead of defining cl_alloc* stuff, make them alias of functions in the Boehm-Weiser garbage collector, to save space.
2002-11-18 12:50:54 +00:00
jjgarcia
aefdb1995b
Introduce ecl_register_static_root() to register C static variables as containing pointers for garbage collection. Make ecl_register_static_root() do nothing in the Boehm-Weiser GC, because it already scans the whole data segment.
2002-11-18 12:48:58 +00:00
jjgarcia
fcb923948d
Removed si::clear-compiler-properties from the core library. It is defined later in the compiler.
2002-11-18 12:46:32 +00:00
jjgarcia
2f2a05798d
Replace static C variable sharp_eq_context with special lisp variable si::*sharp-eq-context*
2002-11-18 11:31:53 +00:00
jjgarcia
6b408bad43
Remove pathname_match_p and symbol_name, which are redundant. Clean external.h, removing names of functions which do ot exist.
2002-11-18 11:30:56 +00:00
jjgarcia
2e6482b0a1
Rewrite the checking of # of arguments, so that the error message gets the name of the function whenever possible.
2002-11-18 11:29:21 +00:00
jjgarcia
3c71ec8ad2
Make use of GCC's __attribute__((regparm)) to simplify calling the error functions.
2002-11-18 11:27:51 +00:00
jjgarcia
b55a0130bc
Replace coerce_to_string_designator with cl_string
2002-11-18 11:24:30 +00:00
jjgarcia
bfcc390d7f
Merge more functions (copy_tree, copy_list, etc), so that only the lisp version is used and this one takes a fixed number of arguments.
2002-11-18 11:23:52 +00:00
jjgarcia
7ecf198780
Make cl_acons a function with fixed number of arguments.
2002-11-18 11:22:45 +00:00
jjgarcia
1cae8539ff
Make reader functions take a fixed number of arguments.
2002-11-18 11:21:06 +00:00
jjgarcia
72ceea3d3c
Fixed FILE-NAMESTRING, implemented ENSURE-DIRECTORIES-EXIST, and added a
...
WITH-COMPILATION-UNIT which does nothing.
2002-11-14 18:38:34 +00:00
jjgarcia
9bdb35ee31
Make the behavior of "**" in logical pathnames more intuitive. For
...
instance, now "HOME:FOO.LISP" matches the translation rule
("**/*.*" "~/**/*.*"), which formerly it did not. Also, add a logical
hostname for the home directory.
2002-11-14 16:32:18 +00:00
jjgarcia
914f959599
1) Fix error in UNWIND-PROTECT forms: the destination frame nlj_fr has to
...
be saved, because it may be overwritten by a BLOCK or TAGBODY inside
the normal exit form.
2) Implement Invocation History Stack as a chain of stack-allocated records.
3) In compiled TAGBODY forms, replace tags with numbers to save space.
2002-11-11 12:57:21 +00:00