PulseAugur
EN
LIVE 06:11:10
日本語(JA) graphifyがApple Siliconで全滅した — x86_64 tree-sitterの罠と、コード ドキュメントを丸ごと知識グラフ化するまでの実録

Graphify tool struggles with Apple Silicon architecture, then succeeds in building code knowledge graphs

The author details their experience using the `graphify` tool to create a knowledge graph from their codebase and documentation, aiming to improve Claude Code's ability to navigate large projects. They encountered an "incompatible architecture" error on Apple Silicon due to `tree-sitter`'s native bindings being compiled for x86_64 instead of arm64. After reinstalling `tree-sitter` and its language-specific grammars (like `tree-sitter-bash` and `tree-sitter-swift`), the tool successfully parsed Swift and shell scripts, generating a graph of nodes and edges. This enriched graph, combining code structure with semantic document extraction, reportedly reduced token usage by approximately 215x in benchmarks. AI

IMPACT Enables more efficient navigation and querying of large codebases for LLMs by creating knowledge graphs.

RANK_REASON The article describes the troubleshooting and successful implementation of a specific software tool, `graphify`, for code analysis.

Read on dev.to — Claude Code tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Graphify tool struggles with Apple Silicon architecture, then succeeds in building code knowledge graphs

COVERAGE [1]

  1. dev.to — Claude Code tag TIER_1 日本語(JA) · bigkijimon ·

    graphify was wiped out on Apple Silicon — The trap of x86_64 tree-sitter, and a true record of turning entire code documents into knowledge graphs

    <blockquote> <p>🇯🇵 This post is written in Japanese. Originally published on <a href="https://zenn.dev/umamon/articles/8e68ce4930f62b" rel="noopener noreferrer">Zenn</a>(この記事はZennからの転載です)。</p> </blockquote> <h2> Claude Codeが毎回ファイルを読み直す問題 </h2> <p>Claude Codeで大きめのプロジェクトを触っていると、毎セッ…