Juan Jose Garcia Ripoll
18e7a43603
Method combinations are built using with-early-make-instance
2012-10-07 22:09:44 +02:00
Juan Jose Garcia Ripoll
3fc09351ea
Final changes to make all accessors generic functions, including the MOP standard ones, avoiding infinite recursion.
2012-10-07 22:09:44 +02:00
Juanjo Garcia-Ripoll
d8547c5531
When computing the generic function dispatch, we eliminate the case in which the generic function takes too many required arguments. Slight optimizations in STD-COMPUTE-EFFECTIVE-METHOD.
2012-04-27 16:09:17 +02:00
Juanjo Garcia-Ripoll
a366111a71
COMPUTE-EFFECTIVE-METHOD returns a form, even if it does not have the syntax people would expect.
2012-04-27 12:16:05 +02:00
Juanjo Garcia-Ripoll
1752b034a4
Add Juanjo's copyright to files that did not have it.
2012-04-26 17:33:14 +02:00
Juanjo Garcia-Ripoll
1fc8af38ba
New class METHOD-COMBINATION used in combin.lsp
2012-04-26 10:09:34 +02:00
Juanjo Garcia-Ripoll
6e58b9c402
The method combination slot in a generic function is now precomputed using FIND-METHOD-COMBINATION.
2012-04-25 23:13:55 +02:00
Juan Jose Garcia Ripoll
f9b2bbe062
Method functions now only take two arguments: the argument list (frame) and the list of next methods
2012-04-23 22:57:38 +02:00
Juan Jose Garcia Ripoll
ec6553ce88
COMPUTE-APPLICABLE-METHODS and CLOS:COMPUTE-EFFECTIVE-METHOD are now generic functions
2012-04-21 09:12:45 +02:00
Juan Jose Garcia Ripoll
7a2d30770b
Add IGNORE declarations and remove some unused variables.
2011-12-23 15:38:37 +01:00
Juan Jose Garcia Ripoll
4b2eca745a
Replace more uses of DEFVAR with DEFPARAMETER
2011-12-10 20:12:14 +01:00
Juan Jose Garcia Ripoll
d105c739a1
In DEFINE-METHOD-COMBINATION, the keyword argument :ORDER must be evaluated.
2011-08-04 22:38:56 +02:00
Juan Jose Garcia Ripoll
14d7353f05
In combin.lsp, replace a call to invalid-method-error with an ordinary ERROR which seems more appropriate.
2009-12-30 20:16:13 +01:00
Juan Jose Garcia Ripoll
cab8cbdaa2
Small change in define-complex-method-combination to fix an obscure bug (P. Costanza).
2009-11-29 22:49:14 +01:00
Juan Jose Garcia Ripoll
cecdd74f0a
Fixed typo in parsing of nonstandard method combinations. Fixed signature of the macro version of CALL-METHOD (only used inside nonstandard method combinations)
2009-05-02 13:21:10 +02:00
jgarcia
d6475a0974
Undo last change
2008-04-29 09:26:22 +00:00
jgarcia
9e294b8965
Restore a partial optimization of slot access and remove some warnings about method combination's global variables
2008-04-29 08:41:01 +00:00
jgarcia
55462dc1b7
Missing optional variable
2008-03-17 09:25:42 +00:00
jgarcia
89ffee8fd3
Fixed the implementation of effective method function: all functions must take two arguments for completeness
2008-03-14 22:07:21 +00:00
jgarcia
52f4df1901
Merged the new function call code
2008-02-16 10:28:32 +00:00
jgarcia
a59f90871a
Emacs modelines for better editing
2008-02-02 19:14:05 +00:00
jgarcia
5774f396a3
Probably spurious special declaration. Just in case
2006-04-18 19:22:31 +00:00
jjgarcia
8de21d278a
Implemented standard behavior of NO-APPLICABLE-METHOD.
2006-01-09 09:15:42 +00:00
jjgarcia
5bc2e8ede3
Precompile all effective methods required by standard method combinations.
2005-09-19 09:30:48 +00:00
jjgarcia
19bb8501a7
Simplified the code for creating method combinations. Remove need for code walker here.
2005-09-19 09:30:34 +00:00
jjgarcia
79aa5567fa
Fix the order in which methodsare invoked in a STANDARD-METHOD-COMBINATION
2005-01-12 13:29:02 +00:00
jjgarcia
dd39b19a32
Fixes in various reader macros (#*, #(,#C)). Stream mode smm_closed disappears and closing of files preserves the original type of stream. Implemented METHOD-COMBINATION-ERROR, INVALID-METHOD-ERROR, option :ARGUMENT-PRECEDENCE-ORDER. In loop, iteration statements can now only appear before body statements, otherwise an error is signaled. A DEFTYPE form optional arguments have default value *
2005-01-10 09:41:06 +00:00
jjgarcia
a583081e53
Fixed a few references to undefined variables. QUIT is now imported into CL-USER.
2003-12-11 18:20:16 +00:00
jjgarcia
630bfdf4f4
Clean up the package CL from non-standard symbols and move them into the EXT package, which is a nickname for SYSTEM.
2003-12-11 17:16:48 +00:00
jjgarcia
8417f93d2e
FORMATTER implemented. FORMAT ported from CMUCL and optionally included when --with-cmuformat is used at configuration time.
2003-07-31 16:37:46 +00:00
jjgarcia
e5072a82d9
Use user-supplied DPP to build the C files. machines.h is no longer required.
2003-07-23 13:09:37 +00:00
jjgarcia
47fdf3eebe
Method combinations implemented. Bug involving EQL specializers not being compared with EQL solved.
2003-07-16 17:30:18 +00:00
jjgarcia
5e56be36a8
ECL ported to Solaris/SPARC-32
2003-07-01 12:28:44 +00:00
jjgarcia
9771e91572
+ New implementation of DESTRUCTURING-BIND
...
+ The bytecodes compiler now alloes a lambda list with &key and no keywords
+ WITH-HASHTABLE-ITERATOR implemented
+ QUIT is now silent
+ In MAKE-PATHNAME, values supplied with a value of NIL would be overwritten
by the content of :DEFAULTS.
2003-03-04 16:35:03 +00:00
jjgarcia
bf8a3c21a9
Replaced LET -> LET* to make C code smaller, wherever it is possible.
2002-12-04 15:40:42 +00:00
jjgarcia
8563a1fc1c
Fix the compiler so that when it finds LOCALLY, MACROLET or SYMBOL-MACROLET
...
at the top level, it processes their bodies as top level forms as well. For
instance, (LOCALLY (EVAL-WHEN (:COMPILE-TOPLEVEL) (PRINT "HELLO"))), now works.
2001-07-19 15:33:46 +00:00
jjgarcia
2d8d0cd44b
Initial revision
2001-06-26 17:14:44 +00:00