
10 Feb
2009
10 Feb
'09
3:21 a.m.
Am Montag, 9. Februar 2009 22:58 schrieb Robert Greayer:
I'm sure this isn't the solution you are looking for, but when I had to do something similar (integrate an Eclipse plugin to Haskell code) the simplest approach I found was to simply invoke the Haskell in a separate process, binding the stdin/stdout of the Haskell process to Java output/input streams. Perhaps low-tech, but has worked well for me.
For communication between Haskell software and Eclipse, there is also Cohatoe (http://eclipsefp.sourceforge.net/cohatoe/index.html). Interally, it works similar to what you described, as far as I know. Best wishes, Wolfgang