mthom / shentong

A Haskell implementation of the Shen programming language.
Other
163 stars 9 forks source link

Calling Shen from Haskell? #5

Open georgewsinger opened 7 years ago

georgewsinger commented 7 years ago

Is there a way to use this library to call a Shen function from a Haskell project (say, using stack) via Haskell's FFI facilities?

mthom commented 7 years ago

Not currently, and nothing of the kind is planned. The backend is too big and unwieldy. If it were rewritten from the Shen sources, Shen->Haskell FFI would be much easier to do.