News for hackers. Stuff that matters.
Re:APL compiler targeting a typed array intermediate language by jxy on Friday June 24, 2016 @11:38PM (#11975091)
For q/k in particular, you can just write a wrapper in q/k. Nothing stops you from doing

    while[1;0N!. 0:0]
you can save the history in a table and do whatever you want.
Re:APL compiler targeting a typed array intermediate language by uudecode on Saturday June 25, 2016 @04:16PM (#11977804)
"Nothing stops you..."

Except my lack of creativity using k at this point.

Thanks for this.

As a k noob, I wonder: is thinking of solutions using iteration and control structures a bad habit, at least until I have command of the rest of the language?

Currently I'm using recordio to save my sessions; crude, but it works well enough:

  recordio q 2>log
Re:APL compiler targeting a typed array intermediate language by uudecode on Sunday June 26, 2016 @03:13PM (#11982168)
Here's another solution, a little better than rlwrap:

  socat readline,history=file exec:q