From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7540 invoked from network); 20 Jan 1999 18:21:44 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 20 Jan 1999 18:21:44 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id NAA05360; Wed, 20 Jan 1999 13:18:47 -0500 (EST) Resent-Date: Wed, 20 Jan 1999 13:18:47 -0500 (EST) From: "Bart Schaefer" Message-Id: <990120101743.ZM17311@candle.brasslantern.com> Date: Wed, 20 Jan 1999 10:17:43 -0800 In-Reply-To: <199901200934.LAA02659@ganelon.Orbotech.Co.IL> Comments: In reply to Dov Grobgeld "zsh command line editing library?" (Jan 20, 11:34am) References: <199901200934.LAA02659@ganelon.Orbotech.Co.IL> X-Mailer: Z-Mail (4.0b.820 20aug96) To: Dov Grobgeld , zsh-workers@math.gatech.edu Subject: Re: zsh command line editing library? Cc: Greg Ward MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"vNhT71.0.eJ1.6uXfs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4932 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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