Damien Cassou | 17 Jun 2012 11:30
Picon
Gravatar

Fwd: [Pharo-project] Pharo Magritte

---------- Forwarded message ----------
From: Stéphane Ducasse <stephane.ducasse <at> inria.fr>
Date: Sun, Jun 17, 2012 at 9:43 AM
Subject: [Pharo-project] Pharo Magritte
To: An open mailing list to discuss any topics related to an
open-source Smalltalk <Pharo-project <at> lists.gforge.inria.fr>

Begin forwarded message:

From: William Cook <wcook <at> cs.utexas.edu>
Subject: Re: Pharo
Date: June 17, 2012 5:30:29 AM GMT+02:00
To: Stéphane Ducasse <stephane.ducasse <at> inria.fr>
Reply-To: wcook <at> cs.utexas.edu

Hi again,

By the way, I have noticed that there are lots of similarities between
the Magritte project and the Enso project that I'm working on with
Tijs van der Storm. One big difference is that we avoid embedded DSLs,
but many of the high-level goals seem similar. Are you still working
on it?

Here are two papers that we have produced recently:

Object Grammars: Compositional & Bidirectional Mapping Between Text
and Graphs (Ensō Papers 2 of 6)
Tijs van der Storm, William R. Cook, Alex Loh
(submitted for publication)

(Continue reading)

dtrussardi@tiscali.it | 28 Jun 2012 15:33
Picon
Favicon

Magritte3 description selection

Hi,

	i have a class Account with some descriptions.
	
	Now based on my application state   i'm interested to select  and display a sub collections of the relative descriptions.

	In the Magritte 2.0 i redefine the instance description method ( in the example i implemented it with
descriptionFor: )

		 and at this time i select the relative class description and return it asContainer.

	Example:

	aMember := Account new.

	cllDsc:=  aMember descriptionFor: #( #update).
			
	rsl:= self call: (( cllDsc asComponentOn: aMember  )
							addValidatedForm ;
							addMessage: 'Aggiornamento item ' , aMember label  ; 
								yourself).

Now i work to port the code to Magritte 3.

	My question is :

		 what is the best solutions to create dynamic selection of the descriptions relative to one instance ?

	I'm new to Magritte3 and i don't know the engine.

(Continue reading)


Gmane