Thanks, Jameson, for your reply.
1) Unfortunately, the code you posted earlier does not work for my problem
(as I described in the first post here), and I could not fix it. This is
why I asked for help.
2) Implementing a full REPL (working on multi-line input; gracefully
handling error messages in the middle, and evaluate the rest; allow
print(); work with nested strings...) is a lot of work. This is why I
wanted to use Julia's REPL. I did try a pipe, like the code in the R
interface to Julia, but I could not get the messages about syntax errors.
My problem is still open.
On Friday, June 27, 2014 3:09:36 PM UTC-6, Jameson wrote:
>
> just briefly, the problem is you are attempting to do two different things:
> 1) capture stdio data. I posted code for this in response to one of your
> earlier requests
>
> 2) implement a REPL (read-eval-print-loop). you have implemented the
> read-eval parts. the basic repl uses Base.showerror to display errors and
> display("text/plain", ans) to print the last result returned from each eval
>
> alternatively, you could create a pipe to julia, and reuse the basic repl,
> but it really depends on your desired result
>
>
> On Fri, Jun 27, 2014 at 2:46 PM, Laszlo Hars <[email protected]
> <javascript:>> wrote:
>
>> ...anyone? I'd appreciate ideas, even if they are untested.
>>
>
>