I replaced every function in a codebase with English
it still works
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
Tril converts every function in a repo into plain English descriptions, then runs and tests them — using an LLM as the interpreter instead of a runtime.The concept: programming languages exist because machines couldn't understand human intent. LLMs can. So what happens if you remove the code entirely and just... describe what each function should do?The tool replaces functions one by one, runs your test suite after each swap to confirm nothing breaks, and outputs a .md file. Then `tril run` spins up an HTTP server that sends each function's English description to Claude and returns the result.Tested on a unit converter (JS) and a 625-line Python CLI tool — tests passed, results matched to 6 decimal places (fortunately).This is mainly a thought experiment: can any code become plain natural language? Will it still work? Let's find out!npm: npx @sliday/tril convert URLGitHub: https://github.com/sliday/tril
HN · launched Mar 22, 2026 · 9 upvotes (top 46%) · 0 views
Niche: programming languages and interpreters · 161 launches, 3 in the last 7 days ▼ -67% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- AI-native
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 161 launches in programming languages and interpreters →
Could you build this?
Yes The project is a developer experiment that reads ASTs/code files, prompts an LLM to generate plain English descriptions, and executes test suites by prompting an LLM to evaluate results.
Discussion
6 comments analyzed.
Competitors mentioned: COBOL (English-like programming language), Yggdrasil (intent-to-code project)
Concerns raised: LLM output non-deterministic and unreproducible based on intent, Token cost prohibitively high compared to code output size, Security and stability of AI-generated code questionable, Premise flawed - replacing working code with English-to-LLM-to-code adds unnecessary steps, Loop creates black box without intermediate precision guarantees
Competitors
Other products that read as similar to this one : 209 launches clear the similarity bar, closest 8 shown.
Attention rank: #110 of 210 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 141 days after the earliest competitor.
- TechScript · ph · 2026-11-10 · 1 upvotes · similarity 0.49
- Transglot · ph · 2026-11-01 · 2 upvotes · similarity 0.44
- An application stack Claude coded directly in LLVM IR · hn · 2026-03-12 · 10 upvotes · similarity 0.44
- Full Python 3.15 Implemented in 25k LoC C11 · hn · 2026-10-28 · 9 upvotes · similarity 0.43
- OtterLang · hn · 2025-11-08 · 15 upvotes · similarity 0.42
- The Tsonic Programming Language · hn · 2026-01-13 · 62 upvotes · similarity 0.41
- Openleetcode · hn · 2026-08-18 · 73 upvotes · similarity 0.40
- Openleetcode · hn · 2026-08-11 · 5 upvotes · similarity 0.40
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.