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

Re: Documentation and tools to understand and debug the Zsh codebase



Philippe Altherr wrote on Sat, Nov 12, 2022 at 23:16:02 +0100:
> Hi everyone,
> 
> About a year ago, a friend of mine finally convinced me to look into Zsh. I
> quickly became a big fan. All the little extra features and behavior tweaks
> add up and make it in my opinion a much better shell than Bash, which I was
> using until then. Nevertheless, I still stumbled on a few bugs and
> shortcomings. Since I have some free time on my hands, I figured that I
> could maybe one day help address some of these. Last week, I finally took
> the plunge and started looking into the codebase to understand what was
> going on with ERR_EXIT (see related thread
> <https://www.zsh.org/mla/workers/2022/msg01203.html>).
> 
> So far, I have mainly studied exec.c
> <https://sourceforge.net/p/zsh/code/ci/master/tree/Src/exec.c> and loop.c
> <https://sourceforge.net/p/zsh/code/ci/master/tree/Src/loop.c>, which seem
> to constitute the bulk of the evaluation loop. I have also seen that zsh.h
> <https://sourceforge.net/p/zsh/code/ci/master/tree/Src/zsh.h> contains most
> of the important data structures and I he found the description of word
> codes in parse.c
> <https://sourceforge.net/p/zsh/code/ci/master/tree/Src/parse.c#l100>,

(About this link's syntax, see <https://zsh.org/workers/37966>.)

> - How do you search the mailing list? I don't see a search box on
> www.zsh.org/mla/.

Personally, I've been subscribed to the list for years so I just search
my mailbox.

The archives are available in rfc822 form (see the left column of
https://www.zsh.org/mla/; also available via rsync); you can download
that and import it to any mail search tool you like.

Leaving your other questions to others.

Cheers,

Daniel




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