#MetaobjectProtocol

Vassil Nikolovvnikolov@ieji.de
2025-06-20

<"/>
I found [it] interesting since it says their approach should have wide applicability.

And very rightly so:
both
that you should find it interesting
and
that the approach should have wide applicability.

Just making my opinion explicit, not that present or absent company needs me to know that 🙂.

#AMOP
#MetaObjectProtocol

@dougmerritt

Vassil Nikolovvnikolov@ieji.de
2025-06-20

<"/>
"Metaobject protocols: Why we want them and what else they can do"
Gregor Kiczales, J.Michael Ashley, Luis Rodriguez, Amin Vahdat, and Daniel G. Bobrow
... 1993

Excellent catch.

#AMOP
#MetaObjectProtocol

@dougmerritt

2025-06-16

#commonLisp #programming #amop #mop #metaobjectProtocol #exercise #closette #learnToCode (my own experience) #oop
screwlisp.small-web.org/amop/e

Today I simply share and solve (hopefully!) The Art of the Metaobject Protocol exercise 1.1

(the softball generic classes #memoization exercise from chapter 1)

I just added a lexical closure of hash tables.

@simoninireland wrote about the art of the metaobject protocol in his #lisp bibliography a year ago. simondobson.org/2024/07/23/the

Vassil Nikolovvnikolov@ieji.de
2025-06-15

> I shortened Jim des Rivieres to Rivieres. Is this correct, or am I meant to write des Rivieres?

I would keep "des" and more importantly I would check what the already established practice for citing this name is in the literature.
That would also include keeping the accent (des Rivières).

#AMOP
#CommonLisp
#MetaobjectProtocol

@screwlisp

Vassil Nikolovvnikolov@ieji.de
2025-06-15

[Applying the Metaobject Protocol.]

Needless to say, if you not only read that book, but also put it to use, you will learn a lot and that is priceless.

What you describe seems like a suitable problem to apply the MOP to and to get a grasp of it.
Good hunting!

#AMOP
#CommonLisp
#MetaobjectProtocol
#MOP

@screwlisp @dougmerritt

Jörg Preisendörferjpreisendoerfer@libranet.de
2022-12-28
@thatgeoguy The #PrettyPrint dispatch table of #CommonLisp is conceptually a #GenericFunction with parametric dispatch, altough not formalized as such and not a formal part of the Common Lisp Object System (CLOS).

However, it is possibly to extend #CLOS for #ParametricDispatch using the #MetaObjectProtocol (#MOP).

The Metaobject Protocol is not part of the formal CL standard, but is respected as de-facto standard, since about every CL implementation will stick to it. The protocol is described in The Art of the Meta-Object Protocol by Gregor Kiczales, Jim des Rivieres and Daniel G. Bobrow.

🌺

🦎 https://t.me/FamilyOfLisp

🏷️ #Lisp #Scheme

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst