Few notes made during implementation of #srfi64 for #guile turned into a blog post: https://wolfsden.cz/blog/post/state-of-srfi-64.html
Few notes made during implementation of #srfi64 for #guile turned into a blog post: https://wolfsden.cz/blog/post/state-of-srfi-64.html 9 comments
@graywolf Your implementation looks *much* nicer! Were you able to test it against existing test suites like that of Guix or maybe some smaller guile-* package? If there are no known regressions, I’d be in favor of integrating it (as LGPLv3+). @civodul Thanks :) I did not test it with other projects (I did not expect non-me people to use it), but if it is heading in the direction of possible inclusion into Guile proper, I will find the time to do that. I will try with Guix, since that is probably the biggest project using it. I hope I will be able to get to it over the weekend. Agree, as I said, I have no issues with re-licensing it. @graywolf Nice. Looks like these two Guix tests you mention should be fixed/adjusted, actually. That it reveals issues with tests rather than with the framework itself looks like a good sign! @graywolf In the past, when incorporating third-party code in Guile, such as SRFIs, we’d usually try to keep the upstream part unchanged and just add a thin layer around it, the idea being that it would make it easier to keep in sync with upstream. Clearly that hasn’t been of much use with SRFI-64. |
@graywolf FWIW I’ve always been dissatisfied with SRFI-64, the spec and (perhaps more importantly) the implementation (all those ‘cond-expand’ make it very messy, indeed).
I get by by using a subset of the interface; I don’t use groups, I don’t fiddle with the runner API unless I can’t avoid it, and I even avoid ‘test-error’ because it’s not correctly ported to Guile IIRC. It’s mostly okay.
But clearly, there’s room for a better test suite interface and implementation!