You can have a look at the MooseLoader load in Moose project > Gwenael > > Excellent! > I want to try. > > can you provide an image and a script like the following one: > > ScriptLoader new installingInstaller. > ScriptLoader new installingUniverse. > Installer ss project: 'Moose'; install: 'Moose-All'. > Installer universe install: 'SmaCC runtime' > > Stef > > On Jan 20, 2009, at 2:23 PM, 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 >> > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
