There are some projects to try and provide a bridge between Haskell
and the JVM. Unfortunately none of the seem to have much development.
As it stands, there is GCJNI, which allows Haskell to invoke Java
code, seems like a Java version of hsc2hs, but the site is down, it
just 404s. There is also haskell-jvm-bridge, but that doesn't look
like it has any development for about 18 months, and there isn't much
about it. Then there is LambdaVM, which looks the most promising, as
it compiles GHC byte-code to JVM bytecode. However, it doesn't look it
has been updated in a few years.
You can try your luck with any of those, but currently, if you want a
decent FFI for Java, you're probably going to have to resurrect one of
those projects.
---
James Miller
On 11 October 2011 15:26, Claude Lee <calee2005 at gmail.com> wrote:
> Hi,
>> vote+1.
>> Theoretically, you can bridge Haskell and Java with FFI. It applys to small
> projects. Larger ones may need some build tools...
>> Claude
>> 2011/10/11 dokondr <dokondr at gmail.com>
>>>> Hi,
>> I need to call Stanford NLP Parser from Haskell (unfortunately Haskell
>> does not have a similar one):
>>http://nlp.stanford.edu/software/lex-parser.shtml>>>> What would be the most reliable framework for this?
>>>> Thanks!
>> Dmitri
>>>>>>>> _______________________________________________
>> Haskell-Cafe mailing list
>>Haskell-Cafe at haskell.org>>http://www.haskell.org/mailman/listinfo/haskell-cafe>>>>> _______________________________________________
> Haskell-Cafe mailing list
>Haskell-Cafe at haskell.org>http://www.haskell.org/mailman/listinfo/haskell-cafe>>