[Pharo-project] [Pharo-Project] Pharo scripting
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
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Gwenael writes:
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''. ] Why the doubled single-quotes? Why use a different notation at all? Thanks -- and sorry if this was already explained, Cam
May be I can add a new method on the ScriptLoader ? On Tuesday 20 January 2009 15:19:45 Stéphane Ducasse wrote:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
You do not need that. I imagine that the example was in the Smalltalk string as a test for the parser. Stef On Jan 20, 2009, at 3:24 PM, Cameron Sanders wrote:
Gwenael writes:
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''. ]
Why the doubled single-quotes? Why use a different notation at all?
Thanks -- and sorry if this was already explained, Cam
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Tuesday 20 January 2009 15:24:49 Cameron Sanders wrote:
Gwenael writes:
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''. ]
Why the doubled single-quotes?
This is a cut and paste form the tests that's why you see double-quotes :D
Why use a different notation at all?
Thanks -- and sorry if this was already explained, Cam
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Tuesday 20 January 2009 15:31:12 Stéphane Ducasse wrote:
You do not need that. I imagine that the example was in the Smalltalk string as a test for the parser.
:D
Stef
On Jan 20, 2009, at 3:24 PM, Cameron Sanders wrote:
Gwenael writes:
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''. ]
Why the doubled single-quotes? Why use a different notation at all?
Thanks -- and sorry if this was already explained, Cam
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
May be I can add a new method on the ScriptLoader ?
Could be, but I think that a SaphireLoader will help Alexandre
On Tuesday 20 January 2009 15:19:45 Stéphane Ducasse wrote:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
yes good idea. Stef On Jan 20, 2009, at 3:26 PM, Gwenael Casaccio wrote:
May be I can add a new method on the ScriptLoader ?
On Tuesday 20 January 2009 15:19:45 Stéphane Ducasse wrote:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Tue, Jan 20, 2009 at 02:23:28PM +0100, Gwenael Casaccio wrote:
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 !!!
Is the scripting syntax the same as used by Gnu Smalltalk? It would be convenient to have the same syntax work on both -- Matthew Fulmer -- http://mtfulmer.wordpress.com/
As far as I remember, the scripting syntax of GNU Smalltalk is very close to the changeset's. I think that the syntax is not the most relevant part of this work. What is critical in my opinion, is to have a robust scripting facility. I do not want to use jruby to do the scripting I need to do. Cheers, Alexandre On 20 Jan 2009, at 15:43, Matthew Fulmer wrote:
On Tue, Jan 20, 2009 at 02:23:28PM +0100, Gwenael Casaccio wrote:
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 !!!
Is the scripting syntax the same as used by Gnu Smalltalk? It would be convenient to have the same syntax work on both
-- Matthew Fulmer -- http://mtfulmer.wordpress.com/
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Tue, Jan 20, 2009 at 03:50:21PM +0100, Alexandre Bergel wrote:
As far as I remember, the scripting syntax of GNU Smalltalk is very close to the changeset's.
No, it is not: http://www.gnu.org/software/smalltalk/manual/html_node/Syntax.html It looks like it is indeed quite similar to the saphir syntax
I think that the syntax is not the most relevant part of this work. What is critical in my opinion, is to have a robust scripting facility. I do not want to use jruby to do the scripting I need to do.
It is useful, yes. However, I don't see where it fits in the Squeak UI of browsers and Monticello. Perhaps some borrowing from NewSpeak is necessary in this case -- Matthew Fulmer -- http://mtfulmer.wordpress.com/
On Tue, Jan 20, 2009 at 09:58:25AM -0500, Matthew Fulmer wrote:
On Tue, Jan 20, 2009 at 03:50:21PM +0100, Alexandre Bergel wrote:
As far as I remember, the scripting syntax of GNU Smalltalk is very close to the changeset's.
No, it is not: http://www.gnu.org/software/smalltalk/manual/html_node/Syntax.html
It looks like it is indeed quite similar to the saphir syntax
I think that the syntax is not the most relevant part of this work. What is critical in my opinion, is to have a robust scripting facility. I do not want to use jruby to do the scripting I need to do.
It is useful, yes. However, I don't see where it fits in the Squeak UI of browsers and Monticello. Perhaps some borrowing from NewSpeak is necessary in this case
One application I know for this would be build scripting, like make or rake. Keith created Sake, a squeak build scripting system, but due to it being wraped around classes and methods, it bears very little resemblance to more common systems like Make and Rake. Whether this is good or bad, or just different, I haven't yet decided -- Matthew Fulmer -- http://mtfulmer.wordpress.com/
I've published a new version of ScriptLoader : ScriptLoader-Gwenael_Casaccio.712 on the pharoInbox there is a new method called loadSaphir Cheers, Gwenael On Tuesday 20 January 2009 15:36:51 Stéphane Ducasse wrote:
yes good idea.
Stef
On Jan 20, 2009, at 3:26 PM, Gwenael Casaccio wrote:
May be I can add a new method on the ScriptLoader ?
On Tuesday 20 January 2009 15:19:45 Stéphane Ducasse wrote:
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
No, it is not: http://www.gnu.org/software/smalltalk/manual/html_node/Syntax.html
It looks like it is indeed quite similar to the saphir syntax
Indeed. I think Paolo changes the syntax on some point. Last time I checked it (few years ago), it employed bangs (!)
I think that the syntax is not the most relevant part of this work. What is critical in my opinion, is to have a robust scripting facility. I do not want to use jruby to do the scripting I need to do.
It is useful, yes. However, I don't see where it fits in the Squeak UI of browsers and Monticello. Perhaps some borrowing from NewSpeak is necessary in this case
Why should it fits in the Squeak UI or browsers? Often I have to write few and simple scripts to perform an actions on my files, or simply to provide a textual calculator. Currently I use jruby. But as Stef said, we should not make such debate here. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
From GNU Smalltalk 2.1.12. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Object subclass: #Philosophers instanceVariableNames: 'forks philosophers randy eating' classVariableNames: '' poolDictionaries: '' category: 'Examples-Processes'! !Philosophers class methodsFor: 'dining'! new self shouldNotImplement ! new: quantity ^super new initialize: quantity ! ! -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Paolo has changed the syntax. This is good! We've been telling him to do so for long :-D Alexandre On 20 Jan 2009, at 15:58, Matthew Fulmer wrote:
On Tue, Jan 20, 2009 at 03:50:21PM +0100, Alexandre Bergel wrote:
As far as I remember, the scripting syntax of GNU Smalltalk is very close to the changeset's.
No, it is not: http://www.gnu.org/software/smalltalk/manual/html_node/Syntax.html
It looks like it is indeed quite similar to the saphir syntax
I think that the syntax is not the most relevant part of this work. What is critical in my opinion, is to have a robust scripting facility. I do not want to use jruby to do the scripting I need to do.
It is useful, yes. However, I don't see where it fits in the Squeak UI of browsers and Monticello. Perhaps some borrowing from NewSpeak is necessary in this case
-- Matthew Fulmer -- http://mtfulmer.wordpress.com/
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
After finding in Damien Cassou's web pages that a clean build of Pharo uses version 3.9.1 of the virtual machine, I have found Pharo to be very solid with a light-load test. I left the image running for 5 days, with 2 hours of browsing code per day (including do-its on classes I wanted to explore) and a little code authoring, and the system continued to behave as-expected. There were no large and obvious memory losses and no lock-ups. It appears very stable -- the image I am using is about 10 days old. One problem: none of the first web pages I encountered leading me to download Pharo indicated which VM to use. (And that's why I first went to 3.10.2 and had flaky behavior.) Very nice works people! Gratefully, Cam
Thanks Cameron for your nice words. I added a link on download link on http://code.google.com/p/pharo/wiki/Downloads?tm=2 to get the virtual machine. Cheers, Alexandre On 20 Jan 2009, at 16:18, Cameron Sanders wrote:
After finding in Damien Cassou's web pages that a clean build of Pharo uses version 3.9.1 of the virtual machine, I have found Pharo to be very solid with a light-load test. I left the image running for 5 days, with 2 hours of browsing code per day (including do-its on classes I wanted to explore) and a little code authoring, and the system continued to behave as- expected. There were no large and obvious memory losses and no lock-ups. It appears very stable -- the image I am using is about 10 days old.
One problem: none of the first web pages I encountered leading me to download Pharo indicated which VM to use. (And that's why I first went to 3.10.2 and had flaky behavior.)
Very nice works people! Gratefully, Cam
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
participants (5)
-
Alexandre Bergel -
Cameron Sanders -
Gwenael Casaccio -
Matthew Fulmer -
Stéphane Ducasse