Commit graph

5638 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
522d139f4e Proclamations now propagate to all global variables. 2012-12-08 12:02:05 +01:00
Juan Jose Garcia Ripoll
ac40a4649b The temporary variables in cmplet.lsp should not have any package (i.e. gensym instead of gentemp) 2012-12-08 11:49:06 +01:00
Juan Jose Garcia Ripoll
900282e85f Local variables are now downcased (V2a -> v2a, for instance) 2012-12-08 01:04:52 +01:00
Juan Jose Garcia Ripoll
7a8d9e88f5 The required arguments of a compiled (C) function also get meaningful names 2012-12-08 00:57:12 +01:00
Juan Jose Garcia Ripoll
fcf8bc3d72 Local variables are now created with the name of the lisp variable they come from 2012-12-08 00:35:04 +01:00
Juan Jose Garcia Ripoll
c9f47f2090 Simplified the code that declares the variables in c2lambda-expr 2012-12-08 00:10:01 +01:00
Juan Jose Garcia Ripoll
ab933fa5a4 Another remark about the release 2012-12-07 22:01:02 +01:00
Juan Jose Garcia Ripoll
5b7258e8c5 Upgraded release number 2012-12-06 10:59:19 +01:00
Juan Jose Garcia Ripoll
8861712742 Updated the CHANGELOG for the next release. 2012-12-05 23:44:46 +01:00
Juan Jose Garcia Ripoll
d9f112cc26 The init function in a compiled file also may need an ihs structure for debugging. 2012-12-05 22:52:17 +01:00
Juan Jose Garcia Ripoll
a1a474c352 Upgraded both ASDF and ASDF-BUNDLE 2012-12-03 10:13:56 +01:00
Juan Jose Garcia Ripoll
93be6ce0b5 GENERIC-FUNCTION-NAME is just a reader. The writer implements a different logic, acting via REINITIALIZE-INSTANCE. 2012-12-03 00:46:56 +01:00
Juan Jose Garcia Ripoll
645090b557 REMOVE-METHOD was inlined, instead of being invoked through its generic function. 2012-12-03 00:42:31 +01:00
Juan Jose Garcia Ripoll
aeb5563ea5 When creating the reader/writer methods, ECL did not pass the :slot-definition argument, but rather set the slot directly 2012-12-03 00:06:27 +01:00
Juan Jose Garcia Ripoll
19add8e833 ECL's internal optimizations in extract-specializer-names are moved to DEFMETHOD 2012-12-02 23:53:38 +01:00
Juan Jose Garcia Ripoll
98bd4ac526 MAKE-METHOD-LAMBDA was invoked by pointer, not by symbol, making its redefinition as generic function completely irrelevant. 2012-12-02 23:36:47 +01:00
Juan Jose Garcia Ripoll
c3a1316270 Completely eliminated reservation macros by updating also ctop-write. 2012-12-02 11:35:11 +01:00
Juan Jose Garcia Ripoll
3204c41619 Replaced reservation macros with actual declarations in the function. 2012-12-02 11:02:47 +01:00
Juan Jose Garcia Ripoll
41be92f961 Split out t3local-function-declaration from t3local-function 2012-12-02 10:25:39 +01:00
Juan Jose Garcia Ripoll
630c9b8aaa Split t3local-fun into smaller functions 2012-12-02 09:56:09 +01:00
Juan Jose Garcia Ripoll
d9731f9527 Add spaces after commas in compiled function calls. 2012-12-02 00:55:37 +01:00
Juan Jose Garcia Ripoll
62d3dd9731 Do not write C comments when the name of the invoked function is evident from the C code 2012-12-02 00:50:38 +01:00
Juan Jose Garcia Ripoll
e6a888f290 CATCH forms now use C blocks instead of labels. 2012-12-02 00:39:28 +01:00
Juan Jose Garcia Ripoll
26ef0dd1fe Further C code beautification: spaces around '=', indentation of optional values. 2012-12-02 00:08:23 +01:00
Juan Jose Garcia Ripoll
9d48c73a74 Remove also the unused labels in complex tagbodies 2012-12-01 23:33:58 +01:00
Juan Jose Garcia Ripoll
4a0ac440e1 C2TAGBODY now uses UNWIND-NO-EXIT-UNTIL to avoid generating a spurious label (only applies to simple tagbody forms). 2012-12-01 23:24:43 +01:00
Juan Jose Garcia Ripoll
ed421cdf30 Split unwind-no-exit-until from unwind-no-exit 2012-12-01 22:43:10 +01:00
Juan Jose Garcia Ripoll
283f01fb19 Simplify unwind-no-exit 2012-12-01 22:23:43 +01:00
Juan Jose Garcia Ripoll
31f084092a Optimize (IF cond unused-value form2). 2012-12-01 19:51:21 +01:00
Juan Jose Garcia Ripoll
6899ee68d8 Do not always generate one label in maybe-next-label 2012-12-01 12:03:09 +01:00
Juan Jose Garcia Ripoll
82fbede619 Improve the C code generated for WHEN forms. 2012-12-01 12:01:51 +01:00
Juan Jose Garcia Ripoll
6eb0a9daf8 Understanding labels, we come to realize that c2if generates one too many. 2012-12-01 11:20:55 +01:00
Juan Jose Garcia Ripoll
3ef45fbf10 Last uses of braces outside IF and some in IFs updated to the new model 2012-12-01 10:49:05 +01:00
Juan Jose Garcia Ripoll
c0d8003076 Indent the C code 2012-12-01 01:19:54 +01:00
Juan Jose Garcia Ripoll
5a08245719 Last braces which are not part of IF statements 2012-12-01 01:00:59 +01:00
Juan Jose Garcia Ripoll
ccc4df0f06 Inline blocks now use open/close-brace 2012-12-01 00:48:51 +01:00
Juan Jose Garcia Ripoll
a60ccc889d The braces code is now extended to callbacks, FLET/LABELS, lambda forms, LET/LET* forms 2012-12-01 00:27:31 +01:00
Juan Jose Garcia Ripoll
1c95758108 Use the new brace routines in BLOCK, TAGBODY, CATCH, UNWIND-PROTECT, multiple values 2012-12-01 00:10:07 +01:00
Juan Jose Garcia Ripoll
9131c1774e Make the first and last braces in the function unindented 2012-11-30 23:45:51 +01:00
Juan Jose Garcia Ripoll
f0641407e8 New routines to open/close braces in the C code 2012-11-30 23:41:47 +01:00
Juan Jose Garcia Ripoll
9ffb48f149 Remove unused files from emacs.el 2012-11-30 23:41:29 +01:00
Juan Jose Garcia Ripoll
ce449ab9e8 copy-subarray is now inlined and used in arraylib.lsp 2012-11-30 11:56:28 +01:00
Juan Jose Garcia Ripoll
2e77344a54 Remove two more uses of (truly-the cons) 2012-11-30 11:21:26 +01:00
Juan Jose Garcia Ripoll
331b892d34 Slight optimizations in ARRAY-IN-BOUNDS-P 2012-11-30 11:19:27 +01:00
Juan Jose Garcia Ripoll
4a3b36ec4d Inline form for array-rank 2012-11-30 11:18:49 +01:00
Juan Jose Garcia Ripoll
5f95206e67 Simplified the code in seqlib.lsp, replacing (C[AD]R (TRULY-THE CONS ...)) with (CONS-C[AD]R ...) 2012-11-30 10:37:29 +01:00
Juan Jose Garcia Ripoll
d4f3cab76f In cmparray.lsp, some assertions were produced in unsafe mode. We now rely on optional-type-assertion to prevent this. 2012-11-30 10:24:09 +01:00
Juan Jose Garcia Ripoll
f32174203b Simplified the code for type assertions in the compiler 2012-11-30 10:23:36 +01:00
Juan Jose Garcia Ripoll
8723188e73 fill-array-with-seq can be 'hidden' as local function 2012-11-30 09:18:37 +01:00
Juan Jose Garcia Ripoll
4e17f5d1d8 Simplify the with-*-syntax macros using with-clean-symbols 2012-11-29 23:03:41 +01:00