From: Per Bothner <per@bothner.com>
To: Peter Lane <peter@peterlane.info>, kawa@sourceware.org
Subject: Re: read in script vs compiled
Date: Fri, 10 Mar 2017 05:51:00 -0000 [thread overview]
Message-ID: <abc89503-6ee7-479f-90d9-b36d86371647@bothner.com> (raw)
In-Reply-To: <c59a804e-48ab-c676-a7aa-014d4dbda8ac@bothner.com>
On 03/09/2017 03:47 PM, Per Bothner wrote:
>> I am trying to get some user input from the terminal in a script, but I receive Null pointer errors with Kawa.
This should work now (in the master branch).
> What needs to happen is that the JLineInPort.parse methods needs to
> know if we're reading forms (expressions) or "data". That shouldn't
> be very hard, but it is probably a bit "fiddly" figuring out the
> right way to do it.
I think I found a fairly clean and simple way to distinguish reading
"data" from the terminal vs reading "code" as part of the REPL.
And you can use the JLine input editor for either.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
prev parent reply other threads:[~2017-03-10 5:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 23:19 Peter Lane
2017-03-09 23:48 ` Per Bothner
2017-03-10 5:51 ` Per Bothner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=abc89503-6ee7-479f-90d9-b36d86371647@bothner.com \
--to=per@bothner.com \
--cc=kawa@sourceware.org \
--cc=peter@peterlane.info \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).