zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: <zsh-workers@sunsite.dk>
Subject: RE: PATCH: zsh/pcre module
Date: Tue, 3 Jul 2001 21:18:27 +0400	[thread overview]
Message-ID: <005e01c103e4$2c51f500$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <3B41F8ED.9892E7F6@u.genie.co.uk>

>
> Bart Schaefer wrote:
> >
> > Incidentally, I'm not entirely sure I approve of adding this PCRE module
> > to the regular zsh distribution.
>
> I agree with Bart here in some respects.
>
> How easy is it to package up modules separately in such a way that they
> could be built and installed without needing to be unpacked over the zsh
> source and compiled with it. Ideally, we would have a set of include
> files which was all anyone needed to build a separate zsh module.
>

That is what I'm still thinking about.

I'm afraid currently there is no easy way to separate modules and main zsh.
We do not have well defined interfaces; even worse, with modules
cross-references you'd need extra stuff for every dependent module that is
needed to compile a module (ough ...). Also, chained dynamic loading is not
well supported on many plattforms.

What I am really considering is more Apache-like scheme. Modules can be
packaged separately but still need to be included in sources (registered?).
Every module is to large extend independent; you unpack it, do something
like

configure --with-zsh-dir=...

and it will modify zsh configuration to include this module (whatever it
means). It must not be configure (it is well possible that this should be
pre-configure task). After that you just do make and it will compile module
*and* recompile zsh main if needed.

But it is still very vague; and there are some other more urgent things
(module dependencies in the first place).

-andrej


  parent reply	other threads:[~2001-07-03 17:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-02 19:35 Clint Adams
2001-07-02 23:10 ` Bart Schaefer
2001-07-03  5:54   ` Andrej Borsenkow
2001-07-03  6:25     ` Bart Schaefer
2001-07-03  6:30       ` Andrej Borsenkow
2001-07-03 16:32         ` Bart Schaefer
2001-07-03 16:35       ` Clint Adams
2001-07-03 16:55       ` Oliver Kiddle
2001-07-03 16:59         ` Clint Adams
2001-07-03 17:19           ` Andrej Borsenkow
2001-07-03 17:18         ` Andrej Borsenkow [this message]
2001-07-03 17:21         ` Bart Schaefer
2001-07-03 17:43           ` Clint Adams
2001-07-17 16:28             ` Fletch
2001-07-03  6:57 ` Andrej Borsenkow
2001-07-03 16:21   ` Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005e01c103e4$2c51f500$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).