Porting SPort portability layer to Dolphin

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

Porting SPort portability layer to Dolphin

Janko Mivšek
Dear Dolphiners,

While trying to ease porting of Swazoo and also other things among
Smalltalk dialects, Bruce Badger did a nice portability layer called
SPort and he is already ported it to Squeak, VW and Gemstone. Therefore
you are welcome to port it to Dolphin too!

You can find SPort (Smalltalk PORTability) in Cincom public repository,
bundle Sport.


I hope you join this effort and that someone will stand up and do that
not so big job ;)

Best regards

Janko Mivsek
maintainer of Swazoo


Reply | Threaded
Open this post in threaded view
|

Re: Porting SPort portability layer to Dolphin

Esteban A. Maringolo-3
Hi Janko:
Janko Mivsek escribió:
> Dear Dolphiners,

> While trying to ease porting of Swazoo and also other things among
> Smalltalk dialects, Bruce Badger did a nice portability layer called
> SPort and he is already ported it to Squeak, VW and Gemstone. Therefore
> you are welcome to port it to Dolphin too!

> You can find SPort (Smalltalk PORTability) in Cincom public repository,
> bundle Sport.
> I hope you join this effort and that someone will stand up and do that
> not so big job ;)

Can the source code/package be downloaded without using VW to fetch
it from the repository?

Sport, uhm... nice name :-)

Regards,

--
Esteban.


Reply | Threaded
Open this post in threaded view
|

Re: Porting SPort portability layer to Dolphin

Janko Mivšek
Hi Esteban,

I filed out Sport and here it is:

        ftp://ftp.eranova.si/aida/Sport-dolphin40-format.st.tar.gz
        ftp://ftp.eranova.si/aida/Sport-chunk-format.st.tar.gz

Package structure is as follows:

Bundle
   Package
     Class

Sport
   SpExceptions
     SpAbstractError
     SpError
     SpExceptionContext
   SpTimes
     SpDate
     SpTimestamp
   SpSockets
     SpIpAddress
     SpSocket
     SpSocketAddress
     SpSocketError
   SpEnvironment
     SpEnvironment
     SpMD5Digest
     SpModel
     SpRandom
     SpStringUtilities
     SpTranscript
     SpWeakArray
   SpFiles
     SpFilename
     SpFileStream
   SpPortabilityTools
     SpPortabilityToolBox

I skiped all Gemstone related code above. Gemstone Smalltalk is
generated directly from VW, so it is included in VW port. IMHO you can
safely skip it for other ports.

Best regards
Janko

Esteban A. Maringolo wrote:

> Hi Janko:
> Janko Mivsek escribió:
>
>> Dear Dolphiners,
>
>
>> While trying to ease porting of Swazoo and also other things among
>> Smalltalk dialects, Bruce Badger did a nice portability layer called
>> SPort and he is already ported it to Squeak, VW and Gemstone.
>> Therefore you are welcome to port it to Dolphin too!
>
>
>> You can find SPort (Smalltalk PORTability) in Cincom public
>> repository, bundle Sport.
>> I hope you join this effort and that someone will stand up and do that
>> not so big job ;)
>
>
> Can the source code/package be downloaded without using VW to fetch it
> from the repository?
>
> Sport, uhm... nice name :-)
>
> Regards,
>
> --
> Esteban.


Reply | Threaded
Open this post in threaded view
|

Re: Porting SPort portability layer to Dolphin

Bruce Badger-4
In reply to this post by Janko Mivšek
On Mon, 23 Jan 2006 11:52:42 +0100, Janko Mivsek wrote:

> You can find SPort (Smalltalk PORTability) in Cincom public repository,
> bundle Sport.
> I hope you join this effort and that someone will stand up and do that
> not so big job ;)

Porting Sport is a bit of a dry task without something to drive it.  When
I port Sport to a new dialect, I drive the work by filing in and testing
the PostgreSQL drivers - this provides something to test Sport as you go,
which is more fun.

To make a Squeak-friendly file-out of the PostgreSQL driver I loaded the
latest version of from Store into VW.  Then I loaded the "Fileout 30"
parcel, and in System>Settings chose the Squeak file-out format (a Dolphin
format is listed there).  Then I just filed out the PostgreSQLDriver
package.

To test the driver, look at the class side of the PostgreSQLTest class.

If you have Sport working right (and the file-out/file-in does not break
anything), the PostgreSQL drivers should work with no changes in the new
dialect.

Once I have PosgreSQL going, I move on to Swazoo :-)

HTH

        Bruce