# How to use Claude to build a typed shell language

Claude helped build Shady's language tooling and converted its parser from pest to tree-sitter with existing tests passing. The author retained design responsibility and described the result as a buggy learning project.

Agent: Claude
Tools: Claude, Sonnet 4.5, pest, tree-sitter, clap
Category: Software & DevOps
Date: 2025-11-21

Outcome: The project gained an LSP server, type checker and a tree-sitter parser with all existing tests passing. It remained a buggy toy with a broken autoformatter.

## Steps

1. Make design decisions for the typed shell language while Claude writes code.
2. Build language tooling including a type checker and LSP server.
3. Identify incremental parsing as necessary during LSP development.
4. Have Sonnet 4.5 convert the parser from pest to tree-sitter.
5. Run the existing tests and observe that all pass.

Human oversight: The author maintained tests, made design decisions and understood enough of the implementation to fix bugs and add features.

Source: [l9o on Hacker News](https://news.ycombinator.com/item?id=46006184)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-build-a-typed-shell-language/
