Read the book "Smalltalk-80, the language and its implementation" (the blue book), you will see how you can create new class/add new selector to it/and how to compile methods.
On 2/17/2013 7:03 PM, [email protected] wrote: > Send Pharo-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users or, > via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Pharo-users digest..." > > > Today's Topics: > > 1. Programmatically generating classes and methods (Sven Van > Caekenberghe) > > > ---------------------------------------------------------------------- > > Message: 1 Date: Sat, 16 Feb 2013 12:41:01 +0100 From: Sven Van > Caekenberghe <[email protected]> To: A friendly place where any question > about pharo is welcome <[email protected]> Subject: > [Pharo-users] Programmatically generating classes and methods > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Hi, > > Can someone point me to the right/official way to programmatically > add classes and methods in Pharo 2.0 ? > > I can find some methods on Class and I guess the Compiler can be used > as well, but it is all pretty confusing. I want the proper > notifications and other mechanisms to be triggered. > > Thx, > > Sven > > > -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill > > > > > ------------------------------ > > _______________________________________________ Pharo-users mailing > list [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users > > > End of Pharo-users Digest, Vol 38, Issue 27 > ******************************************* > -- Smalltalk is dangerous. It is a drug. My advice to you would be don't try it; it could ruin your life.
