3 ms·
doesn't this turn Mathematica into a scripting language for Haskell?
by mrcactu5 10y ago
doesn't this turn Mathematica into a scripting language for Haskell?
- gizmo686 10y agoNot any more than CPython is a scripting language for C. The Mathematica program is entirely interpenetrated. It does not have access to the underlying Haskell system.
- yunruse 10y agoThat's a bit of a shame, in some way. In the same way Hy [0] wraps Lisp's notation style around Python, it would be quite powerful if there was a way to 'wrap' Mathematica around Haskell; being able to combine the two would be interesting (and probably quite powerful). [0] http://docs.hylang.org http://docs.hylang.org
- dekhn 10y agoyou can use the Mathematica Kernel C API to make any language interface with mathematica (I did this with Python a long time ago). This typically involves the scripting langauge (or compiled language) invoking Mathematica functions, I;'m not 100% if Mathematica can then call back into Haskell or other language functions via a callback.