Oscar Waddell
Oscar Waddell
The first commit on [this branch](https://github.com/owaddell/ChezScheme/commits/owaddell/library-boot-poc) is a quick stab at this. I restricted it to the non-procedure case of non-base boot files to limit overhead in the common case.
The [`load`](https://github.com/cisco/ChezScheme/blob/master/c/scheme.c#L887) and [`handle_visit_revisit`](https://github.com/cisco/ChezScheme/blob/master/c/scheme.c#L820) code in scheme.c silently ignore unexpected values, but my change has us now going through [`run-inner`](https://github.com/cisco/ChezScheme/blob/master/s/7.ss#L211), which is not so forgiving. Should `$make-load-binary` take a `for-boot?`...
This is by design. Please see [this example](https://cisco.github.io/ChezScheme/csug9.5/use.html#./use:s14) in the Chez Scheme User's Guide, which shows how to fix your library.
@akeep, does this look like a reasonable way to address the issue outlined above? The [build failure on ta6osx](https://travis-ci.org/cisco/ChezScheme/jobs/420629174) is puzzling. We could not reproduce this on a MacBook Pro...
Having an alternative GIFs for math would be nice. I haven't looked at the changes yet, but noticed a difference in `\schemedisplay` layout in the generated stex.html that seems to...
Here's a different approach. I think this is more self-contained. What do you think @akeep ?
Thanks for the review, Andy. I agree about the `case-lambda`, btw.
I see the slowdown on arm64osx and a6le. It looks like the issue is that the cp0 inline handler for `fxdiv-and-mod` does not (yet) anticipate how np-expand-primitives will handle `fxdiv`...
Like Bob, I'm having some trouble understanding the problem this PR aims to address. It appears the aim is to avoid having to request a `lookup` procedure and pass it...