On Fri, May 19, 2017 at 11:25 PM, John Cowan <xxxxxx@ccil.org> wrote:

On Fri, May 19, 2017 at 10:17 AM, Alex Shinn <xxxxxx@gmail.com> wrote:

Basically done the chibi impl, there are 6 test failures which appear to be in my own code.

Great!  What parts did you implement in C?  I hope at least fxcore and rubber-chicken, or did you reimplement from scratch?

I reimplemented from scratch, using (srfi 142) (pending migration to 151),
and `fixnum?' from core chibi.  Arithmetic is just (define fx+ +), which is
a builtin opcode (I think a wrapped primitive would be slower, and don't
want to add new opcodes).

Note the test suite refers to `fx=?' etc. instead of `fx='

fx=? etc. is correct (this SRFI is basically R6RS, which uses that convention).

OK, but draft #5 on the site refers to fx=.

The implementation of at least fxlogical-shift-right appears to be missing.

I blew off logical shifts, as I can't see a compelling need for them.  If you do have one, let me know.

Not off the top of my head.

-- 
Alex