https://www.boundaryml.com logo
@hellovai hey I've created a CFFI based
# contributing
a
@Vaibhav (BAML 🐑) hey I've created a CFFI based .NET integratation to BAML and integrated with baml itself, my approach is as .NET native as possible, so generate is generating csharp-metadata which can be consumed in the baml client project by a source generator to create the actual code. would be ok integrating this approach? this can enable a lot more flexibility on the .net side to customize the generated code if someone wants without replying on change in BAML itself. hmu and we could find some time to chat.
v
That sounds great! Do you want to find a time to chat tmrw?
a
I'm available will have a break for some halloween walk with my kid but generally here until 9PM PST (or more)
v
I'm arond on office hours if you happen to hop on! @attilah
a
yup, give me 2 mins
a
this is the diff in turbo.json I had to apply to make it build on my machine, 2 env vars needed to passed through, I commit to my fork as don't want to remember it 😄 https://cdn.discordapp.com/attachments/1433679306592227361/1433969811465044152/image.png?ex=69069ff4&is=69054e74&hm=42c1a27598dbf1ad78097f94a0b758fb8c105ac1175b3b2ba1543fae1f316f71&
OH and +1 .NET interop possibility is Blazor support (.NET's "react" (just better (pun intended)) which would enable the usage of the existing WASM module from .NET inside the browser.
a
yep headsup if you use turbo to build things you probably will always need to use
--force
since turbo caching tries to cache all rust stuff always
a
I just followed the guides 🙂
@Vaibhav (BAML 🐑) I'll reorg the .net repo and review the code sometime soon
I pushed a large structural cleanup to bamldotnet
2 Views