Have you looked at Magritte?

On Fri, Aug 29, 2008 at 8:04 AM, Anders Janmyr <anders@janmyr.com> wrote:
Hi,

I would like some thought on what is a good way to model "model tools"
in Smalltalk.

Clarification
The user should be able to create classes.
The classes contain named variables.
The variables can be described (typed) with data such as type (String,
Date, Company) and multiplicity (1, 2..5, 4..)
I also want to attach behavior to the classes.
I would also want to be able to refactor the classes, preferably with
the existing tools

Example:
Person
 name:String:1
 mother:Person:1
 father:Person:1
 children:Person:0..

Process
 name: ImportPeople
 executeMethod: "code for importing people into my model"

Should I model the users models as Smalltalk objects or should I make
my own parallel hierarchy.
Should the Person above be dynamically created as a smalltalk class:

Person
 name:
 mother:
 ...

or should I use
 MyClass
   name: Person
   instVars: #(name mother ...)



Any help will be appreciated.

Anders

--
http://anders.janmyr.com/
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners