<div dir="auto">(Just to clarify i am happy to help and answer specific questions (on github) but here it seems i was added to a seemingly random thread for no particular reason :) but let me know if I missed something! Good luck!)</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon 8 Jul 2024 at 20:06, Omar Cornut <<a href="mailto:omar@miracleworld.net">omar@miracleworld.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div><div><div dir="auto">Hello,</div><div dir="auto"><br></div><div dir="auto">Language bindings for dear imgui may be added at <div><a href="https://github.com/ocornut/imgui/wiki/Bindings#language-bindings" target="_blank">https://github.com/ocornut/imgui/wiki/Bindings#language-bindings</a></div><div dir="auto"><br></div><div dir="auto">May I recommend you may be able to use Dear Bindings for bindings generation:</div><div dir="auto"><div><a href="https://github.com/ocornut/imgui/wiki/Bindings#binding-generators" target="_blank">https://github.com/ocornut/imgui/wiki/Bindings#binding-generators</a></div><br></div><div dir="auto">Cheers,</div><div dir="auto"><br></div><div dir="auto">(Otherwise, please kindly remove me and the dearimgui address from this thread. 🙏 i am not really comfortable with this address being included in a mailing list post as it seems like a likely vector for bots to index the address. Thank you.)</div></div><div dir="auto"><br></div><div dir="auto"><br></div></div></div><div><div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon 8 Jul 2024 at 19:48, <<a href="mailto:chohag@jtan.com" target="_blank">chohag@jtan.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Norman Gray writes:<br>
> <br>
> Matthew, hello.<br>
><br>
> On 7 Jul 2024, at 20:32, <a href="mailto:chohag@jtan.com" target="_blank">chohag@jtan.com</a> wrote:<br>
><br>
> > On the other hand in both cases what's left is mostly writing the<br>
> > S7 interface functions which for the most part should require only<br>
> > naming the constant or function. Anyone like writing long lists of<br>
> > repetetive code?<br>
><br>
> Writing no; generating... sometimes.<br>
<br>
Indeed consider that tongue in cheek. I expect (hope!) by the end<br>
there'll be a higher ratio of generated:written code. At this early<br>
stage I'm more concerned with feeling out how the API will be<br>
exported and a little bit of repetition isn't a huge problem yet.<br>
<br>
There's also still a few features of S7 I'm not taking advantage<br>
of yet like function signatures and I wouldn't like to have to<br>
inject them into tangled up macros.<br>
<br>
> Faced with a similar problem, I've used s7 to generate C before. Specifically, I can point towards <a href="http://util-extra.c.in" rel="noreferrer" target="_blank">util-extra.c.in</a> at [1], which includes #(...) forms within the source, which expand to C, using a very simple function in scheme-macro-filter.scm there.<br>
<br>
Thanks I'll take a look. I tend to lean toward CPP macros through<br>
familiarity but that may change as I build up a body of code, provided<br>
I can keep magic out of the build process.<br>
<br>
> I take the opportunity to mention this, partly to join in very late on a snd/s7 list thread of a month or so ago, expressing communal enthusiasm for s7 (thread 's7 got some love in the Lisp game jam'). The program I'm pointing to does a lot of its<br>
> work in s7, although (in the terms of the blogpost which started that thread) I can't tell if it uses the 'icing' or 'cake' model: C calls s7 main calls C calls s7. The point of this paragraph is to log that I've become more and more of an s7 fan,<br>
> in the sense that it seems to have exactly the right tone to match the extension problem very well. So thanks, Bill.<br>
<br>
This is essentially why I've settled on S7. There's no "FFI" as<br>
such, instead I can flit back and forth between S7 and C seamlessly<br>
as needed. I guess that makes S7 the ... fork?<br>
<br>
Matthew<br>
<br>
</blockquote></div></div>
</div></div>
</blockquote></div></div>