Scripting with Pharo?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Scripting with Pharo?

Stéphane Ducasse
Do not use installer

CoralLoader load should work.

Stef


On May 12, 2010, at 11:10 PM, Andrei Stebakov wrote:

> Was trying to install Coral with "ScriptLoader new installer ss project: 'Coral'; install: 'LoadCoral'.df" command.
>
> Gave me a MessageNotUnderstood along the process:
>
> MessageNotUnderstood: Installer class>>squeaksource
> Installer class(Object)>>doesNotUnderstand: #squeaksource
> [] in Installer class>>doesNotUnderstand: #squeaksource
> IdentityDictionary(Dictionary)>>at:ifAbsent:
> Installer class>>doesNotUnderstand: #squeaksource
> Installer class>>ss
> UndefinedObject>>DoIt
> Compiler>>evaluate:in:to:notifying:ifFail:logged:
> [] in TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection
> BlockClosure>>on:do:
> TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection
> TextMorphForShoutEditor(ParagraphEditor)>>doIt
> [] in TextMorphForShoutEditor(ParagraphEditor)>>doIt:
> TextMorphForShoutEditor(ParagraphEditor)>>terminateAndInitializeAround:
> TextMorphForShoutEditor(ParagraphEditor)>>doIt:
> TextMorphForShoutEditor(ParagraphEditor)>>dispatchOnKeyEvent:with:
> TextMorphForShoutEditor(TextMorphEditor)>>dispatchOnKeyEvent:with:
> TextMorphForShoutEditor(ParagraphEditor)>>keystroke:
> TextMorphForShoutEditor(TextMorphEditor)>>keystroke:
> [] in [] in TextMorphForShout(TextMorph)>>keyStroke:
> TextMorphForShout(TextMorph)>>handleInteraction:
>
> Installer class(Object)>>doesNotUnderstand: #squeaksource
> [] in Installer class>>doesNotUnderstand: #squeaksource
> IdentityDictionary(Dictionary)>>at:ifAbsent:
> Installer class>>doesNotUnderstand: #squeaksource
> Installer class>>ss
> UndefinedObject>>DoIt
> Compiler>>evaluate:in:to:notifying:ifFail:logged:
> [] in TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection
> BlockClosure>>on:do:
> TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection
> TextMorphForShoutEditor(ParagraphEditor)>>doIt
> [] in TextMorphForShoutEditor(ParagraphEditor)>>doIt:
> TextMorphForShoutEditor(ParagraphEditor)>>terminateAndInitializeAround:
> TextMorphForShoutEditor(ParagraphEditor)>>doIt:
> TextMorphForShoutEditor(ParagraphEditor)>>dispatchOnKeyEvent:with:
> TextMorphForShoutEditor(TextMorphEditor)>>dispatchOnKeyEvent:with:
> TextMorphForShoutEditor(ParagraphEditor)>>keystroke:
> TextMorphForShoutEditor(TextMorphEditor)>>keystroke:
> [] in [] in TextMorphForShout(TextMorph)>>keyStroke:
> TextMorphForShout(TextMorph)>>handleInteraction:
> doesNotUnderstand: aMessage
>
> Oh well, probably some dependencies are missing...
>
>
> 2010/5/12 Gabriel Brunstein <[hidden email]>
> What about coral?
> http://scg.unibe.ch/wiki/projects/bachelorsprojects/coral
>
> 2010/5/12 Andrei Stebakov <[hidden email]>
> Is it possible to start Pharo headless and execute some command (say to get some info from a web page)?
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Scripting with Pharo?

Stéphane Ducasse
In reply to this post by Andrei Stebakov
On windows I do not know if OSProcess is working.
I tested on mac.

Stef
On May 12, 2010, at 11:54 PM, Andrei Stebakov wrote:

> Installation worked well.
> Something is still missing (docs for sure!) when I type "OSProcess thisOSProcess" and evaluate/print it it says "a WindowsProcess with pid nil".
>
>
> 2010/5/12 Mariano Martinez Peck <[hidden email]>
> It seems the wiki is outdated. Please try this to install it:
>
> Gofer new
>     squeaksource: 'Coral';
>     package: 'LoadCoral';
>     load.
>    
> (Smalltalk at: #CoralLoader) load.
>
>
> DISCLAIMER: I have no idea of it is working or not. It just load. And I am not even sure if loads completely correct
>
> Cheers
>
> mariano
>
>
> 2010/5/12 Andrei Stebakov <[hidden email]>
> Right, I just didn't get it on the first read...
>
> 2010/5/12 Gabriel Brunstein <[hidden email]>
> As I read there, Coral IS A PACKAGE FOR PHARO! so you would not be using another tool.
> I don't know which is the state of Coral, if it works or not (based on the previous mail of Stephane)
>
> 2010/5/12 Andrei Stebakov <[hidden email]>
> Thank you, I'll give it a try. See, maybe my philosophy is wrong, but I'd rather get better at one tool (where it's possible) than learn multiple different tools to do similar tasks.
> I think Pharo has a potential to be if not a Swiss army knife like Python, but a very useful language for any programming tasks (scripting is one of them).
> So far, as a newbie, I like what I see in Pharo and having a blast learning it. I am so thrilled, that just a thought that it could do scripting sends shivers down my spine :)
>
> 2010/5/12 Gabriel Brunstein <[hidden email]>
>
> What about coral?
> http://scg.unibe.ch/wiki/projects/bachelorsprojects/coral
>
> 2010/5/12 Andrei Stebakov <[hidden email]>
> Is it possible to start Pharo headless and execute some command (say to get some info from a web page)?
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
12