tag:forum.world.st,2006:forum-3778253Nabble - Pharo Coral2024-03-28T23:47:50ZPharo Coraltag:forum.world.st,2006:post-4723800Re: bleeding edge image on Windows - failing OSProcess2013-11-20T10:11:56Z2013-11-20T10:11:56ZDamien Pollet
On 20 November 2013 12:40, Stéphane Ducasse <<a href="/user/SendEmail.jtp?type=node&node=4723800&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> Damien I was thinking to use the syntax of the bootstrap.
<br/><br/>You'll show me when I'm not completely lobotomized after an afternoon
<br/>teaching java :)
<br/><br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4723800&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4723660Re: bleeding edge image on Windows - failing OSProcess2013-11-20T04:59:40Z2013-11-20T04:59:40Zabergel
Coral cannot die.
<br/><br/>Alexandre
<br/><br/><br/>On Nov 20, 2013, at 8:40 AM, Stéphane Ducasse <<a href="/user/SendEmail.jtp?type=node&node=4723660&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/><div class='shrinkable-quote'><br/>>
<br/>>
<br/>>> Coral needs to be adapted to all the changes in Pharo since Edinburgh…
<br/>>> Some of its functionality has been integrated in the base image, some
<br/>>> still need to be salvaged (the command/subcommand/options parser).
<br/>>> Most importantly, uses of OSProcess need to be fixed.
<br/>>>
<br/>>> I'd still like to revive the project, but I'm not sure when I will get
<br/>>> time to dedicate to it.
<br/>>
<br/>> Damien I was thinking to use the syntax of the bootstrap.
<br/>>
<br/>> Stef
<br/>>
<br/>>
<br/>>>> I was giving a shot to Coral after viewing the video on Youtube.
<br/>>>>
<br/>>>> Now, I tried to do:
<br/>>>>
<br/>>>> CoralInstaller
<br/>>>> generateCoralScript.
<br/>>>>
<br/>>>> And it failed miserably on:
<br/>>>>
<br/>>>> WindowsProcess >> value
<br/>>>>
<br/>>>> ...
<br/>>>> self initialStdErr nextPutAll: 'cannot execute ', self commandLine; cr....
<br/>>>>
<br/>>>> with self initalStdErr being nil.
<br/>>>>
<br/>>>> Is there someone using this on Windows yet?
<br/>>>>
<br/>>>> TIA
<br/>>>> Phil
<br/>>>>
<br/>>>>
<br/>>>> _______________________________________________
<br/>>>> Pharo-coral mailing list
<br/>>>> <a href="/user/SendEmail.jtp?type=node&node=4723660&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>>>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>>>>
<br/>>>
<br/>>>
<br/>>>
<br/>>> --
<br/>>> Damien Pollet
<br/>>> type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/>>>
<br/>>> _______________________________________________
<br/>>> Pharo-coral mailing list
<br/>>> <a href="/user/SendEmail.jtp?type=node&node=4723660&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>>
<br/>>
<br/>> _______________________________________________
<br/>> Pharo-coral mailing list
<br/>> <a href="/user/SendEmail.jtp?type=node&node=4723660&i=3" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a></div><br/>--
<br/>_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
<br/>Alexandre Bergel <a href="http://www.bergel.eu" target="_top" rel="nofollow" link="external">http://www.bergel.eu</a><br/>^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
<br/><br/><br/><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4723660&i=4" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4723653Re: bleeding edge image on Windows - failing OSProcess2013-11-20T04:40:31Z2013-11-20T04:40:31ZStéphane Ducasse
<br/><br/>> Coral needs to be adapted to all the changes in Pharo since Edinburgh…
<br/>> Some of its functionality has been integrated in the base image, some
<br/>> still need to be salvaged (the command/subcommand/options parser).
<br/>> Most importantly, uses of OSProcess need to be fixed.
<br/>>
<br/>> I'd still like to revive the project, but I'm not sure when I will get
<br/>> time to dedicate to it.
<br/><br/>Damien I was thinking to use the syntax of the bootstrap.
<br/><br/>Stef
<br/><br/><div class='shrinkable-quote'><br/>>> I was giving a shot to Coral after viewing the video on Youtube.
<br/>>>
<br/>>> Now, I tried to do:
<br/>>>
<br/>>> CoralInstaller
<br/>>> generateCoralScript.
<br/>>>
<br/>>> And it failed miserably on:
<br/>>>
<br/>>> WindowsProcess >> value
<br/>>>
<br/>>> ...
<br/>>> self initialStdErr nextPutAll: 'cannot execute ', self commandLine; cr....
<br/>>>
<br/>>> with self initalStdErr being nil.
<br/>>>
<br/>>> Is there someone using this on Windows yet?
<br/>>>
<br/>>> TIA
<br/>>> Phil
<br/>>>
<br/>>>
<br/>>> _______________________________________________
<br/>>> Pharo-coral mailing list
<br/>>> <a href="/user/SendEmail.jtp?type=node&node=4723653&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>>>
<br/>>
<br/>>
<br/>>
<br/>> --
<br/>> Damien Pollet
<br/>> type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/>>
<br/>> _______________________________________________
<br/>> Pharo-coral mailing list
<br/>> <a href="/user/SendEmail.jtp?type=node&node=4723653&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a></div><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4723653&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4723557Re: bleeding edge image on Windows - failing OSProcess2013-11-19T16:13:34Z2013-11-19T16:13:34ZDamien Pollet
Hi Phil,
<br/><br/>Coral needs to be adapted to all the changes in Pharo since Edinburgh…
<br/>Some of its functionality has been integrated in the base image, some
<br/>still need to be salvaged (the command/subcommand/options parser).
<br/>Most importantly, uses of OSProcess need to be fixed.
<br/><br/>I'd still like to revive the project, but I'm not sure when I will get
<br/>time to dedicate to it.
<br/><br/><br/>On 19 November 2013 23:41, <a href="/user/SendEmail.jtp?type=node&node=4723557&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a> <<a href="/user/SendEmail.jtp?type=node&node=4723557&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<div class='shrinkable-quote'><br/>> I was giving a shot to Coral after viewing the video on Youtube.
<br/>>
<br/>> Now, I tried to do:
<br/>>
<br/>> CoralInstaller
<br/>> generateCoralScript.
<br/>>
<br/>> And it failed miserably on:
<br/>>
<br/>> WindowsProcess >> value
<br/>>
<br/>> ...
<br/>> self initialStdErr nextPutAll: 'cannot execute ', self commandLine; cr....
<br/>>
<br/>> with self initalStdErr being nil.
<br/>>
<br/>> Is there someone using this on Windows yet?
<br/>>
<br/>> TIA
<br/>> Phil
<br/>>
<br/>>
<br/>> _______________________________________________
<br/>> Pharo-coral mailing list
<br/>> <a href="/user/SendEmail.jtp?type=node&node=4723557&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>>
</div><br/><br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4723557&i=3" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4723549bleeding edge image on Windows - failing OSProcess2013-11-19T15:41:06Z2013-11-19T15:41:06Zphilippeback
<div dir="ltr"><div><div dir="ltr"><div>I was giving a shot to Coral after viewing the video on Youtube.</div><div><br></div><div>Now, I tried to do: </div><div><br></div><div><div>CoralInstaller</div><div> generateCoralScript.</div>
</div><div><br></div><div>And it failed miserably on:</div><div><br></div><div>WindowsProcess >> value</div><div><br></div><div>...</div><div>self initialStdErr nextPutAll: 'cannot execute ', self commandLine; cr....</div>
<div><br></div><div>with self initalStdErr being nil.</div><div><br></div><div>Is there someone using this on Windows yet?</div><div><br></div><div>TIA</div><div>Phil</div><div><br></div></div></div>
</div>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4723549&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4514673Re: Coral + OSProcess on Mac ==> Which VM?2012-03-29T00:15:27Z2012-03-29T00:15:27ZLuc Fabresse
<br><div class="gmail_quote">2012/3/28 Damien Pollet <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4514673&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 28 March 2012 13:45, Luc Fabresse <<a href="/user/SendEmail.jtp?type=node&node=4514673&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:<br>
> May I give a try to you code?<br>
> Do you use the Mac Cocoa VM or the Eliot one?<br>
<br>
</div>It's System-HostEnvironment in the Coral repo.<br>
<a href="http://ss3.gemstone.com/ss/coral.html/Latest" target="_blank" rel="nofollow" link="external">http://ss3.gemstone.com/ss/coral.html/Latest</a></blockquote><div><br></div><div>ok Thanks. </div><div>I will give a try.</div><div><br></div><div>Luc</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
I use <a href="https://ci.lille.inria.fr/pharo/view/VM/job/Pharo-Mac-Cocoa/" target="_blank" rel="nofollow" link="external">https://ci.lille.inria.fr/pharo/view/VM/job/Pharo-Mac-Cocoa/</a> but<br>
cog-mac-cocoa is the same.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
Damien Pollet<br>
type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_blank" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br>
</div></div></blockquote></div><br>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4514673&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4513503Re: Class declaration and parser structure2012-03-28T13:05:04Z2012-03-28T13:05:04ZDamien Pollet
On 28 March 2012 21:19, Stéphane Ducasse <<a href="/user/SendEmail.jtp?type=node&node=4513503&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> is that we want to be able to distinguish an expression from a smalltalk expression.
<br/><br/>Well in fact they are out of [] so that's easy to see.
<br/><br/>Class named: #Foo category: 'Bar'
<br/><br/>[ Transcript show: 'baz' ]
<br/><br/>> Damien I was thinking that the following expressions:
<br/>>
<br/>>> Object subclass: #Foo
<br/>>> Object subclass: #Foo ivs: 'a b c'
<br/>>> Object subclass: #Foo ivs: 'a b c' category: 'MyCategory'
<br/>>
<br/>> could also be a class construction because it contains the selector subclass:, subclass:ivs ….
<br/><br/>True… either I make a list of the standard ones, or I add a coral
<br/>pragma to detect them.
<br/><br/>> BTW
<br/>> vars: #(a b c)
<br/>> classVars: #L:KJJKKLJ
<br/>>
<br/>> would be better than instanceVariables:
<br/><br/>Indeed. What will be clumsy is class-side traits…
<br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4513503&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4513372Re: Class declaration and parser structure2012-03-28T12:19:07Z2012-03-28T12:19:07ZStéphane Ducasse
alex
<br/><br/>why damien proposed
<br/><br/>Class
<br/><br/>Trait
<br/><br/>is that we want to be able to distinguish an expression from a smalltalk expression.
<br/><br/>Damien I was thinking that the following expressions:
<br/><br/>> Object subclass: #Foo
<br/>> Object subclass: #Foo ivs: 'a b c'
<br/>> Object subclass: #Foo ivs: 'a b c' category: 'MyCategory'
<br/><br/>could also be a class construction because it contains the selector subclass:, subclass:ivs ….
<br/><br/>BTW
<br/> vars: #(a b c)
<br/> classVars: #L:KJJKKLJ
<br/><br/>would be better than instanceVariables:
<br/><br/>stef
<br/><br/><div class='shrinkable-quote'><br/>>>> I'm going for something like the current trait declaration syntax:
<br/>>>>
<br/>>>> Class named: #Foo
<br/>>>> superclass: #Object
<br/>>>> instanceVariables: #(a b c)
<br/>>>> classVariables: #()
<br/>>>> category: 'Bar'
<br/>>
<br/>> We should support the variation, if there is no IV or no classVariable. For example:
<br/>>
<br/>> Object subclass: #Foo
<br/>> Object subclass: #Foo ivs: 'a b c'
<br/>> Object subclass: #Foo ivs: 'a b c' category: 'MyCategory'
<br/>>
<br/>> Alexandre
<br/>>
<br/>>
<br/>>
<br/>>
<br/>>
<br/>>>>
<br/>>>> or, for a trait:
<br/>>>>
<br/>>>> Trait named: #TFoo
<br/>>>> uses: {}
<br/>>>> category: 'Bar'
<br/>>>
<br/>>> Thanks for pushing that!
<br/>>>
<br/>>>> The explicit Class or Trait is a strong point, as it will allow to
<br/>>>> declare other kinds of things than classes and traits in the future.
<br/>>>> I'm open to feedback and suggestions for wording (e.g. extends:
<br/>>>> instead of superclass:)
<br/>>>
<br/>>> I really prefer superclass:
<br/>>> because extensions is overloaded in Smalltalk
<br/>>>
<br/>>>> or variants, like #named:category: (reasonable
<br/>>>> defaults), or Class named: Foo -> SuperFoo (capitalized identifiers
<br/>>>> instead of symbols for class names, and arrow to denote inheritance).
<br/>>>
<br/>>> I like with reasonable default.
<br/>>> Foo -> SuperFoo is strange because it will not be a name.
<br/>>>
<br/>>>
<br/>>>> Basically a declaration is a single keyword message, and will result
<br/>>>> in that message being evaluated in the image, but there are some
<br/>>>> validations. I use <coralDeclaration> pragmas to declare which methods
<br/>>>> in the image can be used as a declaration in a coral script, and you
<br/>>>> can't pass anything in the arguments. Literals are OK of course, but
<br/>>>> for trait composition I need to authorize curly arrays and binary
<br/>>>> messages as well. Still this limits the syntax to a small subset of
<br/>>>> Smalltalk.
<br/>>>>
<br/>>>> Now, for problems and things to do:
<br/>>>>
<br/>>>> • There is no separate AST building / semantic analysis phase. Methods
<br/>>>> are compiled on the fly, blocks executed in the middle of parsing,
<br/>>>> etc. It's probably possible to kludge my way around that but it's evil
<br/>>>> and hinders testability.
<br/>>>
<br/>>> Build an ast but is it necessary now?
<br/>>> Focus on what make the system working.
<br/>>>
<br/>>>> • I'm starting to feel like everything I start is a rabbit hole that
<br/>>>> leads to rewriting half of the system, so a some help establishing a
<br/>>>> priority list would be nice…
<br/>>>
<br/>>> Be pragmatic.
<br/>>> Make it work make it work make it work make it used
<br/>>> make it nice after!
<br/>>>
<br/>>>
<br/>>>>
<br/>>>> --
<br/>>>> Damien Pollet
<br/>>>> type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/>>>>
<br/>>>> _______________________________________________
<br/>>>> Pharo-coral mailing list
<br/>>>> <a href="/user/SendEmail.jtp?type=node&node=4513372&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>>>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>>>
<br/>>>
<br/>>> _______________________________________________
<br/>>> Pharo-coral mailing list
<br/>>> <a href="/user/SendEmail.jtp?type=node&node=4513372&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>>
<br/>> --
<br/>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
<br/>> Alexandre Bergel <a href="http://www.bergel.eu" target="_top" rel="nofollow" link="external">http://www.bergel.eu</a><br/>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
<br/>>
<br/>>
<br/>>
<br/>>
<br/>>
</div><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4513372&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4513299Re: Class declaration and parser structure2012-03-28T11:59:27Z2012-03-28T11:59:27Zabergel
>> I'm going for something like the current trait declaration syntax:
<br/>>>
<br/>>> Class named: #Foo
<br/>>> superclass: #Object
<br/>>> instanceVariables: #(a b c)
<br/>>> classVariables: #()
<br/>>> category: 'Bar'
<br/><br/>We should support the variation, if there is no IV or no classVariable. For example:
<br/><br/>Object subclass: #Foo
<br/>Object subclass: #Foo ivs: 'a b c'
<br/>Object subclass: #Foo ivs: 'a b c' category: 'MyCategory'
<br/><br/>Alexandre
<br/><br/><br/><br/><br/><div class='shrinkable-quote'><br/>>>
<br/>>> or, for a trait:
<br/>>>
<br/>>> Trait named: #TFoo
<br/>>> uses: {}
<br/>>> category: 'Bar'
<br/>>
<br/>> Thanks for pushing that!
<br/>>
<br/>>> The explicit Class or Trait is a strong point, as it will allow to
<br/>>> declare other kinds of things than classes and traits in the future.
<br/>>> I'm open to feedback and suggestions for wording (e.g. extends:
<br/>>> instead of superclass:)
<br/>>
<br/>> I really prefer superclass:
<br/>> because extensions is overloaded in Smalltalk
<br/>>
<br/>>> or variants, like #named:category: (reasonable
<br/>>> defaults), or Class named: Foo -> SuperFoo (capitalized identifiers
<br/>>> instead of symbols for class names, and arrow to denote inheritance).
<br/>>
<br/>> I like with reasonable default.
<br/>> Foo -> SuperFoo is strange because it will not be a name.
<br/>>
<br/>>
<br/>>> Basically a declaration is a single keyword message, and will result
<br/>>> in that message being evaluated in the image, but there are some
<br/>>> validations. I use <coralDeclaration> pragmas to declare which methods
<br/>>> in the image can be used as a declaration in a coral script, and you
<br/>>> can't pass anything in the arguments. Literals are OK of course, but
<br/>>> for trait composition I need to authorize curly arrays and binary
<br/>>> messages as well. Still this limits the syntax to a small subset of
<br/>>> Smalltalk.
<br/>>>
<br/>>> Now, for problems and things to do:
<br/>>>
<br/>>> • There is no separate AST building / semantic analysis phase. Methods
<br/>>> are compiled on the fly, blocks executed in the middle of parsing,
<br/>>> etc. It's probably possible to kludge my way around that but it's evil
<br/>>> and hinders testability.
<br/>>
<br/>> Build an ast but is it necessary now?
<br/>> Focus on what make the system working.
<br/>>
<br/>>> • I'm starting to feel like everything I start is a rabbit hole that
<br/>>> leads to rewriting half of the system, so a some help establishing a
<br/>>> priority list would be nice…
<br/>>
<br/>> Be pragmatic.
<br/>> Make it work make it work make it work make it used
<br/>> make it nice after!
<br/>>
<br/>>
<br/>>>
<br/>>> --
<br/>>> Damien Pollet
<br/>>> type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/>>>
<br/>>> _______________________________________________
<br/>>> Pharo-coral mailing list
<br/>>> <a href="/user/SendEmail.jtp?type=node&node=4513299&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>>
<br/>>
<br/>> _______________________________________________
<br/>> Pharo-coral mailing list
<br/>> <a href="/user/SendEmail.jtp?type=node&node=4513299&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a></div><br/>--
<br/>_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
<br/>Alexandre Bergel <a href="http://www.bergel.eu" target="_top" rel="nofollow" link="external">http://www.bergel.eu</a><br/>^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
<br/><br/><br/><br/><br/><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4513299&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4513282Re: Class declaration and parser structure2012-03-28T11:53:06Z2012-03-28T11:53:06ZStéphane Ducasse
<br/>On Mar 28, 2012, at 5:54 PM, Damien Pollet wrote:
<br/><div class='shrinkable-quote'><br/>> I've been looking at how to declare classes and traits with a proper
<br/>> syntax (currently it has to be done in evaluation blocks, i.e. between
<br/>> []).
<br/>>
<br/>> I'm going for something like the current trait declaration syntax:
<br/>>
<br/>> Class named: #Foo
<br/>> superclass: #Object
<br/>> instanceVariables: #(a b c)
<br/>> classVariables: #()
<br/>> category: 'Bar'
<br/>>
<br/>> or, for a trait:
<br/>>
<br/>> Trait named: #TFoo
<br/>> uses: {}
<br/>> category: 'Bar'
</div><br/>Thanks for pushing that!
<br/><br/>> The explicit Class or Trait is a strong point, as it will allow to
<br/>> declare other kinds of things than classes and traits in the future.
<br/>> I'm open to feedback and suggestions for wording (e.g. extends:
<br/>> instead of superclass:)
<br/><br/>I really prefer superclass:
<br/>because extensions is overloaded in Smalltalk
<br/><br/>> or variants, like #named:category: (reasonable
<br/>> defaults), or Class named: Foo -> SuperFoo (capitalized identifiers
<br/>> instead of symbols for class names, and arrow to denote inheritance).
<br/><br/>I like with reasonable default.
<br/>Foo -> SuperFoo is strange because it will not be a name.
<br/><br/><div class='shrinkable-quote'><br/>> Basically a declaration is a single keyword message, and will result
<br/>> in that message being evaluated in the image, but there are some
<br/>> validations. I use <coralDeclaration> pragmas to declare which methods
<br/>> in the image can be used as a declaration in a coral script, and you
<br/>> can't pass anything in the arguments. Literals are OK of course, but
<br/>> for trait composition I need to authorize curly arrays and binary
<br/>> messages as well. Still this limits the syntax to a small subset of
<br/>> Smalltalk.
<br/>>
<br/>> Now, for problems and things to do:
<br/>>
<br/>> • There is no separate AST building / semantic analysis phase. Methods
<br/>> are compiled on the fly, blocks executed in the middle of parsing,
<br/>> etc. It's probably possible to kludge my way around that but it's evil
<br/>> and hinders testability.
</div><br/>Build an ast but is it necessary now?
<br/>Focus on what make the system working.
<br/><br/>> • I'm starting to feel like everything I start is a rabbit hole that
<br/>> leads to rewriting half of the system, so a some help establishing a
<br/>> priority list would be nice…
<br/><br/>Be pragmatic.
<br/>Make it work make it work make it work make it used
<br/>make it nice after!
<br/><br/><br/>>
<br/>> --
<br/>> Damien Pollet
<br/>> type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/>>
<br/>> _______________________________________________
<br/>> Pharo-coral mailing list
<br/>> <a href="/user/SendEmail.jtp?type=node&node=4513282&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4513282&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4512682Class declaration and parser structure2012-03-28T08:54:23Z2012-03-28T08:54:23ZDamien Pollet
I've been looking at how to declare classes and traits with a proper
<br/>syntax (currently it has to be done in evaluation blocks, i.e. between
<br/>[]).
<br/><br/>I'm going for something like the current trait declaration syntax:
<br/><br/> Class named: #Foo
<br/> superclass: #Object
<br/> instanceVariables: #(a b c)
<br/> classVariables: #()
<br/> category: 'Bar'
<br/><br/>or, for a trait:
<br/><br/> Trait named: #TFoo
<br/> uses: {}
<br/> category: 'Bar'
<br/><br/>The explicit Class or Trait is a strong point, as it will allow to
<br/>declare other kinds of things than classes and traits in the future.
<br/>I'm open to feedback and suggestions for wording (e.g. extends:
<br/>instead of superclass:) or variants, like #named:category: (reasonable
<br/>defaults), or Class named: Foo -> SuperFoo (capitalized identifiers
<br/>instead of symbols for class names, and arrow to denote inheritance).
<br/><br/>Basically a declaration is a single keyword message, and will result
<br/>in that message being evaluated in the image, but there are some
<br/>validations. I use <coralDeclaration> pragmas to declare which methods
<br/>in the image can be used as a declaration in a coral script, and you
<br/>can't pass anything in the arguments. Literals are OK of course, but
<br/>for trait composition I need to authorize curly arrays and binary
<br/>messages as well. Still this limits the syntax to a small subset of
<br/>Smalltalk.
<br/><br/>Now, for problems and things to do:
<br/><br/>• There is no separate AST building / semantic analysis phase. Methods
<br/>are compiled on the fly, blocks executed in the middle of parsing,
<br/>etc. It's probably possible to kludge my way around that but it's evil
<br/>and hinders testability.
<br/><br/>• I'm starting to feel like everything I start is a rabbit hole that
<br/>leads to rewriting half of the system, so a some help establishing a
<br/>priority list would be nice…
<br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4512682&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4512074Re: Coral + OSProcess on Mac ==> Which VM?2012-03-28T04:59:34Z2012-03-28T04:59:34ZDamien Pollet
On 28 March 2012 13:45, Luc Fabresse <<a href="/user/SendEmail.jtp?type=node&node=4512074&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> May I give a try to you code?
<br/>> Do you use the Mac Cocoa VM or the Eliot one?
<br/><br/>It's System-HostEnvironment in the Coral repo.
<br/><a href="http://ss3.gemstone.com/ss/coral.html/Latest" target="_top" rel="nofollow" link="external">http://ss3.gemstone.com/ss/coral.html/Latest</a><br/><br/>I use <a href="https://ci.lille.inria.fr/pharo/view/VM/job/Pharo-Mac-Cocoa/" target="_top" rel="nofollow" link="external">https://ci.lille.inria.fr/pharo/view/VM/job/Pharo-Mac-Cocoa/</a> but
<br/>cog-mac-cocoa is the same.
<br/><br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4512074&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4512049Re: Coral + OSProcess on Mac ==> Which VM?2012-03-28T04:45:04Z2012-03-28T04:45:04ZLuc Fabresse
<br><br><div class="gmail_quote">2012/3/28 Damien Pollet <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4512049&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 28 March 2012 09:52, Luc Fabresse <<a href="/user/SendEmail.jtp?type=node&node=4512049&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:<br>
> Perhaps I used the wrong VM.<br>
> I tried the Cog-Mac-Cocoa (from jenkins) and the Cog VM (from Eliot<br>
> Website).<br>
> which VM do you use?<br>
> Mac Carbons VM disappeared from jenkins?<br>
<br>
</div>Yes, the Cocoa ones are now the preferred on Mac (either Cog-Mac-Cocoa<br>
or the phrao-branded one.<br>
About the error, I don't know… OSProcess needs some cleaning and<br>
repackaging with CommandShell to get a package that makes sense.<br>
<br>
Camillo and I have started making a simpler interface to environment<br>
variables, arguments, working directory, etc, based on the OSProcess<br>
primitives. IMHO this should be part of all images. Then OSProcess<br>
should extend that with features to launch child processes and capture<br>
their I/O, return status, etc<br></blockquote><div><br></div><div>ok.</div><div>May I give a try to you code?</div><div>Do you use the Mac Cocoa VM or the Eliot one?</div><div> </div><div>Luc</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Damien Pollet<br>
type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_blank" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br>
</font></span></blockquote></div><br>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4512049&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4511675Re: Coral + OSProcess on Mac ==> Which VM?2012-03-28T01:27:14Z2012-03-28T01:27:14ZDamien Pollet
On 28 March 2012 09:52, Luc Fabresse <<a href="/user/SendEmail.jtp?type=node&node=4511675&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> Perhaps I used the wrong VM.
<br/>> I tried the Cog-Mac-Cocoa (from jenkins) and the Cog VM (from Eliot
<br/>> Website).
<br/>> which VM do you use?
<br/>> Mac Carbons VM disappeared from jenkins?
<br/><br/>Yes, the Cocoa ones are now the preferred on Mac (either Cog-Mac-Cocoa
<br/>or the phrao-branded one.
<br/>About the error, I don't know… OSProcess needs some cleaning and
<br/>repackaging with CommandShell to get a package that makes sense.
<br/><br/>Camillo and I have started making a simpler interface to environment
<br/>variables, arguments, working directory, etc, based on the OSProcess
<br/>primitives. IMHO this should be part of all images. Then OSProcess
<br/>should extend that with features to launch child processes and capture
<br/>their I/O, return status, etc
<br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4511675&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4511610Re: Coral + OSProcess on Mac ==> Which VM?2012-03-28T00:54:14Z2012-03-28T00:54:14ZMarcus Denker-4
<br/>On Mar 28, 2012, at 9:52 AM, Luc Fabresse wrote:
<br/><br/>>
<br/>> Mac Carbons VM disappeared from jenkins?
<br/>>
<br/>yes, we need to have *one* VM, we can't maintain 20 different. Just the fact that
<br/>we use one version and are forced to fix all bugs...
<br/><br/><br/>--
<br/>Marcus Denker -- <a href="http://marcusdenker.de" target="_top" rel="nofollow" link="external">http://marcusdenker.de</a><br/><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4511610&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4511606Coral + OSProcess on Mac ==> Which VM?2012-03-28T00:52:40Z2012-03-28T00:52:40ZLuc Fabresse
Hi all,<div><br></div><div> The example script in the distribution: scriptFewThingsWithOSProcess.cst does not work for me.</div><div><br></div><div> the line: </div><div>
<br></div><div> process chDir: '/'</div><div><br></div><div> outputs: </div><div><br></div><div>ProvideAnswerNotification: /bin: Interrupted system call</div><div><br></div><div> Perhaps I used the wrong VM.</div>
<div> I tried the Cog-Mac-Cocoa (from jenkins) and the Cog VM (from Eliot Website).</div><div> which VM do you use?</div><div> Mac Carbons VM disappeared from jenkins?</div><div><br></div><div>Thanks,</div><div><br>#Luc<br>
<br>
</div>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4511606&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4483329Re: [Pharo-project] Try with Coral2012-03-17T14:37:01Z2012-03-17T14:37:01ZDamien Pollet
On 16 March 2012 14:18, Alexandre Bergel <<a href="/user/SendEmail.jtp?type=node&node=4483329&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> Scripts should ends with .coral or .cst?
<br/><br/>Either. Currently it has no impact, but I'm thinking Coral should
<br/>integrate with the default code loader, in which case the extension
<br/>would determine what happens with the script (i.e. *.st get
<br/>parsed/loaded as a changeset, and *.{cst,coral} as a Coral script).
<br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4483329&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4384262Re: Getting Coral to load on Linux / Pharo 1.12012-02-13T09:11:59Z2012-02-13T09:11:59ZDamien Pollet
On 13 February 2012 17:00, Stéphane Ducasse <<a href="/user/SendEmail.jtp?type=node&node=4384262&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> Like what?
<br/>> Send us the fixes so that we integrate that.
<br/><br/>CommandLine and AbstractUserInput. It works, but could be clearer
<br/><br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4384262&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4384232Fw: Getting Coral to load on Linux / Pharo 1.12012-02-13T09:05:41Z2012-02-13T09:05:41Znickdavis
<p><font size="2" face="sans-serif">------------------------------------------------<br><br>Nick Davis<br>Software Developer (Infrastructure)<br></font><br><font size="1" color="#800080" face="sans-serif">----- Forwarded by Nick Davis/UK/Romax</font><font size="1" color="#800080" face="sans-serif"> on 13/02/2012 16:05</font><font size="1" color="#800080" face="sans-serif"> -----</font><br><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td width="1%"><img width="96" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br>
<ul style="padding-left: 4pt"><font size="1" color="#5F5F5F" face="sans-serif">From:</font></ul></td><td width="100%"><img width="1" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br><font size="1" face="sans-serif">Nick Davis/UK/Romax</font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br>
<ul style="padding-left: 4pt"><font size="1" color="#5F5F5F" face="sans-serif">To:</font></ul></td><td width="100%"><img width="1" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br><font size="1" face="sans-serif">Mariano Martinez Peck <<a href="/user/SendEmail.jtp?type=node&node=4384232&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>, </font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br>
<ul style="padding-left: 4pt"><font size="1" color="#5F5F5F" face="sans-serif">Date:</font></ul></td><td width="100%"><img width="1" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br><font size="1" face="sans-serif">13/02/2012 16:05</font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br>
<ul style="padding-left: 4pt"><font size="1" color="#5F5F5F" face="sans-serif">Subject:</font></ul></td><td width="100%"><img width="1" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br><font size="1" face="sans-serif">Re: [Pharo-coral] Getting Coral to load on Linux / Pharo 1.1</font></td></tr></table><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><font size="2" face="sans-serif">Hello Mariono, Damien, Stephane,</font><br><font size="2" face="sans-serif"> Thanks for the replies. I shall proceed with caution and not expect too much of Coral at this stage. It looks extremely promising though. Very nice to be able to run shell scripts that talk directly to a Pharo image. Brilliant for cron jobs that run regular scripts etc. Or for uploading new code to a production system without taking it down.</font><br><font size="2" face="sans-serif">Regards,</font><br><font size="2" face="sans-serif">Nick</font><br><br><br><font size="2" face="sans-serif">-----------------------------------------------<br><br><br></font><br><br><img width="16" height="16" src="https://forum.world.st/attachment/4384232/1/graycol.gif" border="0" alt="Inactive hide details for Mariano Martinez Peck ---13/02/2012 13:51:10---On Mon, Feb 13, 2012 at 2:37 PM, Nick Davis <Nick.Davi"><font size="2" color="#424282" face="sans-serif">Mariano Martinez Peck ---13/02/2012 13:51:10---On Mon, Feb 13, 2012 at 2:37 PM, Nick Davis <<a href="/user/SendEmail.jtp?type=node&node=4384232&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>>wrote: > Hello,</font><br><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td width="1%"><img width="96" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br>
<ul style="padding-left: 4pt"><font size="1" color="#5F5F5F" face="sans-serif">From:</font></ul></td><td width="100%"><img width="1" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br><font size="1" face="sans-serif">Mariano Martinez Peck <<a href="/user/SendEmail.jtp?type=node&node=4384232&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>></font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br>
<ul style="padding-left: 4pt"><font size="1" color="#5F5F5F" face="sans-serif">To:</font></ul></td><td width="100%"><img width="1" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br><font size="1" face="sans-serif">Nick Davis <<a href="/user/SendEmail.jtp?type=node&node=4384232&i=3" target="_top" rel="nofollow" link="external">[hidden email]</a>>, </font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br>
<ul style="padding-left: 4pt"><font size="1" color="#5F5F5F" face="sans-serif">Cc:</font></ul></td><td width="100%" valign="middle"><img width="1" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br><font size="1" face="sans-serif"><a href="/user/SendEmail.jtp?type=node&node=4384232&i=4" target="_top" rel="nofollow" link="external">[hidden email]</a></font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br>
<ul style="padding-left: 4pt"><font size="1" color="#5F5F5F" face="sans-serif">Date:</font></ul></td><td width="100%"><img width="1" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br><font size="1" face="sans-serif">13/02/2012 13:51</font></td></tr>
<tr valign="top"><td width="1%"><img width="96" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br>
<ul style="padding-left: 4pt"><font size="1" color="#5F5F5F" face="sans-serif">Subject:</font></ul></td><td width="100%"><img width="1" height="1" src="https://forum.world.st/attachment/4384232/0/ecblank.gif" border="0" alt=""><br><font size="1" face="sans-serif">Re: [Pharo-coral] Getting Coral to load on Linux / Pharo 1.1</font></td></tr></table><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><font size="3" face="serif"><br></font><br><font size="3" face="serif">On Mon, Feb 13, 2012 at 2:37 PM, Nick Davis <</font><a href="/user/SendEmail.jtp?type=node&node=4384232&i=5" target="_top" rel="nofollow" link="external">[hidden email]</a><font size="3" face="serif">> wrote:</font><ul style="padding-left: 9pt"><font size="3" face="sans-serif">Hello,<br> If you do -<br>Gofer new url: '</font><a href="http://ss3.gemstone.com/ss/coral" target="_blank" rel="nofollow" link="external"><font size="3" color="#0000FF" face="sans-serif"><u>http://ss3.gemstone.com/ss/coral</u></font></a><font size="3" face="sans-serif">'; package: 'ConfigurationOfCoral'; load.</font><font size="3" face="serif"><br></font><font size="3" face="sans-serif"><br> followed by<br>ConfigurationOfCoral loadDevelopment</font><font size="3" face="serif"><br></font><font size="3" face="sans-serif"><br>This works fine on Pharo 1.3 (Centos6 platform) , but on Pharo 1.1 it fails to load.<br>It blows up in ConfigurationOfCoral class>>loadDevelopment because (self project version: #development) returns nil.</font><font size="3" face="serif"><br></font></ul><br><font size="3" face="serif"><br>That's because symbolic versions (like #development) were added in newer versions of Metacello than the one provided out of the box in Pharo 1.1. You can update Metacello (something like ConfigurationOfMetacello load) or to use an specific numbered version of Coral. <br><br> </font><ul style="padding-left: 9pt"><font size="3" face="sans-serif">Any advice on how to make this work? Is Pharo 1.1 even supported?</font><font size="3" face="serif"><br></font><font size="3" face="sans-serif"><br>Thanks a lot,<br>Nick Davis</font><font size="3" face="serif"><br><br></font><font size="3" face="sans-serif"><br></font><font size="3" face="serif"><br></font></ul><font size="3" face="serif"><br><br><br>-- <br>Mariano</font><font size="3" color="#0000FF" face="serif"><u><br></u></font><a href="http://marianopeck.wordpress.com/" target="_blank" rel="nofollow" link="external"><font size="3" color="#0000FF" face="serif"><u>http://marianopeck.wordpress.com</u></font></a><font size="3" face="serif"><br></font><tt><font size="2">_______________________________________________<br>Pharo-coral mailing list<br><a href="/user/SendEmail.jtp?type=node&node=4384232&i=6" target="_top" rel="nofollow" link="external">[hidden email]</a><br></font></tt><tt><font size="2"><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a></font></tt><tt><font size="2"><br></font></tt><br><br><br><font face="sans-serif">=============================================
Romax Technology Limited
Rutherford House
Nottingham Science & Technology Park
Nottingham,
NG7 2PZ
England
Telephone numbers:
+44 (0)115 951 88 00 (main)
For other office locations see:
http://www.romaxtech.com/Contact
=================================
===============
E-mail: <a href="/user/SendEmail.jtp?type=node&node=4384232&i=7" target="_top" rel="nofollow" link="external">[hidden email]</a>
Website: www.romaxtech.com
=================================
================
Confidentiality Statement
This transmission is for the addressee only and contains information that is confidential and privileged.
Unless you are the named addressee, or authorised to receive it on behalf of the addressee
you may not copy or use it, or disclose it to anyone else.
If you have received this transmission in error please delete from your system and contact the sender. Thank you for your cooperation.
=================================================</font>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4384232&i=8" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4384219Re: Getting Coral to load on Linux / Pharo 1.12012-02-13T09:00:15Z2012-02-13T09:00:15ZStéphane Ducasse
<br/>On Feb 13, 2012, at 3:01 PM, Damien Pollet wrote:
<br/><br/>> On 13 February 2012 14:37, Nick Davis <<a href="/user/SendEmail.jtp?type=node&node=4384219&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>>> Any advice on how to make this work? Is Pharo 1.1 even supported?
<br/>>
<br/>> Coral is very much alpha/beta stage, and it requires a few fixes in
<br/>> the base image,
<br/><br/>Like what?
<br/>Send us the fixes so that we integrate that.
<br/><div class='shrinkable-quote'><br/>> so I would not count on old releases to be supported
<br/>> any time soon. Even 1.3 & 1.4 still need some cleaning.
<br/>>
<br/>> --
<br/>> Damien Pollet
<br/>> type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/>>
<br/>> _______________________________________________
<br/>> Pharo-coral mailing list
<br/>> <a href="/user/SendEmail.jtp?type=node&node=4384219&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a></div><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4384219&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4383862Re: Getting Coral to load on Linux / Pharo 1.12012-02-13T07:01:44Z2012-02-13T07:01:44ZDamien Pollet
On 13 February 2012 14:37, Nick Davis <<a href="/user/SendEmail.jtp?type=node&node=4383862&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> Any advice on how to make this work? Is Pharo 1.1 even supported?
<br/><br/>Coral is very much alpha/beta stage, and it requires a few fixes in
<br/>the base image, so I would not count on old releases to be supported
<br/>any time soon. Even 1.3 & 1.4 still need some cleaning.
<br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4383862&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4383812Re: Getting Coral to load on Linux / Pharo 1.12012-02-13T06:50:13Z2012-02-13T06:50:13ZMariano Martinez Peck
<br><br><div class="gmail_quote">On Mon, Feb 13, 2012 at 2:37 PM, Nick Davis <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4383812&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><p><font face="sans-serif">Hello,</font><br><font face="sans-serif"> If you do -</font><br><font face="sans-serif">Gofer new url: '<a href="http://ss3.gemstone.com/ss/coral" target="_blank" rel="nofollow" link="external">http://ss3.gemstone.com/ss/coral</a>'; package: 'ConfigurationOfCoral'; load.</font><br>
<br><font face="sans-serif"> followed by</font><br><font face="sans-serif">ConfigurationOfCoral loadDevelopment</font><br><br><font face="sans-serif">This works fine on Pharo 1.3 (Centos6 platform) , but on Pharo 1.1 it fails to load.</font><br>
<font face="sans-serif">It blows up in ConfigurationOfCoral class>>loadDevelopment because (self project version: #development) returns nil.</font><br><br></p></div></blockquote><div><br>That's because symbolic versions (like #development) were added in newer versions of Metacello than the one provided out of the box in Pharo 1.1. You can update Metacello (something like ConfigurationOfMetacello load) or to use an specific numbered version of Coral. <br>
<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p><font face="sans-serif">Any advice on how to make this work? Is Pharo 1.1 even supported?</font><br>
<br><font face="sans-serif">Thanks a lot,</font><br><font face="sans-serif">Nick Davis</font><br><br><br><font face="sans-serif">=============================================
Romax Technology Limited
Rutherford House
Nottingham Science & Technology Park
Nottingham,
NG7 2PZ
England
Telephone numbers:
<a href="tel:%2B44%20%280%29115%20951%2088%2000" value="+441159518800" target="_blank">+44 (0)115 951 88 00</a> (main)
For other office locations see:
<a href="http://www.romaxtech.com/Contact" target="_blank" rel="nofollow" link="external">http://www.romaxtech.com/Contact</a>
=================================
===============
E-mail: <a href="/user/SendEmail.jtp?type=node&node=4383812&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
Website: <a href="http://www.romaxtech.com" target="_blank" rel="nofollow" link="external">www.romaxtech.com</a>
=================================
================
Confidentiality Statement
This transmission is for the addressee only and contains information that is confidential and privileged.
Unless you are the named addressee, or authorised to receive it on behalf of the addressee
you may not copy or use it, or disclose it to anyone else.
If you have received this transmission in error please delete from your system and contact the sender. Thank you for your cooperation.
=================================================</font>
</p></div>
<br>_______________________________________________<br>
Pharo-coral mailing list<br>
<a href="/user/SendEmail.jtp?type=node&node=4383812&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a><br>
<a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_blank" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank" rel="nofollow" link="external">http://marianopeck.wordpress.com</a><br><br>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4383812&i=3" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4383778Getting Coral to load on Linux / Pharo 1.12012-02-13T06:37:30Z2012-02-13T06:37:30Znickdavis
<p><font size="2" face="sans-serif">Hello,</font><br><font size="2" face="sans-serif"> If you do -</font><br><font size="2" face="sans-serif">Gofer new url: 'http://ss3.gemstone.com/ss/coral'; package: 'ConfigurationOfCoral'; load.</font><br><br><font size="2" face="sans-serif"> followed by</font><br><font size="2" face="sans-serif">ConfigurationOfCoral loadDevelopment</font><br><br><font size="2" face="sans-serif">This works fine on Pharo 1.3 (Centos6 platform) , but on Pharo 1.1 it fails to load.</font><br><font size="2" face="sans-serif">It blows up in ConfigurationOfCoral class>>loadDevelopment because (self project version: #development) returns nil.</font><br><br><font size="2" face="sans-serif">Any advice on how to make this work? Is Pharo 1.1 even supported?</font><br><br><font size="2" face="sans-serif">Thanks a lot,</font><br><font size="2" face="sans-serif">Nick Davis</font><br><br><br><font face="sans-serif">=============================================
Romax Technology Limited
Rutherford House
Nottingham Science & Technology Park
Nottingham,
NG7 2PZ
England
Telephone numbers:
+44 (0)115 951 88 00 (main)
For other office locations see:
http://www.romaxtech.com/Contact
=================================
===============
E-mail: <a href="/user/SendEmail.jtp?type=node&node=4383778&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
Website: www.romaxtech.com
=================================
================
Confidentiality Statement
This transmission is for the addressee only and contains information that is confidential and privileged.
Unless you are the named addressee, or authorised to receive it on behalf of the addressee
you may not copy or use it, or disclose it to anyone else.
If you have received this transmission in error please delete from your system and contact the sender. Thank you for your cooperation.
=================================================</font>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4383778&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4344339Re: [Pharo-project] Command Line Interface using FFI2012-01-31T05:10:32Z2012-01-31T05:10:32ZDamien Pollet
On 29 January 2012 21:11, Guillermo Polito <<a href="/user/SendEmail.jtp?type=node&node=4344339&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> I've spent a few hours playing with Alien+FFI and I did want to have a
<br/>> Command line interface to play and use as a quick browser.
<br/><br/>This is something I'd like to have as a part of Coral.
<br/><br/>What's your opinion on the FFI-libc approach compared to OSProcess? I
<br/>was actually thinking of doing something like that using NativeBoost
<br/>:)
<br/><div class='shrinkable-quote'><br/>> Gofer it
<br/>> squeaksource: 'CLInterface';
<br/>> package: 'ConfigurationOfCLInterface';
<br/>> load.
<br/>>
<br/>> ConfigurationOfCLInterface load.
<br/>>
<br/>>
<br/>> To play with it write a script, for example startCLI.st, with the following:
<br/>>
<br/>> CLInterface start
<br/>>
<br/>>
<br/>>
<br/>> And then, from the command line
<br/>>
<br/>> CogVM -vm-display-null <image> startCLI.st
<br/>>
<br/>>
<br/>> What it does support?
<br/>> - executes smalltalk expressions
<br/>> - handles the errors and shows them into the stdout (so it does not explode
<br/>> :P)
<br/>> - stores variables as a workspace
<br/>> Since I used standard C functions (fgets and printf only) this should work
<br/>> on every platform from scratch (having a VM with FFI working, of course)...
<br/>>
<br/>> The problems I've ran so far:
<br/>> - blocking FFI blocks the vm. I've not tried yet to use threads through FFI
<br/>> (and I don't know if it works. Does it?). But It should be great to start
<br/>> a headless seaside server with a command line :/.
<br/>>
<br/>> Ok, it's a very simple thing, but it allows to execute a expression from a
<br/>> remote server via ssh without doing much :).
<br/>>
<br/>> Guille
</div><br/><br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4344339&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4260850Re: My new coral setup2012-01-04T03:59:42Z2012-01-04T03:59:42ZLuc Fabresse
<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What about a patch :p<br></blockquote></div></div></blockquote><div><br></div><div><div>done.</div><div><br></div><div>Name: Coral-Utilities-LucFabresse.7</div><div>Author: LucFabresse</div><div>Time: 4 January 2012, 9:43:14 am</div>
<div>UUID: 6d79675f-9a91-4c72-a3b7-34574d6bf756</div><div>Ancestors: Coral-Utilities-DamienPollet.6</div><div><br></div><div>- add shebang in all scripts examples during generation </div><div>- give them execution rights</div>
<div><br></div><div>Luc</div><div> </div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div class="im"><div>
</div></div><span class="HOEnZb"><font color="#888888"><div>Luc</div></font></span><div class="im"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><br>
<br>
--<br>
Damien Pollet<br>
type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_blank" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br>
</div></div></blockquote></div></div><br>
</blockquote></div><br>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4260850&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4257508Re: My new coral setup2012-01-03T09:30:43Z2012-01-03T09:30:43ZDamien Pollet
On 3 January 2012 17:00, Luc Fabresse <<a href="/user/SendEmail.jtp?type=node&node=4257508&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> that is why I tried in the coral.sh:
<br/>>
<br/>> defaults write "$vminfo" LSUIElement 1
<br/>> "$vm" $vmArgs "$image" ...
<br/>> defaults write "$vminfo" LSUIElement 0
<br/><br/>Not very elegant… in the end the best solution is probably to have a
<br/>dedicated command-line VM, but…
<br/><br/>> I vote for:
<br/>> #!/usr/bin/env coral
<br/>>
<br/>> but it means that a script named coral must exists in PATH
<br/>> What do you think?
<br/><br/>I do that in most my scripts :)
<br/><br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4257508&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4257362Re: My new coral setup2012-01-03T09:00:50Z2012-01-03T09:00:50ZLuc Fabresse
<br><br><div class="gmail_quote">2012/1/3 Damien Pollet <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4257362&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 3 January 2012 14:46, Luc Fabresse <<a href="/user/SendEmail.jtp?type=node&node=4257362&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:<br>
>> I wonder if the VM can decide at launch time to run as a C or a cocoa<br>
>> GUI program?<br>
><br>
> yes with LSUIElement pref but it seems it has changed in snow leopard and<br>
> lion...<br>
<br>
</div>I'll have a look then. But LSUIElement is a property of the<br>
application bundle, so it's handled by the system. I'm not sure the<br>
application gets to decide its value soon enough to take effect at<br>
each startup (without changing it then restarting the application).<br></blockquote><div><br></div><div>yes.</div><div>that is why I tried in the coral.sh:</div><div><br></div><div>defaults write "$vminfo" LSUIElement 1</div>
<div>"$vm" $vmArgs "$image" ...</div><div>defaults write "$vminfo" LSUIElement 0</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> I just added the shebang in the scripts.<br>
> Do you want a bug entry for that?<br>
<br>
</div>What about a patch :p<br></blockquote><div><br></div><div>yes of course ;-)</div><div>We should agree on the shebang.</div><div>I vote for:</div><div>#!/usr/bin/env coral</div><div><br></div><div>but it means that a script named coral must exists in PATH</div>
<div>What do you think?</div><div> </div><div>Luc</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
Damien Pollet<br>
type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_blank" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br>
</div></div></blockquote></div><br>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4257362&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4257256Re: My new coral setup2012-01-03T08:26:04Z2012-01-03T08:26:04ZDamien Pollet
On 3 January 2012 14:46, Luc Fabresse <<a href="/user/SendEmail.jtp?type=node&node=4257256&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>>> I wonder if the VM can decide at launch time to run as a C or a cocoa
<br/>>> GUI program?
<br/>>
<br/>> yes with LSUIElement pref but it seems it has changed in snow leopard and
<br/>> lion...
<br/><br/>I'll have a look then. But LSUIElement is a property of the
<br/>application bundle, so it's handled by the system. I'm not sure the
<br/>application gets to decide its value soon enough to take effect at
<br/>each startup (without changing it then restarting the application).
<br/><br/>> I just added the shebang in the scripts.
<br/>> Do you want a bug entry for that?
<br/><br/>What about a patch :p
<br/><br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4257256&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4256809Re: My new coral setup2012-01-03T06:46:31Z2012-01-03T06:46:31ZLuc Fabresse
Hi Damien,<div><br></div><div> I come back to this story. </div><div> Happy new year ;-)<br><br><div class="gmail_quote">2011/12/23 Damien Pollet <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4256809&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 23 December 2011 12:12, Luc Fabresse <<a href="/user/SendEmail.jtp?type=node&node=4256809&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:<br>
> The documentation on the website is outdated e.g coralDebug.sh does not<br>
> exist anymore (coral.sh -d).<br>
<br>
</div>I'll have a look.<br>
<div class="im"><br>
> The coral.sh script is generated but with an incomplete path (.app folder)<br>
> for the vm executable.<br>
<br>
</div>That's either my fault (because the API changed in the image and I<br>
didn't update) or your VM's fault (I know there were differences<br>
between the cocoa and the carbon one, carbon working a bit better)<br></blockquote><div><br></div><div>yes I use the cocoa one.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> Then, I hate that coral scripts are slow because UI stuff.<br>
> I tried to modify the coral.sh script so that the dock icon and the osx<br>
> menu bar of the VM does not appear when I execute a script.<br>
> I tried a solution using:<br>
> defaults write "$vm/Contents/Info.plist" LSUIElement 1<br>
<br>
</div>What's that supposed to do?<br></blockquote><div><br></div><div>prevent display of the dock icon and the menu bar.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> I finally used the app DockDodger (<a href="http://foggynoggin.com/dockdodger" target="_blank" rel="nofollow" link="external">http://foggynoggin.com/dockdodger</a>) which<br>
> modifies an app to prevent its icon and menu bar to be dispayed when<br>
> launched.<br>
> In the coral.sh I use the modified vm app.<br>
<br>
</div>I wonder if the VM can decide at launch time to run as a C or a cocoa<br>
GUI program?<br></blockquote><div><br></div><div>yes with LSUIElement pref but it seems it has changed in snow leopard and lion...</div><div>That is why I used DockDodger.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> I also copied coral.sh in ~/Library/bin/coral<br>
> and I modified scripts adding shebang like that:<br>
> #!/usr/bin/env coral<br>
> and give execution right.<br>
<br>
</div>Indeed, I do the same. Can you make a list of all these places that<br>
need a bit of polish, and open issues?<br></blockquote><div><br></div><div>I just added the shebang in the scripts.</div><div>Do you want a bug entry for that?</div><div><br></div><div>Cheers,</div><div><br></div><div>Luc</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Damien Pollet<br>
type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_blank" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br>
</font></span></blockquote></div><br></div>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4256809&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4228850Re: My new coral setup2011-12-23T07:50:41Z2011-12-23T07:50:41ZDamien Pollet
On 23 December 2011 12:12, Luc Fabresse <<a href="/user/SendEmail.jtp?type=node&node=4228850&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> The documentation on the website is outdated e.g coralDebug.sh does not
<br/>> exist anymore (coral.sh -d).
<br/><br/>I'll have a look.
<br/><br/>> The coral.sh script is generated but with an incomplete path (.app folder)
<br/>> for the vm executable.
<br/><br/>That's either my fault (because the API changed in the image and I
<br/>didn't update) or your VM's fault (I know there were differences
<br/>between the cocoa and the carbon one, carbon working a bit better)
<br/><br/>> Then, I hate that coral scripts are slow because UI stuff.
<br/>> I tried to modify the coral.sh script so that the dock icon and the osx
<br/>> menu bar of the VM does not appear when I execute a script.
<br/>> I tried a solution using:
<br/>> defaults write "$vm/Contents/Info.plist" LSUIElement 1
<br/><br/>What's that supposed to do?
<br/><br/>> I finally used the app DockDodger (<a href="http://foggynoggin.com/dockdodger" target="_top" rel="nofollow" link="external">http://foggynoggin.com/dockdodger</a>) which
<br/>> modifies an app to prevent its icon and menu bar to be dispayed when
<br/>> launched.
<br/>> In the coral.sh I use the modified vm app.
<br/><br/>I wonder if the VM can decide at launch time to run as a C or a cocoa
<br/>GUI program?
<br/><br/>> I also copied coral.sh in ~/Library/bin/coral
<br/>> and I modified scripts adding shebang like that:
<br/>> #!/usr/bin/env coral
<br/>> and give execution right.
<br/><br/>Indeed, I do the same. Can you make a list of all these places that
<br/>need a bit of polish, and open issues?
<br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4228850&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4228210My new coral setup2011-12-23T04:12:10Z2011-12-23T04:12:10ZLuc Fabresse
Hi All,<div><br></div><div> I just re-installed a fresh coral version.</div><div> The documentation on the website is outdated e.g coralDebug.sh does not exist anymore (coral.sh -d).</div><div> The coral.sh script is generated but with an incomplete path (.app folder) for the vm executable.</div>
<div><br></div><div> Then, I hate that coral scripts are slow because UI stuff. </div><div> I tried to modify the coral.sh script so that the dock icon and the osx menu bar of the VM does not appear when I execute a script. </div>
<div> I tried a solution using:</div><div> defaults write "$vm/Contents/Info.plist" LSUIElement 1</div><div> but it does not work on my OsX 10.6.8.</div><div> Even if it does not work, I attached the script because it would be the portable solution.</div>
<div><br></div><div> I finally used the app DockDodger (<a href="http://foggynoggin.com/dockdodger" target="_top" rel="nofollow" link="external">http://foggynoggin.com/dockdodger</a>) which modifies an app to prevent its icon and menu bar to be dispayed when launched.</div>
<div> In the coral.sh I use the modified vm app.</div><div> Now scripts execution is faster.</div><div><br></div><div> I also copied coral.sh in ~/Library/bin/coral</div><div> and I modified scripts adding shebang like that:</div>
<div> #!/usr/bin/env coral </div><div> and give execution right.</div><div><br></div><div> Now I can do:</div><div><br></div><div> ./scriptHappyFace</div><div> </div><div> and it is fast enough ;-)</div><div><br></div><div>
hope this helps,</div><div><br>#Luc<br><br>
</div>
<br />_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4228210&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/><!--start-attachments--><div class="small"><br/><img src="https://forum.world.st/images/icon_attachment.gif" > <strong>coral.sh</strong> (2K) <a href="https://forum.world.st/attachment/4228210/0/coral.sh" target="_top" rel="nofollow" link="external">Download Attachment</a></div><!--end-attachments-->
tag:forum.world.st,2006:post-4207615Re: Class declaration syntax2011-12-17T00:54:40Z2011-12-17T00:54:40ZStéphane Ducasse
you should have also
<br/>shared
<br/>so you should get all the combination .
<br/>but damien just use the simplest one and we will see.
<br/>We should have a working version and that people use it + a documentation.
<br/><br/>On Dec 15, 2011, at 5:25 PM, Alexandre Bergel wrote:
<br/><div class='shrinkable-quote'><br/>>> SomeClass < #NameOfNewClass
<br/>>> iv: 'a b c';
<br/>>> shared: 'D E F';
<br/>>> package: 'Foo'
<br/>>
<br/>> Why not:
<br/>>
<br/>> SomeClass subclass: #NameOfNewClass
<br/>> vars: 'a b c D E F'
<br/>> package: 'APackage'
<br/>>
<br/>> Alexandre
<br/>>
<br/>> --
<br/>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
<br/>> Alexandre Bergel <a href="http://www.bergel.eu" target="_top" rel="nofollow" link="external">http://www.bergel.eu</a><br/>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
<br/>>
<br/>>
<br/>>
<br/>>
<br/>>
<br/>>
<br/>> _______________________________________________
<br/>> Pharo-coral mailing list
<br/>> <a href="/user/SendEmail.jtp?type=node&node=4207615&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a></div><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4207615&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4207613Re: Class declaration syntax2011-12-17T00:53:15Z2011-12-17T00:53:15ZStéphane Ducasse
why do you want to have a builder?
<br/><br/>Stef
<br/><br/>On Dec 15, 2011, at 3:36 PM, Damien Pollet wrote:
<br/><div class='shrinkable-quote'><br/>> Hi all,
<br/>>
<br/>> back to Coral after a (much too long) teaching hiatus, I'm pondering
<br/>> what the best solution is for the class declaration syntax.
<br/>>
<br/>> The usual message will always work, of course:
<br/>>
<br/>> SomeClass subclass: #NameOfNewClass
<br/>> instanceVariableNames: 'a b c'
<br/>> classVariableNames: 'D E F'
<br/>> poolDictionaries: ''
<br/>> category: 'Foo'
<br/>>
<br/>> But one idea of the prototype was to make that a bit more flexible and
<br/>> terse, by using a cascade:
<br/>>
<br/>> SomeClass < #NameOfNewClass
<br/>> iv: 'a b c';
<br/>> shared: 'D E F';
<br/>> package: 'Foo'
<br/>>
<br/>> Now the first problem is that #package is used by RPackage so
<br/>> redefining it on Class breaks the system. #package: might be less
<br/>> problematic but… for now I will switch back to #category:
<br/>>
<br/>> I was thinking SomeClass < #NameOfNewClass should return a builder
<br/>> object, but in that case there is no way for the builder to know when
<br/>> the cascade is finished; it can of course do things on the fly, but
<br/>> that implies recompiling the class for each message… not really
<br/>> beautiful.
<br/>>
<br/>> Suggestions?
<br/>>
<br/>> --
<br/>> Damien Pollet
<br/>> type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/>>
<br/>> _______________________________________________
<br/>> Pharo-coral mailing list
<br/>> <a href="/user/SendEmail.jtp?type=node&node=4207613&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a></div><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4207613&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4205061Re: Coral status2011-12-16T08:31:16Z2011-12-16T08:31:16ZDamien Pollet
On 16 December 2011 15:20, Damien Pollet <<a href="/user/SendEmail.jtp?type=node&node=4205061&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>>> OK, it's a bit less mysterious: builds work on the linux build slave,
<br/>>> but fail on the mac one.
<br/><br/>Apparently it's a package-cache problem, maybe a wrong dependency in
<br/>ConfigurationOfPetitParser or a broken .mcz
<br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4205061&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>
tag:forum.world.st,2006:post-4204903Re: Coral status2011-12-16T07:20:44Z2011-12-16T07:20:44ZDamien Pollet
On 16 December 2011 14:29, Damien Pollet <<a href="/user/SendEmail.jtp?type=node&node=4204903&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<br/>> OK, it's a bit less mysterious: builds work on the linux build slave,
<br/>> but fail on the mac one.
<br/><br/>I've disabled builds on the mac slave for now.
<br/>I'm still developing primarily on a mac, so you can expect the images to work.
<br/><br/>--
<br/>Damien Pollet
<br/>type less, do more [ | ] <a href="http://people.untyped.org/damien.pollet" target="_top" rel="nofollow" link="external">http://people.untyped.org/damien.pollet</a><br/><br/>_______________________________________________
<br/>Pharo-coral mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=4204903&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral" target="_top" rel="nofollow" link="external">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-coral</a><br/>