3 ms·
Tclsh is only supposed to be a demo for embedding the interpreter. It consists of only 150 SLOC. Anyone could add readline if they really needed it. https://gi
by kevin_thibedeau 7y ago
Tclsh is only supposed to be a demo for embedding the interpreter. It consists of only 150 SLOC. Anyone could add readline if they really needed it.
https://github.com/tcltk/tcl/blob/master/unix/tclAppInit.c https://github.com/tcltk/tcl/blob/master/unix/tclAppInit.c
- davidw 7y agoThis is like software marketing 101: You're going to have much happier users if you do that thing that "anyone could do" rather than ask that each person who might want to use readline read up on Tcl's C API and hack together something that links to readline.