zsh-workers
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Paul Wayper <paulway@redhat.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: zsh -n does not detect incorrect associative array declaration
Date: Tue, 19 Apr 2016 15:50:34 +0200	[thread overview]
Message-ID: <CAKc7PVA00LfMb0mHsqe-OFvSXPmsKmBFZKAJYDZpuNoNcA14Dw@mail.gmail.com> (raw)
In-Reply-To: <56F1C3D7.6020800@redhat.com>

Just a small tip: if you want to detect syntax errors in script you
can use zcompile. That's what I'm doing in zplugin, turning some
options on and off and checking if a plugin compiles correctly:

https://asciinema.org/a/9x2y2xvmpflkq5wzxeaegln12

This allows some non-zero degree of syntax correctness verification,
for given set of options.

Best regards,
Sebastian Gniazdowski


      parent reply	other threads:[~2016-04-19 13:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-22 22:14 Paul Wayper
2016-03-23  0:20 ` Bart Schaefer
2016-03-23  2:28   ` Paul Wayper
2016-03-23  6:40     ` Bart Schaefer
2016-03-23  9:23       ` Peter Stephenson
2016-03-24  2:08         ` Bart Schaefer
2016-03-24  9:46           ` Peter Stephenson
2016-03-24 17:12             ` Bart Schaefer
2016-03-30  6:00       ` Paul Wayper
2016-04-19 13:50 ` Sebastian Gniazdowski [this message]

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=CAKc7PVA00LfMb0mHsqe-OFvSXPmsKmBFZKAJYDZpuNoNcA14Dw@mail.gmail.com \
    --to=sgniazdowski@gmail.com \
    --cc=paulway@redhat.com \
    --cc=zsh-workers@zsh.org \
    /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).