Hacker News new | past | comments | ask | show | jobs | submit login

I like antirez's "Linenoise" library. I converted it to Unicode, and gave it a multi-line editing mode with undo, visual copy and paste, edit in external editor, parenthesis matching, incomplete syntax continuation, and more. It's all in the TXR Lisp REPL.



Cool! You should reply here with a link to your fork.


http://www.kylheku.com/cgit/txr/tree/linenoise

I've tried to keep it decoupled from TXR internals, and to abstract it from the OS a bit, so there is a considerable "struct lino_os" interface now.

There is a dependency on a "config.h" which provides some HAVE_* constants.

There is a user guide to the REPL in the TXR Lisp manual; that provides context for some of new interfaces, like what is the lino_set_atom_cb function for.

http://nongnu.org/txr/txr-manpage.html#N-025AAA27


Wow a lot of interesting work. Thanks for sharing, I think I should compile a list of the forks at the end of the README.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: