[Pharo-project] [Pharo-Project] Pharo scripting

Alexandre Bergel alexandre at bergel.eu
Tue Jan 20 10:12:18 EST 2009


 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 at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.









More information about the Pharo-dev mailing list