frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I replaced every function in a codebase with English – it still works

https://tril.cc
3•kulesh•1h ago
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 URL

GitHub: https://github.com/sliday/tril

Comments

codingdave•1h ago
> We invented them because machines couldn't understand our intentions.

This isn't accurate as to why programming languages exist. If you want to see english sentences describing the details of code, as working code, just go look at cobol. Machines understand exactly what we tell them, and do exactly what we tell them. The problem is on our side - how do we make sure we are telling them the correct instructions, while giving ourselves syntax that is easy to work with?

Because of that, your entire premise is wrong. Why would I replace working code with English, just to send it through Claude, just to get back... working code? What does that even prove?

You really are just trying to prove that AI can turn pseudocode into code. It can. By all means, go write stuff to test it and prove it, but I don't think anyone questions this. The questions revolve around whether or not those results are secure and stable, not whether it produces working code.

kulesh•1h ago
Fair point on COBOL—I oversimplified. Programming languages exist for precision and execution, not because machines can't parse English. That framing was sloppy.

But I push back on "the entire premise is wrong."

The interesting part isn't "AI can execute pseudocode"—nobody debates that. The point is the artifact: the .md output matters, not the runtime. A codebase where every function is readable English changes who can participate in a pull request, audit logic, or catch wrong assumptions. "Multiply by 9/5" vs "multiply by 1.8" is an editorial conversation, not a code review.

It's a proof of concept to show the artifact is executable, not a production proposal. It's slow (today), expensive, and non-deterministic - I said so in the post. The question is whether the intermediate representation (English) has value beyond performance? I believe that the loop is shortened here: there're no in-between element intent→weird non-human language→result, it becomes intent→result. No NEED to create synthetic procedures, explaining how the code works in plain language should give us the output.

An old person enters a bank, asks to open an account, speaks plainly in his native language, the teller clicks buttons, and the account is created. From the subjective perspective, there's no in-between interface: the old person had a though, than it got realized.

Show HN: FairSplit – A local-first, multi-currency expense splitter

https://fairsplit.it
2•rummstien•9m ago•0 comments

Show HN: Crack – Turn your MacBook into a squeaky door

http://crackmacapp.com/
8•ronreiter•58m ago•7 comments

Show HN: Oku – One tab to filter out noise from feeds and content sources

https://oku.io
13•oan•2d ago•4 comments

Show HN: Time Keep – Location timezones, timers, alarms, countdowns in one place

18•jmbuilds•2d ago•7 comments

Show HN: I replaced every function in a codebase with English – it still works

https://tril.cc
3•kulesh•1h ago•2 comments

Show HN: AgentVerse – Open social network for AI agents (Mar 2026)

https://nickakre.github.io/agentverse-social/
2•nickakre•2h ago•0 comments

Show HN: Termcraft – Terminal-first 2D sandbox survival in Rust

https://github.com/pagel-s/termcraft
124•sebosch•20h ago•22 comments

Show HN: We mapped 122K carbon removal researchers using OpenAlex/ORCID/OpenClaw

https://captaindrawdown.com/cdr-researcher-census/
3•dpaessler•2h ago•0 comments

Show HN: Atomic – Self-hosted, semantically-connected personal knowledge base

https://github.com/kenforthewin/atomic
116•kenforthewin•19h ago•17 comments

Show HN: 20 years of Hacker News discussions, clustered and visualized

https://app.lenzy.ai/projects/prj_public_01KKKENH0W0JEFHETN74AYDD87/reports/rpt_01KKKENH0W0JEFHET...
4•BohdanPetryshyn•4h ago•3 comments

Show HN: I redesigned Activity Monitor's dock icon to look native

3•rokgregoric•5h ago•0 comments

Show HN: Passport Globe (See where your passport takes you)

https://hariharan.uno/globe
12•hariharan_uno•8h ago•10 comments

Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran

https://github.com/FormerLab/fortransky
137•FormerLabFred•1d ago•80 comments

Show HN: Sonar – A tiny CLI to see and kill whatever's running on localhost

https://github.com/RasKrebs/sonar
188•raskrebs•2d ago•78 comments

Show HN: AI SDLC Scaffold, repo template for AI-assisted software development

https://github.com/pangon/ai-sdlc-scaffold/
25•pangon•1d ago•9 comments

Show HN: OnlyBots – A store for AI agents to buy sexy lobster pics

https://www.onlybots.store/
5•bilater•7h ago•1 comments

Show HN: Helios – 3 Claude agents (Red vs. Blue) hack and patch your codebase

https://gitlab.com/nakaiwilliams20/helios
2•nakaiwilliams•8h ago•0 comments

Show HN: Red Grid Link – peer-to-peer team tracking over Bluetooth, no servers

https://github.com/RedGridTactical/RedGridLink
51•redgridtactical•1d ago•28 comments

Show HN: Three new Kitten TTS models – smallest less than 25MB

https://github.com/KittenML/KittenTTS
551•rohan_joshi•2d ago•178 comments

Show HN: Daily Reflections – A private, zero-dependency, local-first PWA journal

https://yaninatrekhleb.com/daily-reflections/
2•yanina_trekhleb•10h ago•0 comments

Show HN: ClawMem – Open-source agent memory with SOTA local GPU retrieval

https://github.com/yoloshii/ClawMem
5•yoloshii•14h ago•0 comments

Show HN: Duplicate 3 layers in a 24B LLM, logical deduction .22→.76. No training

https://github.com/alainnothere/llm-circuit-finder
262•xlayn•3d ago•81 comments

Show HN: Joonote – A note-taking app on your lock screen and notification panel

https://joonote.com/
52•kilgarenone•23h ago•41 comments

Show HN: I built a pricing tool for home bakers that reads recipe photos

https://butterwell.io
3•shiyuzhu1994•14h ago•0 comments

Show HN: Baltic shadow fleet tracker – live AIS, cable proximity alerts

https://github.com/FormerLab/shadow-fleet-tracker-light
55•FormerLabFred•1d ago•18 comments

Show HN: An event loop for asyncio written in Rust

https://github.com/RustedBytes/rsloop
4•yehors•16h ago•0 comments

Show HN: Simple Terminal Voice Recorder

5•chistev•16h ago•0 comments

Show HN: The Two by Two Truth Diagram

https://kmrjohnson55.github.io/truth-diagram/
4•8crazyideas•16h ago•0 comments

Show HN: EchoLive – Read-it-later app that reads to you with 600 AI voices

https://echolive.co/
9•stanlymt•1d ago•0 comments

Show HN: Travel Hacking Toolkit – Points search and trip planning with AI

https://github.com/borski/travel-hacking-toolkit
4•borski•17h ago•0 comments