Writing ppxs with Esy and releasing the binaries


#1

Are there any articles about this out there?
I was planning in migrate https://github.com/Astrocoders/lenses-ppx to Esy, the best reference I could find is https://github.com/minima-app/bs-log that recently migrated from bs-react-native to Esy (https://github.com/Astrocoders/lenses-ppx/issues/9#issuecomment-500242458)


#2

I’m trying to learn about this myself.

This seems to be a good starting point for writing a PPX with esy:

And ppx-decco has an example travis file (Travis is a CI service that has a free tier for OSS projects) for pre-building binaries:

But decco only pre-builds for Mac & Linux. If you also want to include support for Windows, @jaredly might have tips for you. It seems that you might be able to use Azure pipelines to pre-build windows executables.