From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1270 invoked by alias); 24 May 2017 21:19:07 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 41148 Received: (qmail 4591 invoked from network); 24 May 2017 21:19:07 -0000 X-Qmail-Scanner-Diagnostics: from mail-ua0-f176.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.217.176):SA:0(-2.3/5.0):. Processed in 1.497135 secs); 24 May 2017 21:19:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_SORBS_SPAM,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.217.176 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject:cc :mime-version; bh=7Aj+s11YfsPtI6W0Md8iqyPeuYL13oSgKRk9kjFL3JQ=; b=g2JLozIFpEQSRjatDngLfO9IdaErK229/3SFvE2vyMaVcgYRxosVt6MYcaBZs/NK8W VmH4pWXK3GbXi9IJwde16RGavEIL2IOuuXpGRrkUsMBsupqaT0eafNPakF3Q6lAFLxUE gc73gNBqg7QzIHmbex+LbuyyfLQNq6lV6LVgsuv0t93OUSE+7md/Guc+9+rWS8DbiN0M wGHF4Y2OITLjT0O9nfG7dr+lFi/fOrZ95NHwwNfrmzyVq4j0+Iqwn3nqiY2O1s4jTE/f PhTJppLQHBztKHHfEtOIAzOOv+1Sv2IarqZ8NuVXTI7xxGOItdcFkC7iLiZradQ2OEZq rDEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:cc:mime-version; bh=7Aj+s11YfsPtI6W0Md8iqyPeuYL13oSgKRk9kjFL3JQ=; b=FeCLQBv8ZuNqEcaTRV9LvqNZQSJv/o5PAIdAS1gPFkzH2g6EsRgHKvHiFUMxvnHyip brpi+Uq6/Tj+gDYtLKWVFIhF249xFQjugqmS2eA0KKZKcb1BFnpI9Y4mJeJXwDbjXrfo UuPC00Ceidi3PmpPdQTki7GEqQ9h94snTo1DA569wv2q4Wum/2LAQRzF9zJkWX7wzH2I Cq+qglfpzsbNMEerP+2uvQ0STNZv/gkT1kXbMhO9wDVqpGDhlQ0auLTvNmmQpsGB7BMd F2bCgPBfnUi4Ar3+6UfhlT/xLv4seXp/tvPEKLHoe4TQIhOi2IrX+v2zneG7yPWapjpc 0S1A== X-Gm-Message-State: AODbwcAoQxrF1WBn2l5hbADalvSEbDp+fZK2D2S4a+WodGR/jB40TEYb JZIo8DNbjnAnfuszCaM= X-Received: by 10.176.71.86 with SMTP id i22mr19754153uac.21.1495660739556; Wed, 24 May 2017 14:18:59 -0700 (PDT) From: Bart Schaefer Message-Id: <170524141902.ZM15541@torch.brasslantern.com> Date: Wed, 24 May 2017 14:19:02 -0700 In-Reply-To: <45fd7d7b777636cd074be985ca63ccc644ee4b69@webmail.scope-eye.net> Comments: In reply to tetsujin@scope-eye.net "Building a new ZSH module outside the ZSH source tree" (May 24, 2:57pm) References: <45fd7d7b777636cd074be985ca63ccc644ee4b69@webmail.scope-eye.net> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Building a new ZSH module outside the ZSH source tree Cc: tetsujin@scope-eye.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 24, 2:57pm, tetsujin@scope-eye.net wrote: } } nice programming interface for modules, but I'm not really clear on } the process for building a module without tying it into the zsh build } system. I haven't actually tried the following yet. --- Forwarded mail from Sebastian Gniazdowski X-Seq: 40477 From: Sebastian Gniazdowski To: zsh-workers@zsh.org Subject: Modules can be built outside Zsh; custom version of autoload builtin Date: Wed, 01 Feb 2017 09:48:51 -0800 Hello 1/ Turned out that it's easy to build Zsh modules away from complete source. Here is a minimum build setup: https://github.com/psprint/zplugin/tree/6a4ba014eb167cbc97353f0a59e63f62bd6442bc/zmodules Tested this on OS X. I can load module built with Zsh 5.3.1 features even on Apple-provided 5.0.8. It's only that lazy binding will fail, if I call non-existent (in 5.0.8) function. So, plugin creators can actually provide binary parts, what I'm intending to do too, in Zplugin.