Re: Define works different when Compile and Eval

2024-06-22 Thread Attila Lendvai
> > if you want this^ to be actually defined while compilation is > > happening (i.e. in the compilation stage; see staged computing), then > > you need to use an (eval-when (expand) ...) wrapper around it. > > > Thank you for the reply! Not sure what you mean. The following code > defines `a`:

RE: Define works different when Compile and Eval

2024-06-22 Thread Maxime Devos
> > > if you want this^ to be actually defined while compilation is > > > happening (i.e. in the compilation stage; see staged computing), then > > > you need to use an (eval-when (expand) ...) wrapper around it. > > > > Thank you for the reply! Not sure what you mean. The following code > > defi

wip: cdata module for dealing with C types in bytevectors

2024-06-22 Thread Matt Wette
Hi All, I have been working on a module, an alternative to Scheme Bytestructures, say, that can be used for cross-platform development.  It's still in progress but I am pretty far along. I thought I'd share some aspects of the design.  I am currently working on ctype-equal? and adding test cod