[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SRFI-64 implementation for Guile 2.0
From: |
Sunjoong Lee |
Subject: |
Re: SRFI-64 implementation for Guile 2.0 |
Date: |
Mon, 16 Apr 2012 05:35:10 +0900 |
Now, srfi-64.scm works on Guile 1.8 and 2.0.
There are two different thins;
1) Guile 1.8 does not support nested block comments.
So, it does not pass srfi-64-test.scm test suite.
But, comments are comments - not problem.
2) srfi-64.scm on Guile 2.0 can catch and report the source form
like this;
source-file: "srfi-64-test.scm"
source-line: 129
source-form: (test-equal "1.1.1. Very simple" (quote (("a") ("b") () () () (1 1 0 0 0))) (t))
srfi-64.scm on Guile 1.8 does not support it yet
because I'm a newbie of scheme and don't understand Guile yet.
I hope someone fix these problems;
a) On Guile 2.0, I used (datum->syntax form (syntax->datum form))
b) On Guile 2.0, I used (assq-ref (syntax-source form) 'filename)
2012/4/14 Sunjoong Lee
<address@hidden>
2012/4/14 Per Bothner
<address@hidden>
This is nice. It would be great if the Guile port would be merged
into the reference implementation, presumably using cond-expand.
That way bug-fixes or changes in one could be more easily be
merged into the other.
Now, srfi-64.scm works on Chicken 4.7.
Per Bothner adviced me it's better to merge it into the reference implementation.
I was not convinced to check right merge.
So, I ported it for Chicken 4.7 and Guile 1.8 - it works now.
Right merge? I'm not sure yet but hope so.
srfi-64.scm.gz
Description: GNU Zip compressed data
- SRFI-64 implementation for Guile 2.0, Sunjoong Lee, 2012/04/13
- Re: SRFI-64 implementation for Guile 2.0, Sunjoong Lee, 2012/04/13
- Re: SRFI-64 implementation for Guile 2.0, Per Bothner, 2012/04/14
- Re: SRFI-64 implementation for Guile 2.0, Sunjoong Lee, 2012/04/14
- Re: SRFI-64 implementation for Guile 2.0,
Sunjoong Lee <=
- Re: SRFI-64 implementation for Guile 2.0, Noah Lavine, 2012/04/19
- Re: SRFI-64 implementation for Guile 2.0, Per Bothner, 2012/04/20
- Re: SRFI-64 implementation for Guile 2.0, Sunjoong Lee, 2012/04/20
- Re: SRFI-64 implementation for Guile 2.0, Per Bothner, 2012/04/20
- Re: SRFI-64 implementation for Guile 2.0, Sunjoong Lee, 2012/04/20
- Re: SRFI-64 implementation for Guile 2.0, Ludovic Courtès, 2012/04/20
- Re: SRFI-64 implementation for Guile 2.0, Sunjoong Lee, 2012/04/20
- Re: SRFI-64 implementation for Guile 2.0, Ludovic Courtès, 2012/04/21
- Re: SRFI-64 implementation for Guile 2.0, Sunjoong Lee, 2012/04/23