Commit graph

231 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
e54d9a6173 Rename type_of -> ecl_t_of 2012-07-05 23:07:34 +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
efadef99dc Prefix the block creation macros, ECL_BLOCK_*, etc 2012-06-30 12:01:44 +02:00
Juan Jose Garcia-Ripoll
8441a08c97 VALUES() is now part of legacy.h 2012-06-30 11:48:01 +02:00
Juanjo Garcia-Ripoll
5f02f412c9 Fixed typos propagated by query-replace-ecl 2012-06-27 10:06:14 +02:00
Juan Jose Garcia Ripoll
a2fe30393f Prefix the function argument limits 2012-06-22 23:47:45 +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
dbd51915dc Remove further uses of cl_funcall in the C core 2012-05-05 10:40:14 +02:00
Juan Jose Garcia Ripoll
036cb55928 Fixes to remove warnings about unused variables. Replaced some uses of @(return) with ecl_return*() 2012-04-10 23:20:40 +02:00
Juan Jose Garcia Ripoll
4c4b58c5cf Fixed various type warnings issued by Clang 2012-04-09 22:31:09 +02:00
Juan Jose Garcia Ripoll
671aef6634 Warn when the OTHERWISE/T clause in CASE appears at a position other than the last one. 2012-04-06 18:20:55 +02:00
Juan Jose Garcia Ripoll
6719519516 Simplified the function that creates the bytecodes compiler environment 2012-03-18 20:19:47 +01:00
Juan Jose Garcia Ripoll
af9808d5d9 Save the value of the code walker in the compiler environment 2012-03-18 20:03:30 +01:00
Juan Jose Garcia Ripoll
2d713f26f4 An overoptimization when compiling variables lead to some function boundaries not being registered 2012-03-18 13:24:18 +01:00
Juan Jose Garcia Ripoll
4ec9cdf4cf When compiling twice a block, ensure that load-time forms are removed. 2012-02-10 09:23:42 +01:00
Juan Jose Garcia Ripoll
8c1f5fa6a0 compile_with_load_time_forms() did not clean up the list of forms. 2012-02-06 23:39:16 +01:00
Juanjo Garcia-Ripoll
a3726a2ecc Changed the bytecodes compiler so that constants are stored in a vector and are shared by the main form and all its children (functions) 2012-02-06 17:06:14 +01:00
Juan Jose Garcia Ripoll
b5862f94db LOAD-TIME-VALUE evaluates its argument in an empty environment (interpreter) 2012-02-03 00:47:02 +01:00
Juan Jose Garcia Ripoll
974ba01d5c LOAD-TIME-VALUE returned two values when passed two 2012-02-02 23:19:56 +01:00
Juan Jose Garcia Ripoll
250a3d9caf The interpreter only allowed LOAD-TIME-VALUE to take one argument. 2012-01-31 23:02:33 +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
a952c222cc Wrong number of arguments passed to NEED-TO-MAKE-LOAD-FORM-P in the bytecodes compiler 2011-12-31 16:31:13 +01:00
Juan Jose Garcia Ripoll
a38f16f1fa In the interpreter, avoid creating a closure when the lexical environment is empty. 2011-12-11 22:04:43 +01:00
Juan Jose Garcia Ripoll
14990a8250 THE is now a special operator in the interpreter, not a macro. 2011-12-03 09:11:11 +01:00
Juan Jose Garcia Ripoll
cb6fc56fc4 Remove the 'thread-safe' argument from remaining calls to cl__make_hash_table 2011-07-31 16:45:34 +02:00
Juan Jose Garcia Ripoll
54d0011803 In the bytecodes compiler eval-when :load-toplevel did not work for compiled files. 2011-07-30 15:44:13 +02:00
Juan Jose Garcia Ripoll
6f78b69db9 When evaluating :COMPILE-TOPLEVEL forms in the bytecodes compiler, reset the list of constants (some of them might have been transformed into load-time ones) 2011-07-14 17:39:29 +02:00
Juan Jose Garcia Ripoll
6b00c54dd3 Save locations also in bytecompiled code 2011-06-05 15:20:55 +02:00
Juan Jose Garcia Ripoll
831f0575a4 Removed debug statement from bytecodes compiler 2011-06-05 12:35:53 +02:00
Juan Jose Garcia Ripoll
0a964a0a38 Remove more debug statements. 2011-05-21 16:27:51 +02:00
Juan Jose Garcia Ripoll
f3df94b7a4 Remove debug statement (src/c/compiler.d) 2011-05-21 16:26:35 +02:00
Juan Jose Garcia Ripoll
ecc74901db PROGN ignored toplevel forms in FLAG_COMPILE mode. 2011-05-21 16:19:41 +02:00
Juan Jose Garcia Ripoll
e0b5584b65 *action-on-undefined-variable* lives in the ext package 2011-03-20 08:26:22 +01:00
Juan Jose Garcia Ripoll
bc31e21e68 ECL's bytecodes compiler now properly creates load forms for complex constants. 2011-02-27 15:31:04 +01:00
Juan Jose Garcia Ripoll
ad18f713c4 The bytecodes compiler may now compile constant values using make-load-forms 2011-02-27 10:58:09 +01:00
Juan Jose Garcia Ripoll
fe34270379 Remove the load-time constants from the array, as they are replaced later on any way. 2011-02-27 00:05:28 +01:00
Juan Jose Garcia Ripoll
0a7f39449a Added the possibility of compiling load-time forms in the interpreter, when :load-toplevel is active. 2011-02-26 23:56:57 +01:00
Juan Jose Garcia Ripoll
ad4b59a79f Refactor compile_form() into various subfunctions and split out c_quote() as special operator. 2011-02-24 14:08:55 +00:00
Juan Jose Garcia Ripoll
d42d4de9ba Slight cleanup of process-lambda-list. 2011-02-19 21:23:09 +00:00
Juan Jose Garcia Ripoll
7193e17f18 Slight optimization of si_process_lambda_list() (removing ecl_endp, ECL_CONSP, etc). 2011-02-19 15:58:26 +00:00
Juan Jose Garcia Ripoll
62956ab982 Remove all uses of VALUES() in compiler.d 2011-02-19 00:19:15 +00:00
Juan Jose Garcia Ripoll
cd7e2af0fe In eval_form(), avoid bytecompiling constant forms. 2011-02-18 22:37:46 +00:00
Juan Jose Garcia Ripoll
4c590fbb1b SI::EVAL-WITH-ENV is now implemented using eval_form() and compile_form_toplevel() is thus simplified. 2011-02-18 22:05:28 +00:00
Juan Jose Garcia Ripoll
52a1537f5c Simplify new_location() in compiler.d. 2011-02-17 23:03:51 +00:00
Juan Jose Garcia Ripoll
7caf463d99 Slight cleanup of SI:PROCESS-DECLARATIONS. 2011-02-17 10:55:09 +00:00
Juan Jose Garcia Ripoll
53034c1c87 Remove uses of ecl_endp() in compiler.d 2011-02-16 23:38:12 +00:00