List Info

Thread: Porting Swazoo to GST




Porting Swazoo to GST
country flaguser name
Slovenia
2008-01-11 07:04:04
Hi,

Would anyone be willing to help me making that port? I think
GST would 
profit a lot with Swazoo, because it will enable porting
Aida and 
Seaside too.

I heard that GST already has a web server but I think Swazoo
have 
benefits here because it is portable and web frameworks
above are then 
easily portable and maintained.

Best regards
JAnko
-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

Re: Porting Swazoo to GST
country flaguser name
Italy
2008-01-12 05:54:51
Janko Mivšek wrote:
> Hi,
> 
> Would anyone be willing to help me making that port? I
think GST would 
> profit a lot with Swazoo, because it will enable
porting Aida and 
> Seaside too.
> 
> I heard that GST already has a web server but I think
Swazoo have 
> benefits here because it is portable and web frameworks
above are then 
> easily portable and maintained.

Yes, why not.  In the meanwhile, I would like to contribute
the 
NetServer package back to Swazoo if it helps (see 
http://sblinn.jottit.com/gnu_smalltalk_netcli
ents-based_echo_server for 
an example).

Paolo



_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

Re: Re: Porting Swazoo to GST
country flaguser name
Slovenia
2008-01-12 06:21:29
Hi Paolo,

Paolo Bonzini wrote:

>> Would anyone be willing to help me making that
port? I think GST would 
>> profit a lot with Swazoo, because it will enable
porting Aida and 
>> Seaside too.
>>
>> I heard that GST already has a web server but I
think Swazoo have 
>> benefits here because it is portable and web
frameworks above are then 
>> easily portable and maintained.
> 
> Yes, why not.  In the meanwhile, I would like to
contribute the 
> NetServer package back to Swazoo if it helps (see 
> http://sblinn.jottit.com/gnu_smalltalk_netcli
ents-based_echo_server for 
> an example).

Definitively worth looking at it, because it shows a way to
do a HTTP in 
GST. And I'm always looking for even better ways to increase
Swazoo 
performance as it is now.

By the way, what is a Sport portability library status on
GST currently?

Best regards
Janko


-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

Re: Re: Porting Swazoo to GST
country flaguser name
Italy
2008-01-12 07:58:17
> By the way, what is a Sport portability library status
on GST currently?

It's there. 

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

Re: Re: Porting Swazoo to GST
country flaguser name
Slovenia
2008-01-13 06:58:56
Paolo Bonzini wrote:
> 
>> By the way, what is a Sport portability library
status on GST currently?
> 
> It's there. 

Super! Then in theory you should just file-in Swazoo to
GST!
Swazoo code is supposed to be dialect neutral, and its SUnit
tests have 
a good
coverage of most functionality. When those tests pass,
Swazoo port is 
almost finished.

So, will someone try this exercise? 

Swazoo for Squeak and VW is here: http://www.swazoo
.org/download.html

Best regards
Janko

-- 
Janko Mivšek
Svetovalec za informatiko
Eranova d.o.o.
Ljubljana, Slovenija
www.eranova.si
tel:  01 514 22 55
faks: 01 514 22 56
gsm: 031 674 565


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

Re: Porting Swazoo to GST
country flaguser name
Italy
2008-01-13 07:12:16
Janko Mivšek wrote:
> Paolo Bonzini wrote:
>>
>>> By the way, what is a Sport portability library
status on GST currently?
>>
>> It's there. 
> 
> Super! Then in theory you should just file-in Swazoo to
GST!
> Swazoo code is supposed to be dialect neutral, and its
SUnit tests have 
> a good
> coverage of most functionality. When those tests pass,
Swazoo port is 
> almost finished.
> 
> So, will someone try this exercise? 

Usually, what I do is extract the snapshot.st file from mcz
and run a 
script I call gst-squeak, like this:

   gst-squeak snapshot.st swazoo.st

Here is gst-squeak:

#! /bin/sh
gst-convert -f squeak 
   -r'MessageSend->DirectedMessage' 
   -r'(``object ifNil: ``arg ifNotNil: [ | `t2 | `.s2 ]
)->
      (``object ifNil: ``arg ifNotNil: [ :foo || `t2 |
`.s2
])' 
   -r'(``object ifNotNil: [ | `t2 | `.s2 ]
ifNil: ``arg )->
      (``object ifNotNil: [ :foo || `t2 | `.s2 ]
ifNil: ``arg)' 
   -r'(``object ifNotNil: [ | `t2 | `.s2 ]
)->
      (``object ifNotNil: [ :foo || `t2 | `.s2 ])'

   -r'(``object ifNil: ``arg1 ifNotNilDo: ``arg2 )->
      (``object ifNil: ``arg1 ifNotNil: ``arg2)' 
   -r'(``object ifNotNilDo: ``arg2 ifNil: ``arg1
)->
      (``object ifNotNil: ``arg2 ifNil: ``arg1)' 
   -r'(``object ifNotNilDo: ``arg2 )->
      (``object ifNotNil: ``arg2)' 
   -r'(``object doIfNotNil: ``arg2 )->
      (``object ifNotNil: ``arg2)' 
  "$"

If anyone finds more rewrites to be necessary, please report
them here.

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )