Re: How to get a useful repl with Chicken 5?

2020-01-30 Thread Vasilij Schneidermann
Hello Matt, > I've read the docs on linenoise and breadline but I'm not seeing how to get > a useful editable repl. > > Any pointers or suggestions would be appreciated. I've developed breadline. Its wiki page has an examples section which shows how to create a custom REPL for programs and poin

Call for Papers: PACMPL issue ICFP 2020

2020-01-30 Thread Sam Tobin-Hochstadt
PACMPL Volume 4, Issue ICFP 2020 Call for Papers accepted papers to be invited for presentation at The 25th ACM SIGPLAN International Conference on Functional Programming Jersey City, USA h

Re: How to get a useful repl with Chicken 5?

2020-01-30 Thread Matt Welland
Hi Daniel, that is a good suggestion. rlwrap it is for today. Still, it would be nice to have something that I can build into my apps as I did for Chicken 4. Thanks. On Thu, Jan 30, 2020 at 11:29 AM Daniel Ortmann wrote: > How about: rlwrap csi > > It has been good to me, saving the history into

Re: How to get a useful repl with Chicken 5?

2020-01-30 Thread Daniel Ortmann
How about: rlwrap csi It has been good to me, saving the history into ~/.csi_history On 1/30/20 12:01 PM, Matt Welland wrote: Line editing and saving history make using a repl much more productive for me. With chicken 4 I was able to get a useful repl with something like this sequence of calls

How to get a useful repl with Chicken 5?

2020-01-30 Thread Matt Welland
Line editing and saving history make using a repl much more productive for me. With chicken 4 I was able to get a useful repl with something like this sequence of calls: (import extras) ;; might not be needed? (import readline) (import apropos) ;; my imports here ... (install-history-file (get-env