Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh command line editing library?



On Jan 20, 11:34am, Dov Grobgeld wrote:
} Subject: zsh command line editing library?
}
} What I wonder if someone has thought of building a gnu readline
} drop-in-replacement library but with the bells and whistles provided
} by the zsh command line editing?

This has been asked about before, if not discussed in any detail.  The
difficulty is that ZLE depends heavily not just on zsh utilities like
the heap memory manager but on the internals of the history mechanism
and command lexer/parser.  The latter is particularly critical to the
completion mechanism; programmable completion would be useless without
the contextual information supplied by the lexer/parser, and it would
require a significant effort to incorporate a programming interface to
allow other parsers to be used instead.

This is not to say that it's not possible, but I haven't heard anybody
announce that they're motivated to take it on.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author