Before someone points out, I've looked at the answer here: Best way to call Haskell functions from within Java and I'm totally lost reading those answers.
I have a set of Haskell functions in a file called "output.hs". Normally to execute those functions, I would use an interpreter like Hugs and enter my commands from their prompt.
What I want to do is emulate that process from a Java application. I have a Java swing textfield where the user would type in a command in Haskell, and what I want to do is have that command interpreted and have the output displayed in some nearby text area. Essentially, I'm making a front for a Haskell interpreter.
Does anyone have direct experience with this?