Commit graph

1220 commits

Author SHA1 Message Date
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
Juan Jose Garcia Ripoll
5743b5cbd4 Fixed circularities when printing comments in the compiler and when printing the TRACE 2012-01-02 23:12:17 +01:00
Juan Jose Garcia Ripoll
5d7410bf51 Replace most uses of fixint with ecl_to_fix/ecl_to_size 2012-01-01 23:49:37 +01:00
Juan Jose Garcia Ripoll
0102aed9f5 We introduce two functions, ecl_to_fix/ecl_to_size, which may be inlined and are more focused than fixint/fixnnint 2012-01-01 23:39:01 +01:00
Juan Jose Garcia Ripoll
fc0fb82757 Type inference for LOGAND 2012-01-01 19:32:50 +01:00
Juan Jose Garcia Ripoll
ca0222fd19 Implemented EXT:TRULY-THE and made THE expand to either EXT:TRULY-THE or EXT:CHECKED-VALUE depending on the optimization settings. 2011-12-31 19:37:13 +01:00
Juan Jose Garcia Ripoll
f109f94a91 Change the syntax of CHECKED-VALUE so that it matches the one of THE. 2011-12-31 18:46:01 +01:00
Juan Jose Garcia Ripoll
0e2095753a Fixed compiler macroexpander for STRUCTURE-SET 2011-12-30 21:59:34 +01:00
Juan Jose Garcia Ripoll
60825360ea Fixed compiler macroexpander for SETQ 2011-12-30 21:58:39 +01:00
Juan Jose Garcia Ripoll
cb66371cf2 Another expansion of DOLIST which uses unboxing. Seems to produce better code with the new model. 2011-12-30 12:40:06 +01:00
Juan Jose Garcia Ripoll
551b9b2e23 Simplfied c1setq so that it does not call c1setq1 but returns back to c1expr. 2011-12-30 12:40:06 +01:00
Juan Jose Garcia Ripoll
7d1447b040 Fixed various typos that led to infinite recursion of compiler macros in cmpstructures.lsp 2011-12-30 12:40:06 +01:00