git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/4] chainlint: improve annotated output

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Nov 8, 2022, 22:52 UTC
Message-ID
<CAPig+cTLoyyzU3+qo8UA7iGCh9o9UbowOz_Z_debN3NXoN8=_w@mail.gmail.com>
In-Reply-To
<CAPig+cSWXYhp95kcRn1EHrPW15o_z7uL+TcHO-hf6owP5FQnNw@mail.gmail.com>
On Tue, Nov 8, 2022 at 5:43 PM Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 16 quoted lines
> On Tue, Nov 8, 2022 at 5:29 PM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> > On Tue, Nov 08 2022, Eric Sunshine via GitGitGadget wrote:
> > > (Note to self: Add Ævar to nerd-snipe blacklist alongside Peff.)
> >
> > Also, and I guess this is an attempt to evade your blacklist. I *did*
> > notice when playing around with this that if I now expand the "1 while"
> > loop here:
> >    [...]
> > To something that "follows along" with the parser it shouldn't be too
> > hard in the future to add line number annotations now. E.g. for
> > "#!/bin/sh\n" you'll emit a token like "\n", but the positions will be
> > 0, 10.
> >
> > But that's all for some hypothetical future, this is already much better
>
> My nerd-snipe blacklist hasn't fully solidified yet, unfortunately (for me).

I forgot to add that if you do manage to penetrate my nerd-snipe blacklist, such a feature would be built atop the current series (i.e. no reason to hold up this series for the "hypothetical future", as you say).

Previous: Eric Sunshine
Message 11 of 11 in “chainlint: improve annotated output”
  1. 0/4 chainlint: improve annotated outputEric Sunshine via GitGitGadget, Nov 8, 2022
  2. 1/4 chainlint: add explanatory commentsEric Sunshine via GitGitGadget, Nov 8, 2022
  3. 2/4 chainlint: tighten accuracy when consuming input streamEric Sunshine via GitGitGadget, Nov 8, 2022
  4. 3/4 chainlint: latch start/end position of each tokenEric Sunshine via GitGitGadget, Nov 8, 2022
  5. 4/4 chainlint: annotate original test definition rather than token streamEric Sunshine via GitGitGadget, Nov 8, 2022
  6. Taylor BlauNov 8, 2022
  7. Jeff KingNov 9, 2022
  8. Taylor BlauNov 10, 2022
  9. Ævar Arnfjörð BjarmasonNov 8, 2022
  10. Eric SunshineNov 8, 2022
  11. Eric SunshineNov 8, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.