Hey Arne,

On Thu, Jan 23, 2025 at 11:35 AM Dr. Arne Babenhauserheide
<arne_...@web.de> wrote:
>
> I’ve seen expander notes in there. Does that mean that Hoot now supports
> syntax-case?

Are you referring to support on the host or the target? Hoot has
supported syntax-case on the host since 0.1 and we use it a lot in the
implementation of various (hoot ...) modules, (hoot records) or (hoot
ffi) are some examples. We got this for free, more or less, because
when Hoot is expanding the input program on the host it's just using
Guile's expander.  The addition of an expander in Hoot (which is a
lightly modified port of Guile's psyntax) means that we can now
compile an expander for the target (which is wasm, of course) and use
it at runtime. This is the first release where such a thing is
possible. It didn't happen in time for this release, but we're
building towards a fully featured interpreter where you can define and
use syntax-rules and syntax-case macros.

Hope that helps clarify things!

- Dave

Reply via email to