Commit graph

4850 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
bb0ca9163f FIRST, SECOND, THIRD, FOURTH and REST inlined using the new functions in cons.h 2011-12-03 21:42:05 +01:00
Juan Jose Garcia Ripoll
b857c4836d Use the new functions [_]ecl_c[ad]+r() functions in the Lisp2C compiler 2011-12-03 21:08:34 +01:00
Juan Jose Garcia Ripoll
831ef05dba ecl/eval.h must be included before ecl/cons.h 2011-12-03 20:52:43 +01:00
Juan Jose Garcia Ripoll
d5f090e81e Added a header and a separate object file for C[AD]+R operation, automatically generated from src/util/gen-code.lsp 2011-12-03 20:16:45 +01:00
Juan Jose Garcia Ripoll
27c01f4847 Optimize POP using a compiler macro. 2011-12-03 11:29:59 +01:00
Juan Jose Garcia Ripoll
440c9aaa5d POP uses the access form only once 2011-12-03 10:15:06 +01:00
Juan Jose Garcia Ripoll
b86259554a In SYS:DESTRUCTURE, the flag of an optional value was defined before the value itself. 2011-12-03 09:26:30 +01:00
Juan Jose Garcia Ripoll
7690ab6a16 DESTRUCTURE now runs over the argument list using CAR and CDR, and producing slightly faster code. 2011-12-03 09:11:15 +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
7e2a861fbf Remove :PURE attribute from some functions that construct new objects or return non-externalizable objects 2011-12-01 23:22:10 +01:00
Juan Jose Garcia Ripoll
0372c80ce2 Evaluate pure functions when their arguments are all constant (src/cmp/cmpeval.lsp) 2011-12-01 23:04:21 +01:00
Juan Jose Garcia Ripoll
e2fbe37fcd LOC-IMMEDIATE-VALUE-P did not return the appropriate value for character locations 2011-12-01 22:56:23 +01:00
Juan Jose Garcia Ripoll
c724eacb24 New function c1form-constant-p in src/cmp/cmpform.lsp 2011-12-01 22:25:39 +01:00
Juan Jose Garcia Ripoll
5496db2b94 SAFE-LIST-LENGTH rewritten to avoid use of HANDLER-CASE 2011-12-01 22:25:13 +01:00
Juan Jose Garcia Ripoll
702a4c6e3c Fixed the first argument to SEQ-OPT-PARSE-ARGS in cmpopt-sequence.lsp 2011-12-01 21:00:48 +01:00
Juan Jose Garcia Ripoll
78442fa7bc Restored :BIG-ENDIAN and :LITTLE-ENDIAN features, because it is needed by CLX. 2011-11-20 00:30:44 +01:00
Juan Jose Garcia Ripoll
950704f7d1 Replace two uses of (char *) with (ecl_base_char *) in src/c/character.d 2011-11-20 00:25:55 +01:00
Juan Jose Garcia Ripoll
eb884293c7 Fixed inliner for ASH. 2011-11-19 19:07:07 +01:00
Juan Jose Garcia Ripoll
3dc9c5a8a0 Remove function types from those in the automatic type checks. 2011-11-19 16:48:20 +01:00
Juan Jose Garcia Ripoll
ff6e7efc03 The compiler is less verbose 2011-11-19 16:47:50 +01:00
Juan Jose Garcia Ripoll
25d655d159 Remove debuggin statement from cmp/cmpwt.lsp 2011-11-19 00:03:22 +01:00
Juan Jose Garcia Ripoll
e5de9aa7b1 DATA-C-DUMP did not produce an empty text array (data_text = NULL) when compiling functions (not FASL). 2011-11-18 23:58:02 +01:00
Juan Jose Garcia Ripoll
c4966bd006 base-char maps to unsigned char, not to "char". 2011-11-18 16:53:37 +01:00
Juan Jose Garcia Ripoll
d130b21f96 Deactivate *compile-in-constants* only in Windows 2011-11-17 17:14:34 +01:00
Juan Jose Garcia Ripoll
704964093f If a file does not use MMAPed data, allow it. 2011-11-14 23:35:45 +01:00
Juan Jose Garcia Ripoll
9f683792a1 In si_chmod(), fix detection of error condition. 2011-11-14 22:25:45 +01:00
syakovyn
3fe675ac83 Defined mode_t for Windows. It doesn't have this type. 2011-11-14 10:10:27 +01:00
Juan Jose Garcia Ripoll
363ec85f59 Added POSIX function (EXT:CHMOD filename mode) 2011-11-13 22:42:37 +01:00
Juan Jose Garcia Ripoll
f96d381542 In TYPEP, support * in CONS type specifiers, as in (typep (cons 1 2) '(CONS * t)) 2011-11-13 16:41:49 +01:00
Juan Jose Garcia Ripoll
1fb93d7759 Remove debug statements from bare.lsp.in 2011-11-13 16:41:07 +01:00
Juan Jose Garcia Ripoll
731395e8f9 The previous method for computing si::+commit-id+ used ORIG_HEAD which does not contain the last commit. We now use .git/logs/HEAD instead. 2011-11-13 16:36:13 +01:00
Juan Jose Garcia Ripoll
181c12947f Remove /EXPORT option from ECL, to avoid duplicated exports in Windows64.
This is perfectly safe for ECL already uses ECL_DLLEXPORT to announce names.
2011-11-13 15:34:04 +01:00
Juan Jose Garcia Ripoll
27f8141371 Fixed _ecl_big_plus_fix() so that it does not use the *_ui/_si routines in GMP 2011-11-13 15:13:25 +01:00
Juan Jose Garcia Ripoll
cbdf929a29 Fix coercion from cl_fixnum to int32_t under Windows64 2011-11-13 12:51:26 +01:00
Juan Jose Garcia Ripoll
55821dc616 In Windows64, ECL_LONG_BITS must be 32 (LL64) not 64, as it was defined in msvc/ecl/config.h.msvc6 2011-11-13 11:47:41 +01:00
Juan Jose Garcia Ripoll
72a882078c Remove debug statement from C::C1NOT. 2011-11-12 18:10:13 +01:00
Juan Jose Garcia Ripoll
3c731219df *compile-in-constans* does not work with the test suite. 2011-11-12 00:10:30 +01:00
Juan Jose Garcia Ripoll
3addf0abe8 The product of bignum times fix did not contemplate LONG_BITS < FIXNUM_BITS 2011-11-11 23:58:56 +01:00
Juan Jose Garcia Ripoll
ac29a977f7 Replaced two uses of mpz_set_[su]i() with _ecl_big_set_fixnum(). 2011-11-11 23:51:47 +01:00
Juan Jose Garcia Ripoll
305078dcd7 Undo latest commit, which breaks other platforms 2011-11-11 23:38:38 +01:00
syakovyn
f1902ca956 Configured _WIN64 support for MSVC 2011-11-11 23:08:09 +01:00
syakovyn
13ff478d41 Fixed some GMP issues with long being 32 bit on Windows 64 bit by introducing new level of indirection gmp_long to be __int64 in the above case and long otherwise 2011-11-11 23:08:05 +01:00
Juan Jose Garcia Ripoll
fd5488269b In Windows, include direct.h for rmdir() 2011-11-11 23:03:42 +01:00
Juan Jose Garcia Ripoll
ea0fdff007 Avoid further uses of make_simple_base_string. 2011-11-06 10:02:55 +01:00
Juan Jose Garcia Ripoll
9e1d0a97b5 *compile-in-constants* defaults to t everywhere else outside Windows 2011-11-06 09:58:03 +01:00
Juan Jose Garcia Ripoll
8bb0b8a25f Added optimizers for PRINT, PRINC and TERPRI based on compiler macros. 2011-11-05 20:18:52 +01:00
Juan Jose Garcia Ripoll
9a10cd1767 Removed obsolete optimizers for PRINC and TERPRI 2011-11-05 20:18:02 +01:00
Juan Jose Garcia Ripoll
267be3903c ecl_princ_char() now returns the character 2011-11-05 20:17:18 +01:00
Juan Jose Garcia Ripoll
0d41a1de04 Added an 'unlikely' in ecl_symbol_value. 2011-11-05 20:16:59 +01:00
Juan Jose Garcia Ripoll
96789977a8 New function to transform strings into C expressions 2011-11-05 20:16:40 +01:00