Providing Haskell Libraries wrapped for other Languages

Hi, I am currently writing a small library. I will provide a small web-api for it, however I have some colleagues who neither have experience in haskell, nor in web-dev. Also they maybe want to produce programs using my library without internet / docker / etc. So in addition I'd like to provide the library "wrapped" for other languages, especially python, but maybe java as well. These wrappers should do nothing except invoking their pardons on the library, and should somewhat contain the library. What is the common way to do this? I've seen "hyphen" as a super heavyweight solution, and I've seen people starting the haskell library listening on system-pipes. I don't feel that these are the "best" solutions, atleast for my intention. best regards Leonhard

Hi Leonhard,
I don't have any experience with calling Haskell from other languages
but I am aware of this project:
https://github.com/nh2/call-haskell-from-anything
I hope it's useful to you.
Cheers,
Simon
Am Do., 28. Nov. 2019 um 15:15 Uhr schrieb Leonhard Applis
Hi,
I am currently writing a small library. I will provide a small web-api for it, however I have some colleagues who neither have experience in haskell, nor in web-dev. Also they maybe want to produce programs using my library without internet / docker / etc.
So in addition I'd like to provide the library "wrapped" for other languages, especially python, but maybe java as well. These wrappers should do nothing except invoking their pardons on the library, and should somewhat contain the library.
What is the common way to do this?
I've seen "hyphen" as a super heavyweight solution, and I've seen people starting the haskell library listening on system-pipes. I don't feel that these are the "best" solutions, atleast for my intention.
best regards Leonhard _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
participants (2)
-
Leonhard Applis
-
Simon Jakobi