Commit graph

1231 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
863aa5efdc Slot accesors are generic functions, they do not have a C name 2012-10-07 22:09:43 +02:00
Juan Jose Garcia Ripoll
ce653d889d Do not hard-code the name of generic function accessors in compiled code 2012-09-16 22:37:24 +02:00
Juan Jose Garcia Ripoll
c5789e152c Fixed typo ulong_Long -> ulong_long 2012-08-15 20:10:18 +02:00
Juan Jose Garcia Ripoll
3d23f3332a Compiler internal errors were not detected and added to the second and third output values of COMPILE and COMPILE-FILE 2012-07-22 11:28:19 +02:00
Juan Jose Garcia Ripoll
1d0fff0183 Set *delete-files* to T also when building ECL. 2012-07-20 23:17:33 +02:00
Juan Jose Garcia Ripoll
3b4ed64ded (EXPT FIXNUM INTEGER) was inferred to be of type FIXNUM. 2012-07-14 23:22:25 +02:00
Juan Jose Garcia Ripoll
18596a1368 THE currently cannot generate type-checking code for multiple-values types. 2012-07-14 16:38:46 +02:00
Juan Jose Garcia Ripoll
0403394c85 THE forms did not work with VALUES types when compiled 2012-07-09 00:08:25 +02:00
Juan Jose Garcia Ripoll
03f8e19495 VALUES-NUMBER-FROM-TYPE did not compute the right number for types with &optional. 2012-07-08 23:37:23 +02:00
Juan Jose Garcia Ripoll
1364a32487 Fixed typo in cmptype-assert.lsp 2012-07-08 20:39:39 +02:00
Juanjo Garcia-Ripoll
ea70e1a682 Added ECL_HANDLER_CASE as a C macro. 2012-07-03 17:29:32 +02:00
Juan Jose Garcia Ripoll
e1fb39a49b Changed the name of the macro ECL_RESTARTS_TRY to ECL_RESTART_CASE 2012-07-02 23:21:34 +02:00
Juan Jose Garcia Ripoll
84a3200a02 Implemented a simple variant of RESTART-CASE in C. Used it to bind the restart ABORT on every thread. Introduced the function ecl_setq() 2012-07-02 22:49:27 +02:00
Juan Jose Garcia Ripoll
aa41c02196 Rename struct macros, STYPE, SNAME, SLOTS, SLOT, SLENGTH and move the old names to legacy.h 2012-06-30 23:34:05 +02:00
Juan Jose Garcia Ripoll
3281047165 Renamed CLASS_* and moved to legacy.h 2012-06-30 23:21:06 +02:00
Juan Jose Garcia Ripoll
825fc8cbd3 Cnil and Ct are now part of legacy 2012-06-30 23:01:40 +02:00
Juan Jose Garcia Ripoll
288d5e8ce6 Force LISTP,CONSP,ATOM and SYMBOLP into legacy.h 2012-06-30 21:59:10 +02:00
Juan Jose Garcia Ripoll
51fae6b6e0 Remove letters that got in test.lsp by accident. 2012-06-30 21:42:20 +02:00
Juan Jose Garcia Ripoll
0131e2131d Renamed ecl_bds_ptr and ecl_ihs_ptr and the corresponding structs 2012-06-30 21:39:22 +02:00
Juan Jose Garcia-Ripoll
efadef99dc Prefix the block creation macros, ECL_BLOCK_*, etc 2012-06-30 12:01:44 +02:00
Juan Jose Garcia Ripoll
1d3355d0db Improper identification of the routine for coercing cl_object to long in cmpffi.lisp 2012-06-28 00:13:11 +02:00
Juan Jose Garcia Ripoll
c2e03949be When registering macros in the global environment, accept also the case when *cmp-env* has been modified 2012-06-27 23:55:57 +02:00
Juan Jose Garcia Ripoll
b67681cc29 Floating point literals of type 'float' have to be coerced to this type or otherwise comparisons will fail to produce the right result 2012-06-27 23:11:45 +02:00
Juan Jose Garcia Ripoll
eaae5d5245 The inline expansion of PRINC might contain escape characters that were improperly caught by c-inline itself 2012-06-27 22:34:38 +02:00
Juan Jose Garcia-Ripoll
05a16801ca Rename cl_va_* macros to ecl_va_* 2012-06-24 20:46:55 +02:00
Juan Jose Garcia Ripoll
bd8ffe7379 Export ABORT, WARN, STORE-VALUE, USE-VALUE and CONTINUE as C functions 2012-06-16 10:33:40 +02:00
Juan Jose Garcia Ripoll
412a56efec Export the C integer sizes from the FFI package, which is now created in the core. 2012-06-10 10:29:01 +02:00
Juan Jose Garcia Ripoll
0e0f7e3e3c Change _unsigned_long_long -> _ulong_long 2012-06-10 00:47:11 +02:00
Juan Jose Garcia Ripoll
d9ed24c440 Change ecl_make_(single|double|long)float to ecl_make_*_flat, splitting the name for consistency 2012-06-10 00:09:41 +02:00
Juan Jose Garcia Ripoll
52512c15a4 Rename the stp_* and aet_* enumeration names with the ecl_ prefix 2012-06-08 00:12:48 +02:00
Juan Jose Garcia Ripoll
cb1cf92713 Rename ecl_fix() to ecl_fixnum(), just like ecl_long_float() or ecl_double_float() 2012-06-07 23:55:43 +02:00
Juan Jose Garcia Ripoll
64a9168434 CHARACTERP, BASE_CHAR_P, BASE_CHAR_CODE_P, CODE_CHAR, CHAR_CODE, REAL_TYPE, IMMEDIATE, IMMEDIATE_TAG, FIXNUM_TAG, FIXNUM_MINUSP, FIXNUM_PLUSP, FIXNUMP and fix get the ecl_ prefix 2012-06-06 11:19:55 +02:00
Juan Jose Garcia Ripoll
e0fa067899 Restore static contants in the core (not in exported code) 2012-06-02 18:53:19 +02:00
Juan Jose Garcia Ripoll
9fb5501609 CALL is no longer a valid name for a compiler location 2012-06-02 18:16:23 +02:00
Juan Jose Garcia Ripoll
18abdba4e1 The CALL-NORMAL location in the compiler now remembers the type of its output (needed by wt-coerce-loc) 2012-06-02 10:54:43 +02:00
Juan Jose Garcia Ripoll
22d8ff707c FLOAT optimizer is now a bit more clever and returns a typed output with inlined forms 2012-06-02 09:51:08 +02:00
Juan Jose Garcia Ripoll
be2136dca2 Changed error message for c-inline 2012-06-02 09:50:20 +02:00
Juan Jose Garcia Ripoll
06d474e33b Inline FLOAT with a second argument of type long-float 2012-06-02 00:24:16 +02:00
Juan Jose Garcia Ripoll
d7b62743e7 Unsafe conversions from object to float now use the functions ecl_{single,double,long}_float 2012-06-01 23:17:56 +02:00
Juan Jose Garcia Ripoll
2c5b024036 Export both EXT:INSTALL-BYTECODES-COMPILER and EXT:INSTALL-C-COMPILER 2012-06-01 18:53:45 +02:00
Juanjo Garcia-Ripoll
f53d22e57d New function C:INSTALL-C-COMPILER restores the C compiler once the bytecodes compiler has been activated 2012-05-31 10:50:24 +02:00
Juan Jose Garcia Ripoll
0644dba4c5 In DEFMACRO and DESTRUCTURING-BIND macroexpansions, print the whole form that caused the error. 2012-05-09 23:05:01 +02:00
Juanjo Garcia-Ripoll
2cc751eef8 STD-COMPUTE-EFFECTIVE-METHOD and friends are called directly 2012-04-27 14:00:03 +02:00
Juan Jose Garcia Ripoll
c9f99769eb The code for generating functions with a number of arguments that exceeds c-arguments-limit was lost 2012-04-14 20:36:28 +02:00
Juan Jose Garcia Ripoll
a85ee4d210 When in Unicode, ensure that the output string is always of the desired format, which defaults to :UTF8 for compiled files. 2012-03-18 16:24:46 +01:00
Juan Jose Garcia Ripoll
aaf55b6a46 Fix for type propagation of EXPT 2012-02-06 21:18:52 +01:00
Juanjo Garcia-Ripoll
d24682b9fe Moved VECTOR-PUSH-EXTENT into the core because it is needed early in the bytecodes compiler 2012-02-06 17:06:04 +01:00
Juan Jose Garcia Ripoll
2bf38a92fc When a form had more than 63 arguments, it did not pass through the macro-expander. 2012-02-02 23:00:21 +01:00
Juan Jose Garcia Ripoll
10dea13a51 Unicode strings were not properly saved in C compiled code. 2012-01-15 19:54:06 +01:00
Juan Jose Garcia Ripoll
78b10d89ad *compiler-break-enable* was sset to T by FIX-READ-ONLY-VARIABLE-TYPE. 2012-01-15 11:18:04 +01:00