freenode/#clasp - IRC Chatlog
Search
1:40:14
stassats
(reduce #'bag-join (cleavir-ir:predecessors instruction) :key (lambda (pred) (arc-bag pred instruction dictionary))) you mean?
1:42:13
drmeister
The way it's written - using APPLY, isn't it possible that since there's no limit to the number of predecessors of an instruction (large functions) that there is no safe, low limit for funcall that will work?
1:43:19
drmeister
I can set the limit to 140 - but above that the Google 'pump' script goes nuts for some reason. Google 'pump' is a Python program that generates code based on a template.
1:48:15
Bike
little surprised it came up there. i guess an instruction would have a lot of predecessors if you had a tagbody with a lot of tags, maybe
3:13:56
drmeister
But this is bclasp - the last big hurtle is all lexical variables in activation frames.
13:05:01
drmeister
I almost have cclasp building but I encountered an exception handling problem when EXIT is invoked when building cclasp.
13:17:19
Shinmera
In http://www.lispworks.com/documentation/HyperSpec/Body/f_shared.htm it mentions this for the initialisation of slots with initforms:
13:17:21
Shinmera
"Any slots indicated by slot-names that are still unbound at this point are initialized according to their :initform forms. For any such slot that has an :initform form, that form is evaluated in the lexical environment of its defining defclass form and the result is stored into the slot. For example, if a before method stores a value in the slot, the :initform form will not be used to supply a value for the
13:17:46
Shinmera
How would I hope to "evaluate the form in the lexical environment of the defclass"?
13:18:45
beach
Shinmera: What Bike said. It is very explicit in the AMOP, but not so much in the Common Lisp HyperSpec.
13:19:25
beach
Shinmera: the macro DEFCLASS turns the INTIFORM into an INITFUNCTION. You need to do nothing.
13:21:25
Shinmera
It would be great if that was linked or hinted at in http://metamodular.com/CLOS-MOP/slot-definition-initfunction.html too