This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Kawa REPL past evaluation results
- From: Charles Turner <chturne at gmail dot com>
- To: Alcides Flores Pineda <alcides dot fp at gmail dot com>
- Cc: kawa at sourceware dot org
- Date: Fri, 27 Apr 2012 22:43:13 +0100
- Subject: Re: Kawa REPL past evaluation results
- References: <87bomd521t.fsf@precision-m65.extend>
Hi Alcides!
On 27 April 2012 03:41, Alcides Flores Pineda <alcides.fp@gmail.com> wrote:
> I started using Kawa a few days ago, and after doing some work in the
> REPL, I'd like to know if we have any shortcut/symbol/variable to get
> the last evaluation results, ala *,**,*** in Common Lisp or like the
> $1,$2,$3 binding in Guile (with the history module) or the ^,^^,^^^ in
> Racket (with XREPL), or #1,#2,#3 in Chicken.
To my knowledge, no such mechanism exists yet. I don't think it would
be difficult to implement in repl.java (or similar). I have a partial
solution in that I use the 'rlwrap' utility when working at the REPL,
this doesn't handle multiline forms, but it's better than nothing.
This sort of feature (a history mechanism) is one of many interface
improvements I'd like to make to Kawa, but I haven't managed to make
time for them yet.
Cordially,
Charlie.