← All projects
Project record2 mentions
Originally shared on Hacker News

Codebook

Codebook is a code comprehension tool that takes a more structured approach to dealing with code than simple text, built on top of the sem tool and ultimately tree-sitter.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Codebook

    Codebook is a code comprehension tool that takes a more structured approach to dealing with code than simple text, built on top of the sem tool and ultimately tree-sitter.

    Posted by @boron1006 · Original source ↗

    Source text · @boron1006 · · Source ↗

    I posted about my project below - https://github.com/0x007BA7/codebook But maybe you should checkout the tools it’s based on, sem - https://github.com/Ataraxy-Labs/sem and ultimately treesitter. They at least give a more structured approach to dealing with code than simple text.
  2. Codebook

    Codebook is a code reader built on top of sem (tree-sitter) designed to make reading large pull requests easier. It decomposes changes into entities and sorts them by number of dependencies so the most important functions appear first, lets users click through each function's dependencies, and allows marking items as reviewed while reading.

    Problem: Reading and reviewing massive pull requests is hard, and the standard GitHub review flow doesn't surface the most important changes first.

    Audience: Developers reviewing large pull requests

    Posted by @boron1006 · Original source ↗

    Source text · @boron1006 · · Source ↗

    Codebook - https://github.com/0x007BA7/codebook It’s a better code reader built on top of sem (treesitter). I’m getting a lot of massive PRs at work now, and this has helped a lot with reading them. It decomposes the changes into entities and sorts based on what has the most dependencies. This tends to put the most important functions first. Plus I can click through the dependencies for each function and mark things as reviewed as I’m reading them.