Re: [Pharo-users] [Oharo-users] Copy AST

2014-11-05 Thread Thierry Goubier
Le 05/11/2014 18:04, Mark Rizun a écrit : Hi everyone, I want to get a deep copy of ast. But deepCopy doesn't work:) What I mean: | ast1 ast2 | ast1 := RBParser parseRewriteExpression: 'self'. ast2 := ast1 copy."or without copy" ast1 stop: 99. ast2 stop When evaluate this you get 99. I want it

Re: [Pharo-users] [Oharo-users] Copy AST

2014-11-05 Thread Yuriy Tymchuk
I’m not sure if this is a case, but there is deepCopy and veryDeepCopy, maybe you should take a look at that. Uko > On 05 Nov 2014, at 18:04, Mark Rizun wrote: > > Hi everyone, > > I want to get a deep copy of ast. But deepCopy doesn't work:) > What I mean: > > | ast1 ast2 | > ast1 := RBPars

Re: [Pharo-users] Start up actions

2014-11-05 Thread Carlo
Hi Peter From my perspective option b. offers the most flexibility and is most explicit although the StartupLoader class (see class comments and examples) seems versatile and simple. > a. Include a file named startup.st in the same folder as the image, and > put a script to start the pro

Re: [Pharo-users] FFI structs

2014-11-05 Thread Alain Rastoul
Hi Ronie, Great that you work on a threaded FFI because it is a pain for some libraries. FFI ODBC for example, works very well but is not usable in real applications because of sql locks that locks the pharo vm. I don't like FFI too much, NativeBoost is much better, unfortunately I don't know abo

Re: [Pharo-users] Bug? in Filein

2014-11-05 Thread Nicolai Hess
14405 (backport pharo3) FileOut creates invalid comment entries for classes with class side methods fix in pharo3inbox 2014-11-04 22:51 GMT+01:00 Nicolai Hess : > Fixed and integrated (pharo 40350) > I'll open another issue for backporting to pharo3 >

[Pharo-users] [Oharo-users] Copy AST

2014-11-05 Thread Mark Rizun
Hi everyone, I want to get a deep copy of ast. But deepCopy doesn't work:) What I mean: | ast1 ast2 | ast1 := RBParser parseRewriteExpression: 'self'. ast2 := ast1 copy."or without copy" ast1 stop: 99. ast2 stop When evaluate this you get 99. I want it to be 4. So I want to have separate object

Re: [Pharo-users] FFI structs

2014-11-05 Thread Annick Fron
This is good news ! Annick Le 30 oct. 2014 à 23:37, stepharo a écrit : > Ronie is working on unifying all the api and proposing one syntax mechanism > for > - nativeBoost back-end > - FFI > and may be Alien > > The FFI situation is not good and we know we should improve it. > >

Re: [Pharo-users] [ANN]: NewExternalWebBrowser

2014-11-05 Thread Ben Coman
Sean P. DeNigris wrote: Tudor Girba-2 wrote Nice :)... Thanks, No problem! BTW let's not depend on NewExternalWebBrowser surviving as the project's name ;) Don't be a newb...? ;) - Cheers, Sean -- View this message in context: http://forum.world.st/ANN-NewExternalWebBrowser-t

Re: [Pharo-users] Start up actions

2014-11-05 Thread Sven Van Caekenberghe
The absolute simplest thing is to just create the process and save the image with it, it will keep on running. > On 05 Nov 2014, at 12:05, PBKResearch wrote: > > Hello > > I have a puzzle as to how to implement a start-up action. I would like to > have a monitoring process running in the bac

[Pharo-users] Start up actions

2014-11-05 Thread PBKResearch
Hello I have a puzzle as to how to implement a start-up action. I would like to have a monitoring process running in the background while I am working on my project, and it would be easier if this process started up automatically when the image is loaded. I have hunted through my current image,

[Pharo-users] Script as first class citizen

2014-11-05 Thread Hilaire
Hello, Within DrGeo I would like to extend the capability of script. As for now, a script is just method user written method integrated in an existing DrGeoUserScript class. It is a very light implementation, and it makes it easy to export the script in the sketch (a XML file). However it is very

Re: [Pharo-users] Render PDF / Web Document in Pharo

2014-11-05 Thread S Krish
embedding a viewer like Java / COM component could be attempted with Native Boost.. that is a framework creation effort. viz in Visualworks: | acrobatInterface arguments | acrobatInterface := COMDispatchDriver createObject: 'AcroExch.AVDoc'. arguments := Array new: 10 withAll: 0. arguments