pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

Magritte

SM
Sanjay Minni
Sun, Jan 24, 2021 4:36 AM

Thanks - I will make further postings in Magritte ML (just subscribed)

ML and Discord are friendlier and visible even to the non subscribers than
GH discussion boards ,,, my view

Sean P. DeNigris wrote

Sanjay Minni wrote

<magritte Description>

...  Are the pragmas required

Yes, annotating methods is how they are registered as part of the Magritte
description. There have been several non-backward-compatible Magritte
versions (currently on v. 3), so that may have been added later; note that
these methods should be on the instance side, unlike in the original
Magritte. Here is an example:

MyClass>>#descriptionHasMetacelloConfiguration

<magritteDescription> ^ MABooleanDescription new priority: 250; accessor: #hasMetacelloConfiguration; beReadOnly; beRequired; yourself

p.s. happy to discuss here, but we also added a discussion place to the GH
repo: https://github.com/magritte-metamodel/magritte/discussions
p.p.s. there is a Magritte ML, but it doesn't get much traffic


Cheers,
Sean

Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Thanks - I will make further postings in Magritte ML (just subscribed) ML and Discord are friendlier and visible even to the non subscribers than GH discussion boards ,,, my view Sean P. DeNigris wrote > Sanjay Minni wrote >> > <magritte Description> >> ...  Are the pragmas required > > Yes, annotating methods is how they are registered as part of the Magritte > description. There have been several non-backward-compatible Magritte > versions (currently on v. 3), so that may have been added later; note that > these methods should be on the instance side, unlike in the original > Magritte. Here is an example: > > MyClass>>#descriptionHasMetacelloConfiguration > > <magritteDescription> > ^ MABooleanDescription new > priority: 250; > accessor: #hasMetacelloConfiguration; > beReadOnly; > beRequired; > yourself > > p.s. happy to discuss here, but we also added a discussion place to the GH > repo: https://github.com/magritte-metamodel/magritte/discussions > p.p.s. there is a Magritte ML, but it doesn't get much traffic > > > > ----- > Cheers, > Sean > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html ----- cheers, Sanjay -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
SM
Sanjay Minni
Mon, Jan 25, 2021 9:41 AM

Am posing messages on GH Repo Disc Board while awaiting subscription approval
to Magritte ML
Sanjay

Sean P. DeNigris wrote

Sanjay Minni wrote

<magritte Description>

...  Are the pragmas required

Yes, annotating methods is how they are registered as part of the Magritte
description. There have been several non-backward-compatible Magritte
versions (currently on v. 3), so that may have been added later; note that
these methods should be on the instance side, unlike in the original
Magritte. Here is an example:

MyClass>>#descriptionHasMetacelloConfiguration

<magritteDescription> ^ MABooleanDescription new priority: 250; accessor: #hasMetacelloConfiguration; beReadOnly; beRequired; yourself

p.s. happy to discuss here, but we also added a discussion place to the GH
repo: https://github.com/magritte-metamodel/magritte/discussions
p.p.s. there is a Magritte ML, but it doesn't get much traffic


Cheers,
Sean

Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Am posing messages on GH Repo Disc Board while awaiting subscription approval to Magritte ML Sanjay Sean P. DeNigris wrote > Sanjay Minni wrote >> > <magritte Description> >> ...  Are the pragmas required > > Yes, annotating methods is how they are registered as part of the Magritte > description. There have been several non-backward-compatible Magritte > versions (currently on v. 3), so that may have been added later; note that > these methods should be on the instance side, unlike in the original > Magritte. Here is an example: > > MyClass>>#descriptionHasMetacelloConfiguration > > <magritteDescription> > ^ MABooleanDescription new > priority: 250; > accessor: #hasMetacelloConfiguration; > beReadOnly; > beRequired; > yourself > > p.s. happy to discuss here, but we also added a discussion place to the GH > repo: https://github.com/magritte-metamodel/magritte/discussions > p.p.s. there is a Magritte ML, but it doesn't get much traffic > > > > ----- > Cheers, > Sean > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html ----- cheers, Sanjay -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html