Hi,
Does anybody know if there is a tool/package or something to import Dolphin's chunked fileouts into Pharo? The chunk format is different, as well as some methods not present in Pharo classes (like #owningPackage:/#guid: among others). If nothing exists, then I'll have to make it somehow. Regards! Esteban A. Maringolo |
Hi Esteban:
I migrated several (little) things and I had to take care of the situations that you comment, I mean, I do not know any tool to help in this task. Cheers. |
In reply to this post by Esteban A. Maringolo
Hi Esteban,
I wrote some code which makes a dolphin package appear as a changeset to Pharo. Works fairly well. However, I didn't tackle the automatic code conversion issues: methods too long for pharo, Dolphin syntax extensions (##). Thierry Le 17/08/2014 00:39, Esteban A. Maringolo a écrit : > Hi, > > Does anybody know if there is a tool/package or something to import > Dolphin's chunked fileouts into Pharo? > > The chunk format is different, as well as some methods not present in > Pharo classes (like #owningPackage:/#guid: among others). > > If nothing exists, then I'll have to make it somehow. > > Regards! > > Esteban A. Maringolo > > |
In reply to this post by Esteban A. Maringolo
Hi esteban
let us know if we can help (if we are rather busy). Stef On 16/8/14 23:39, Esteban A. Maringolo wrote: > Hi, > > Does anybody know if there is a tool/package or something to import > Dolphin's chunked fileouts into Pharo? > > The chunk format is different, as well as some methods not present in > Pharo classes (like #owningPackage:/#guid: among others). > > If nothing exists, then I'll have to make it somehow. > > Regards! > > Esteban A. Maringolo > > |
I solved it adding a few mock classes/methods, plus a bunch of regular
expressions to convert Dolphin chunk to Pharo chunk. Dolphin uses methodsFor! and sets method category as a "do-it", while Pharo defines the category and the stamp in methodsFor:stamp:! It isn't super pretty, but got the job done. (I was able to file-in a lot of code I did years ago saving me from reinventing the wheel). Regards! Esteban A. Maringolo 2014-08-18 7:56 GMT-03:00 stepharo <[hidden email]>: > Hi esteban > > let us know if we can help (if we are rather busy). > > Stef > > > On 16/8/14 23:39, Esteban A. Maringolo wrote: >> >> Hi, >> >> Does anybody know if there is a tool/package or something to import >> Dolphin's chunked fileouts into Pharo? >> >> The chunk format is different, as well as some methods not present in >> Pharo classes (like #owningPackage:/#guid: among others). >> >> If nothing exists, then I'll have to make it somehow. >> >> Regards! >> >> Esteban A. Maringolo >> >> > > |
Hi Esteban - might it be possible to put your script and mock classes on Smalltalk hub for future reference?
I might need to do something similar at some point - and it sounds workable with what you did. Thanks for mentioning it. Tim Sent from my iPhone > On 18 Aug 2014, at 04:46 pm, "Esteban A. Maringolo" <[hidden email]> wrote: > > I solved it adding a few mock classes/methods, plus a bunch of regular > expressions to convert Dolphin chunk to Pharo chunk. > > Dolphin uses methodsFor! and sets method category as a "do-it", while > Pharo defines the category and the stamp in methodsFor:stamp:! > > It isn't super pretty, but got the job done. > (I was able to file-in a lot of code I did years ago saving me from > reinventing the wheel). > > Regards! > > > > > Esteban A. Maringolo > > > 2014-08-18 7:56 GMT-03:00 stepharo <[hidden email]>: >> Hi esteban >> >> let us know if we can help (if we are rather busy). >> >> Stef >> >> >>> On 16/8/14 23:39, Esteban A. Maringolo wrote: >>> >>> Hi, >>> >>> Does anybody know if there is a tool/package or something to import >>> Dolphin's chunked fileouts into Pharo? >>> >>> The chunk format is different, as well as some methods not present in >>> Pharo classes (like #owningPackage:/#guid: among others). >>> >>> If nothing exists, then I'll have to make it somehow. >>> >>> Regards! >>> >>> Esteban A. Maringolo > |
Administrator
|
+1. That sounds cool :)
Cheers,
Sean |
Free forum by Nabble | Edit this page |