Show HN: Pureast – up to 100× context compression for Go projects
Category: devtools
Tags: ast-extraction, code-generation, dependency-analysis, llm-context, go-tool
Score: 7.8/10 (Innovation: 8, Technical: 8, Documentation: 8, Utility: 7)
PureAST is a Go library and CLI tool that uses functorial methods (monoids, folds, and functors) for AST extraction, dependency analysis, and code generation, specifically designed to produce compressed, LLM-friendly contexts from Go projects. Its innovative combination of category theory principles with practical code extraction, plus features like context compression via `--gomod` and MCP server integration for AI tools, makes it a novel bridge between functional programming concepts and modern AI-assisted development workflows.
Target audience: backend devs, devops, data engineers
Repository: https://github.com/Pure-Company/pureast · Go
View on Hacker News