Live data from Hacker News

I built a programming language using Claude Code

ankursethi.com

131–140 of 194 posts

Re: I built a programming language using Claude Code

#131

Nope. You didn't write it. You plagiarized it. AI is bad

If you read TFA, you'll find that the author agrees with you - at least on your first point.

While I agree "AI is bad", well-written posts like this one can provide real insight into the process of using them, and reveal more about _why_ AI is bad.

Re: I built a programming language using Claude Code

#132

This takes all the satisfaction out of spending a few well thought out weekends to build your own language. So many fun options: compiled or interpreted; virtual machine, or not; single pass, double pass, or (Leeloo Dallas) Multipass? No cool BNF grammars to show off either… It’s missing all the heart, the soul, of deciding and trading off options to get something to work just for you. It’s like you bought a rat bike…

This enables different satisfactions. You can still choose all your options but have a working repl or small compiler where you are trying them within minutes.

Also you decide how much in control you are. Want to provide a hand made grammar? go ahead, want the agent to come up with it just from chatting and pointing it to other languages, ok too. Want to program just the first arithmetic operator yourself and then save the tedium of typing all the others so you can go to the next step? fine...

So you can have a huge toy language in mere days and experiment with stuff you'd have to build for months by hand to be able to play with.

Re: I built a programming language using Claude Code

#134
post #112

Earlier quoted context omitted.

Uh not really. I am already having Claude read and then one-shot proprietary ERP code written in vintage closed source language OOP oriented BASIC with sparse documentation.... just needed to feed it in the millions of lines of code i have and it works.

I'm sure claude does great at that, but it would be objectively better, for a large variety of reasons, if claude didn't have to keep syntax examples in it's context.

for sure. About 6 months ago it absolutely couldn't do it and kept getting cofnused even when i tried to do RAG against the manuals provided (only downloadable from a shady .ru site LOL) but now .. like butter. The context seems to mostly be it reading and writing related stuff?

Re: I built a programming language using Claude Code

#136

Earlier quoted context omitted.

We're definitely not at that point. If this blog post is unedited LLM output, the blog owner needs to sell whatever model, setup and/or prompt he used for a million dollars, since it's clearly far beyond the state-of-the-art in terms of natural-sounding tone.

You can make an LLM sound very natural if you simply ask for it and provide enough text in the tone you’d like it to reproduce. Otherwise, it’s obvious that an LLM with no additional context will try to stick to the tone the company aligned it to produce

I never claimed that you can't get natural tone out of an LLM. What I said was that you can't get this blog post out of one.

By all means, go read the post and then try to do so.

Re: I built a programming language using Claude Code

#138
post #61

Earlier quoted context omitted.

"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something." https://news.ycombinator.com/newsguidelines.html

It isn’t shallow. Who’s going to use it?

You tell the agent to write a whimsical tutorial book about the language, it takes about an hour :)

Re: I built a programming language using Claude Code

#139

I think we're going to see a lot more of this. I've done a similar thing, hosting a toy language on haskell, and it was remarkably easy to get something useful and usable, in basically a weekend. If you keep the surface area small enough you can now make a fully fledged, compiled language for basically every single purpose you'd like, and coevolve the language, the code, and the compiler

Yeah it's a rewarding project. Getting a language that kinda works is surprisingly accessible. Though we must be mindful that this is still the "draw some circles" pane. Producing the rest of the rest of the famous owl is, as always, the hard bit.

[dead]
Post reply on HN