Making your own programming language is easier than you think (but also harder)

28 points by LesleyLai


munificent

The comments here are much harsher than I expect of this community.

Is it possible that another language like Lua would have been good enough for the author? Probably. Is it likely that the author is engaging on a giant yak shaving expedition? Probably.

Is it clear that they are very skilled and having a ton of fun? Yes. Is there interesting technical material in the post? Also yes.

I will happily, joyfully read about a fellow nerd designing another scripting language for their game engine. I would read a thousand posts like this a day if it saves me from one more AI-written slop post about how some vibecoded SaaS garbage is going to save the world (and enrich the author).

technomancy

Lua (or any other JIT-compiled scripting language for that matter). That's a standard choice, but it turns out that it's really hard to sandbox it.

Absolutely baffling take. The way that Lua makes sandboxing trivial is one of its greatest strengths and delivers benefits far beyond mods and plugins. No other language I've seen even comes close.