libera/#commonlisp - IRC Chatlog
Search
0:31:25
asarch
So, if you had a programming language 'x', with basic support for OOP and then you use that basic support to create an "API" to give full OOP feature to that language, that "API" would be a Meta-Object Protocol, right?
0:44:33
reb`
You have a programming language. The MOP defines a set of classes and protocols that represent methods, classes, inheritance ... and you let a developer substitute different classes in order to redefine what a method or class is or how inheritance works.
1:20:03
resttime
Could someone explain this behaviour I'm seeing when trying to define a new VOP in SBCL? https://plaster.tymoon.eu/view/3345#3345
1:21:51
resttime
Whether it's a lambda and a function doesn't seem to use the VOP I'm expecting but a funcall of a lambda does
1:23:35
resttime
I'm just trying to add two fixnums together, and don't understand the addition isn't happening in all three cases
1:43:25
reb`
asarch: No, it's to provide developers with a way to modify the behavior of the language.
1:54:17
Bike
resttime: i am not an expert on sbcl internals, but i'm reasonably confident that you can't just refer to lisp lexical variables in a vop generator?
1:59:40
Bike
well, add-vop seems to be returning the first argument in the first two cases. maybe you have to do something else to ensure that the result of add actually gets into the result register.
7:21:40
jackdaniel
i.e https://github.com/fredokun/cl-jupyter (I'm not sure whether this is what they use)
7:22:24
jackdaniel
https://github.com/yitzchak/common-lisp-jupyter/ this seems to be a more likely thing that they use given the list of contributors