Lurker News
Hello everyone. I've been working on this experimental editor called Huzzah.

I've been working almost exclusively with coding agents since January of this year, and over the past few months I began to feel utterly exhausted by them. They're great, but I'm finding it more and more tedious to write full sentences for every change I want. Not only that, but it seems there's a complexity limit for codebases - beyond a certain point the agent begins confusing itself.
I'd like to go back to writing code, but I don't want to go all the way back to fully manual coding. So I've come up with this interaction paradigm where you:

  1. write pseudocode in whatever way makes the most sense to you
  2. on save, the editor synchronizes your work to real source code
  3. the pseudocode is persisted alongside the generated code, making your prompt effectively a stored record of intent.
It may not work for every use case, but in my initial playthroughs I've found it very enjoyable.

Right now it's just a proof of concept - installation instructions are here in the readme: https://github.com/danielvaughn/hz
You can also watch a video of it in action here: https://x.com/danielvaughn/status/2090456808431165715
Cheers!

Comments (209) 112 threads

Earlier comments
soulofmischief#
Nice work!

I wrote this but as a compiler. It was ~2 years ago and local models have gotten WAY better; I was having too many issues with adherence (syntax errors, etc) and dropped it.
The compiler comes with a model embedded or can use an external model. It uses Cosmopolitan Libc and can zip things together into one binary. I will take some time to dust it off and share it.
But the idea was basically, you have your natural language source files or a one-shot prompt and it "compiles" them into a single, shareable fat binary that works across all popular platforms and architectures.
It was pretty fun to use with remote frontier models but the local model story simply wasn't good enough at the time for me to feel proud releasing it. I think that's probably changed now and passable results can be had even with small modern 7B/14B models.

rw2#
To me it's not useful because the level of granularity is off from the level I am currently working with.

Also it creates a uniform level of granularity. The great thing about AI coding is that you can go deep and detailed in hard sections and just plain ignore the simple stuff.

jkl5xx#
I feel like many of the comments are skeptical or dismissive but this seems like a really clever idea. So many classic textbooks use pseudocode to get the gist of an algorithm across, so this isn’t an unprecedented level of abstraction to be working at. It makes sense that there would exist a middle ground of abstraction between an English essay and actual running code.

Another interesting thought about this: it’s almost like a quick and dirty transpiler for your own programming language design ideas. I’ve toyed with writing my own ”perfect language” and this seems like a quick and dirty way to test out the ergonomics of various syntaxes and concepts via pseudocode.

Chnmy#
It seems very close to Spec driven development. Here the spec is the pseudocode. I slightly disagree with people on the thought that we don't think when we do agent based development. Most of my Agent based development is me specifying a change(lose one line or full fledged PRD) and most of what agent based development solves for me is being thorough with the rest of the codebase.

Although I like your direction, i would hate to see this become yet another programming language.
Also if your pseudocode has a definitive structure, why not write an interpreter or compiler ? And not waste AI cost? Like how traditional BDD stack works gherkin and cucumber and the likes?
Direction, I love. Approach, we can always change. Peace

Load more comments