Hi Davide, > Anyway, Alex what about this editline (not to be confused with the BSD > one)? It may be enough for pil21 implementation: > https://github.com/troglobit/editline#introduction
I believe it cannot do what I need. I decided to abandon the @lib/led.l used in pil32 / pil64 and instead use a "standard" everyone is used to. This means for me to have a vi-mode (very important) but for most people it stays with the default emas-mode (depending on inputrc). So the lib must use ~/inputrc. Then, to fully inter-operate with the PicoLisp REPL, the line editor API must provide hooks for 1. TAB completion (this seems to exist in editline, not sure how configurable) 2. history (also in editline, not sure how configurable) 3. multiplexed input (select / poll system call) to handle pil's background tasks 4. supporting PicoLisp's different delimiters (non-symbol characters) and quoting characters 5. controlling the line being edited in such a way that background tasks can interact (hide, redraw, show) with it 6. handling OS signals (for all signals supported by PicoLisp) Perhaps more ... ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe