Hi,

I now went ahead and created a repository for guile-doctest. It uses
(ice-9 doctests) in the hope that it can get merged into guile in the
not too distant future:

https://hg.sr.ht/~arnebab/guile-doctests/browse

Currently it still needs proper texinfo docs. Aside from that it’s
complete, as far as I can tell.

Best wishes,
Arne

"Dr. Arne Babenhauserheide" <arne_...@web.de> writes:

> Hi,
>
> did this question drown in other messages? Should this go
>
> - to guile-lib
> - to guile
> - elsewhere?
>
> My preference would be guile, because then it would be available for
> everyone learning Guile Scheme and I could more easily use it in
> tutorials
>
> Best wishes,
> Arne.
>
> "Dr. Arne Babenhauserheide" <arne_...@web.de> writes:
>
>> Hi,
>>
>> I’ve been using my doctests implementation for years now, and it works
>> beautifully for me, so I would like to contribute it — either to
>> guile-lib as (tests doctest) or to guile (maybe (ice-9 doctest)?).
>>
>> Working code is here:
>> https://hg.sr.ht/~arnebab/wisp/browse/examples/doctests.scm?rev=tip
>>
>>
>> Example usage:
>> ;; https://hg.sr.ht/~arnebab/wisp/browse/examples/doctests-test.scm?rev=tip
>> (define-module (examples doctests-test))
>>
>> (import (examples doctests))
>>
>> (define (foo)
>>     #((tests
>>       ('foo
>>         (test-equal "bar" (foo)))))
>>     "bar")
>>
>> (define %this-module (current-module))
>> (define (main args)
>>        " Testing doctests"
>>        #((tests ('mytest
>>               (test-assert #t)
>>               (test-assert #f))))
>>        (doctests-testmod %this-module))
>>
>>
>> How should I go forward to contribute it (and should I)?
>>
>>
>> Best wishes,
>> Arne

-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

Attachment: signature.asc
Description: PGP signature

Reply via email to