Jugendhackt / haskell-ricochet

(WIP/Experimental) Ricochet implementation as Haskell Library.
GNU General Public License v3.0
22 stars 0 forks source link

Create C-bindings #22

Open froozen opened 9 years ago

froozen commented 9 years ago

When we started out, we decided we wanted to have working C-bindings as well. We should put them in another repository, once we get to it. This issue serves only as a reminder of that fact.

sternenseemann commented 9 years ago

Which library should be used for that task?

photm5 commented 9 years ago

Are there even multiple libraries to choose from? I thought we’d need to use the GHC language extension ForeignFunctionInterface.

sternenseemann commented 9 years ago

The FFI is for the call from Haskell to C I think.

photm5 commented 9 years ago

https://wiki.haskell.org/Calling_Haskell_from_C

sternenseemann commented 9 years ago

Very nice!