Glad to hear that Gwenael. Could you add a SaphirLoader package in the SqueakSource repository ? This will help a lot...
Alexandre On 20 Jan 2009, at 14:23, Gwenael Casaccio wrote: > Hi, > > I've published an initial release of Pharo scripting you cant get > this release > here : http://www.squeaksource.com/SaphirScripting. I would like to > thanks > *Mathieu Suen* who has done a very good work and give me a lot of > help !!! > > You need the last version of the AST : http://www.squeaksource.com/AST > and also the NewCompiler : http://www.squeaksource.com/NewCompiler but > don't try the last version use the *281* And finally you can add the > OSProcess > repository : http://www.squeaksource.com/OSProcess. > > Don't worry if when you load the NewCompiler package you have a > warning > about a missing SmaccSomething :) > > here is a small example of the syntax : > > [ > Object subclass: #SaBox > instanceVariableNames: ''bob'' > classVariableNames: '''' > poolDictionaries: '''' > category: ''SandBox'' > ] > > SaBox >> initialize > [ > <category: ''initialize release''> > <authorInitials: ''him''> > bob := ''Script test working''. > ] > > SaBox >> printOn: aStream > [ > <authorInitials: ''him''>" > aStream nextPutAll: bob > ] > > SaBox class >> dummy > [ > <authorInitials: ''him''> > ^3 > ] > > [ > SaBox new printString. > ] > > If you want the scripts are launched at startUp do : > Smalltalk addToStartUpList: ScriptInterpreter > > you can script you system with pharo ;) > > Cheers, > Gwenael > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
