Summary

Compiled SLIB support

Metadata

Description

I'm working on strategies for integrating SLIB release 3b2 into Chicken as a small series of eggs each containing a number of compiled SLIB modules packaged as Chicken modules. As far as possible, existing Chicken code that provides SLIB features will be relied on.

Work to date comprises a SLIB module analyzer that packages a SLIB source module as a Chicken module and translates dependencies such as (require 'FEATURE), (require-if 'compiling 'FEATURE) to the equivalent Chicken require-extension, import and so on. When compiled, the modules work well with Chicken 4 and each other.

Much work still needs to be done particularly in integrating the various SLIB macro systems with compiled code.

Present thinking is that SLIB's catalog system will *not* be supported as, with proper treatment, it's made redundant by the egg system which is one of Chicken's greatest assets.

Changes and comments

[2009-10-23 22:50:19 UTC] felix wrote:

Replying to tonysidaway: > I'm working on strategies for integrating SLIB release 3b2 into Chicken as a small series of eggs each containing a number of compiled SLIB modules packaged as Chicken modules. As far as possible, existing Chicken code that provides SLIB features will be relied on.

A big task for sure. But SLIB contains a lot of good code.

> > Work to date comprises a SLIB module analyzer that packages a SLIB source module as a Chicken module and translates dependencies such as (require 'FEATURE), (require-if 'compiling 'FEATURE) to the equivalent Chicken require-extension, import and so on. When compiled, the modules work well with Chicken 4 and each other.

Clever, but in various failed attempts at integrating SLIB I came to the conclusion that it's a mess and not suited for batch-compiling Schemes. But scavenging what's useful is a good idea.

> > Much work still needs to be done particularly in integrating the various SLIB macro systems with compiled code.

I'll suggest to ignore those.

> > Present thinking is that SLIB's catalog system will *not* be supported as, with proper treatment, it's made redundant by the egg system which is one of Chicken's greatest assets.

I fully agree.

[2009-11-18 15:37:08 UTC] tonysidaway changed status from new to accepted

[2009-11-18 15:37:08 UTC] tonysidaway wrote:

I'm currently looking at portability issues in general.

[2010-05-03 14:49:37 UTC] felix wrote:

Are you still working on this? Otherwise we should close the ticket.

[2010-05-11 13:17:44 UTC] felix changed status from accepted to closed

[2010-05-11 13:17:44 UTC] felix set resolution to wontfix

[2010-05-11 13:17:44 UTC] felix wrote:

silence.