Re: [scheme-requests-for-implementation/srfi-208] Add sample C implementation and FFI (#1) Marc Nieper-Wißkirchen (30 Oct 2020 20:12 UTC)

Re: [scheme-requests-for-implementation/srfi-208] Add sample C implementation and FFI (#1) Marc Nieper-Wißkirchen 30 Oct 2020 20:11 UTC

For which machine ABIs does the C implementation work?

Am Fr., 30. Okt. 2020 um 20:57 Uhr schrieb Arthur A. Gleckler
<xxxxxx@speechcode.com>:
>
> Merged and pushed.  Thanks.
>
> On Fri, Oct 30, 2020 at 12:49 PM Wolfgang Corcoran-Mathe <xxxxxx@github.com> wrote:
>>
>> These commits remove the old Scheme implementation and provide a sample implementation in mostly-portable C99 C, along with an example stub file for chibi-scheme's FFI system. Thanks.
>>
>> ________________________________
>>
>> You can view, comment on, or merge this pull request online at:
>>
>>   https://github.com/scheme-requests-for-implementation/srfi-208/pull/1
>>
>> Commit Summary
>>
>> Rename nan= -> nan=?.
>> Stricter type checks.
>> Remove the portable Scheme implementation.
>> C sample implementation: Initial import.
>> Add license header and delete debug driver.
>> Delete out-of-date implementation README.
>> Make union declaration internal to bitsof().
>> Const qualifier for masks.
>> Add nan_equal()/nan=?.
>> Revert "Make union declaration internal to bitsof()."
>> Add make_nan()/make-nan.
>> Add chibi-scheme FFI stub.
>> Rename union type.
>> Add single-float implementation.
>> Change return type of nan_payload.
>>
>> File Changes
>>
>> D README.md (5)
>> A nan-chibi.stub (17)
>> A nan.c (192)
>> A nan.h (11)
>> D nan.scm (47)
>> D nan.sld (21)
>> D r6rs/bytevectors-impl.scm (1058)
>> D r6rs/bytevectors.sld (56)