From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20944 invoked from network); 29 Jan 1998 09:04:36 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 29 Jan 1998 09:04:36 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id DAA18059; Thu, 29 Jan 1998 03:46:58 -0500 (EST) Resent-Date: Thu, 29 Jan 1998 03:46:58 -0500 (EST) Date: Thu, 29 Jan 1998 11:49:03 +0300 (MSK) From: Andrej Borsenkow X-Sender: bor@itsrm1 Reply-To: borsenkow.msk@sni.de To: Eskandar Ensafi cc: zsh-workers@math.gatech.edu Subject: Re: Two Flavors of ZSH ? In-Reply-To: <9801281609.AA10430@marathon.cs.ucla.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"cMt_L1.0.6Q4.284qq"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3745 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Wed, 28 Jan 1998, Eskandar Ensafi wrote: > > P.S. Is dynamic loading available in the current ZSH, and if so, > is it stable on supported platforms? A few years ago, I was > going to add a module called Objective-Z to add Objective-C > support to ZSH. I gave up on it because it required custom > patches to ZSH and worked only on systems with GNU C (in fact, > my prototype only ran under NEXTSTEP, which is now OPENSTEP). > Perhaps integrated dynamic loading supprt will make my task > simpler and more portable (the idea was to dynamically load > Objective-C classes to extend the shell's functionality). > I am working with dynaload since it first appeared (zsh-3.1.0) and haven't got any noticable problems (apart from initial build quirks - but they should be sorted now). As for your question ... A dynamically loaded module can currently provide new builtin and zle widget. It cannot e.g. add new option, new completion rule or like. And it definitely cannot change/extend syntax and/or grammar. So, if you Objetive-Z fits in additional builtin paradigm - yes, it is doable now. But if you planned to extend grammmar to add Objective C - I am afraid, not. ------------------------------------------------------------------------- Andrej Borsenkow Fax: +7 (095) 252 01 05 SNI ITS Moscow Tel: +7 (095) 252 13 88 NERV: borsenkow.msk E-Mail: borsenkow.msk@sni.de -------------------------------------------------------------------------