https://www.boundaryml.com logo
Elixer example
# general
u
Hi! I started using BAML for Elixir and decided to open a PR with an small p.o.c for the examples repo. https://github.com/BoundaryML/baml-examples/pull/61 I'd like to know if you accept contributions like these to add more examples using Phoenix instead of plain Elixir. Ty
g
First, thanks for the contribution! I'm thinking about whether this work would be better in the official baml-examples, or in the [baml_elixer repo](https://github.com/emilsoman/baml_elixir). Since baml_elixer is a community project, it can follow a different release cycle than we do, and we might have a tough time keeping your example up to date. On the other hand, we don't currently do a great job of keeping the examples up to date, already! I see that you had a flake.nix in the PR at some point - that might actually help lock down the baml_elixer version, and also give us an easier way to maintain the dependencies needed to build your whole example. None of us at Boundary are regular Elixer users and we'd not know the current best ways of setting up the compiler, how to maintain the deependencies, etc. @emil , the creator of baml_elixer, is often active here, I wonder if he has thoughts.
u
Sounds like a good idea sinde curretly baml version in baml_elixir is ser via a constant variable and it requires a release to BE changed. Maybe we could start a baml_elixir examples repo and it could bé referenced via gitsubmodules
v
that can work as well!
u
@Vaibhav (BAML 🐑) @greg (BAML) aren't there any plans on giving official support to Elixir/Gleam?
v
sadly as of now, not yet, but once we wrap up some of hte work we're doing in ⁨`baml_language`⁩ folder, adding new languages should be much easier! and then we should be able to more easily support Elixir / Gleam!
(or really any language, we're working on a more stable ABI)