Re: Figuring out enums and structs with foreigners

Kon Lovett via Chicken-users <[email protected]>
Newsgroups gmane.lisp.scheme.chicken
Message-ID <[email protected]>
not to beat the dead horse but your `print-type-info’ requires type-info to outlive compilation, `ftype’ will not.

> On Mar 24, 2025, at 12:12 AM, Diogo <[email protected]> wrote:
> 
> Hi Kon,
> 
> On Sun, Mar 23, 2025 at 11:14:26AM -0700, Kon Lovett wrote:
>> afaik, you cannot; compiler db not persistent, or documented (much). (See chicken.compiler.support#register-foreign-type! from the the CHICKEN source)
>> 
>> but taking inspiration from coops-primitive-objects (coops egg):
> 
> Thank you for the elaborated alternative! I'll try first accessing
> the chicken.compiler.* interface and then try to understand how to
> put things together.
> 
> Regards,
> -Diogo
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.