SRFIs on Mosh

Asked by higepon(Taro Minowa)

Hi.

Your SRFIs works on my R6RS implementation Mosh (on trunk version).
Mosh is now almost R6RS implemantation, some port functions are not implemented yet.

This sample works.
(import (rnrs)
        (srfi :0)
        (srfi :42))

(cond-expand
 (mosh
   (define name 'mosh))
 (else
  (define name 'other)))

(display name)
(newline)
(display (list-ec (: i 5) (* i i)))
(newline)

I have two questions.

(1) compat files
I have platform-features.mosh.sls and include/compat.mosh.sls for Mosh.
Would you add these files to your repository?
I attatched these files.

(2) Can I add your library to Mosh repository?
Although we have alreday ported some SRFIs to Mosh, I want to use your SRFIs.(Yours are better)
Can I add your library to Mosh repository?

Cheers.

==== include/compat.mosh.sls
(library (srfi private include compat)
  (export
    search-paths)
  (import
    (rnrs base)
    (only (mosh) library-path))

  (define (search-paths)
    (library-path))
)
==== include/compat.mosh.sls end

==== platform-features.mosh.sls
(library (srfi private platform-features)
  (export
    OS-features
    implementation-features)
  (import
    (rnrs)
    (only (mosh) host-os)
    (srfi private OS-id-features))

  (define (OS-features)
    (OS-id-features
     (host-os)
     '(("linux" linux posix)
       ("bsd" linux posix)
       ("darwin" darwin posix))))

  (define (implementation-features)
    '(mosh))
)
==== platform-features.mosh.sls end
---
Taro Minowa(Higepon)

http://www.monaos.org/
http://code.google.com/p/mosh-scheme/

Question information

Language:
English Edit question
Status:
Solved
For:
Scheme Libraries Edit question
Assignee:
No assignee Edit question
Solved by:
Derick Eddington
Solved:
Last query:
Last reply:
Revision history for this message
Best Derick Eddington (derick-eddington) said :
#1

Greetings.

Yes, you may include my SRFIs collection in Mosh. Feel free to modify it (e.g., add compatibility files for Mosh and delete the other implementations').

I don't have time to maintain compatibility files for implementations I don't use. I will subscribe you to my repository so you will be notified when I commit updates.

P.S. There are more compatibility files needed than the two you posted.

Revision history for this message
higepon(Taro Minowa) (higepon) said :
#2

>Yes, you may include my SRFIs collection in Mosh. Feel free to modify it

Thank you. I will.

>I don't have time to maintain compatibility files for implementations I don't use.
>I will subscribe you to my repository so you will be notified when I commit updates.

Thanks. Please subscribe me.

>P.S. There are more compatibility files needed than the two you posted.

I know. I am going to write them today.

Cheers.

Revision history for this message
higepon(Taro Minowa) (higepon) said :
#3

>Yes, you may include my SRFIs collection in Mosh. Feel free to modify it

Thank you. I will.

>I don't have time to maintain compatibility files for implementations I don't use.
>I will subscribe you to my repository so you will be notified when I commit updates.

Thanks. Please subscribe me.

>P.S. There are more compatibility files needed than the two you posted.

I know. I am going to write them today.

Cheers.

Revision history for this message
higepon(Taro Minowa) (higepon) said :
#4

Hi.

Finally all of you SRFIs works on Mosh trunk.

http://code.google.com/p/mosh-scheme/source/browse/#svn/trunk/lib/srfi

Thank you for your good libraries.