Weeknotes 2025-W38
Project Pterodactyl, language servers, and HoTTEST
- September 21, 2025
- Jon Sterling
Readers of my blog will be aware that I have been working for some time on prototypes for a new proof assistant under the auspices of my Project Pterodactyl (click through and browse the backlinks!). These past two weeks, I have been doing a deep dive into modern language analyser architecture—with a special shout-out to Owen Lynch for telling me to read matklad’s excellent Resilient LL Parsing Tutorial so many weeks ago. The idea finally worked its way through my thick and stubborn skull!
An old dog learns a new trick
- September 21, 2025
- Jon Sterling
There is a lesson that I bafflingly failed to learn in my last four proof assisant builds: instead of starting from the kernel and working your way out to the concrete syntax and frontend, you should absolutely do the opposite.
It’s very tempting for people like me to do start with the kernel, because in priciple, the kernel of a proof assistant is totally independent of its frontend: it is even independent of syntax itself. But if you build a system in this way, it will have a very poor user experience; it is really difficult to take a system like this and adapt it to have good error messages and IDE-like features. (It is possible, but not easy.)
This time, I’m working my way from the frontend to the kernel. I am doing resilient parsing and live diagnostics from the start, with a language server, taking ideas from Rust and Swift. This is one of those things that is really hard to refactor your way to, but it is not difficult to take a reactive, query-based compiler and create a batch mode for it.
Anyway, I am having fun, but this will take a very long time. Language servers are not easy, but I believe that taking this aspect seriously from the start will make the project more enticing both to users and to contributors. Even before you can actually prove stuff, I want the interaction model to be worked out and demoable.
What I have so far is a resilient parser that emits diagnostics, semantic highlights, and code folding instructions to a language server, with a client in Visual Studio Code.

A screenshot of a Visual Studio Code buffer containing some code with semantic highlights.
Join me for next week’s HoTTEST Seminar!
- September 21, 2025
- Jon Sterling
I’ll be speaking about this at the Homotopy Type Theory Electronic Seminar Talks on this coming Thursday, 25th September.
Is it time for a new proof assistant?
It could be time to build a non-experimental proof assistant for homotopy type theory and univalent foundations. I’ll give my thoughts on what that would entail, and where we are able to contribute in the era of Pax Leanica, focusing on algebraic hierarchies, carefully designed user experience, and a proposed return to foundational orthodoxy.
My talk will be accessible to a broad audience. I encourage you to jack into the feed, regardless of your level of experience with type theory.
New hardware at home
- September 21, 2025
- Jon Sterling
I finally got a home computer—a Mac Mini with an Apple Studio Display. The latter is an extravagance, but after looking at the current state of the market for high build-quality 5K displays that will work well with the Macintosh, the best options seem to be only a little bit cheaper than the Apple offering and don’t even have built-in cameras, and have dramatically worse build quality. In the end, forking out for the Apple display seemed best. I am hopeful that in the coming years, competitors will emerge—until then, Apple seems to have a stranglehold on the market of 5K monitors with reasonable build quality that are not made of cheap plastic that creaks like a hundred year old house.
Although the computer and the display are great, the best thing about my setup is the new Keychron Q5 Max that I got in Shell White, with the Gateron Jupiter Banana switches. This is without a doubt the nicest keyboard I have ever had the pleasure of typing on, and the volume knob is a joy to use. I could not be happier with it.
Reading corner: Heretics of Dune, The Dispossessed, and Rocannon’s World
- September 21, 2025
- Jon Sterling
I have been remiss in not keeping up with my Reading corner mini-column. I did not stop reading! But I have slowed down as the bitter reality of Term is starting to hit.
I finished up Heretics of Dune—which I am sorry to say did not get much better. It was honestly a slog from start to finish with some interesting ideas, but also some very strange ones that didn’t seem to fit well. After the cataclysmic ending, I felt I had to take a bit of a break from Dune.
I resumed Ursula K. Le Guin’s The Dispossessed (follow the links to see my previous comments), which I had started back in July but put down prior to my Summer Holiday. From start to finish, I loved this one. I need to sit with it for some more time before I have processed it fully. There is a subtlety and a deftness to the Le Guin’s treatment of the (fictional) anarchist culture of Anarres, and although I feel that different readers may take away wildly different conclusions, ultimately the point seems not to conclude but rather to imagine.
Next I decided to continue with Le Guin’s Hainish cycle, so I took up Rocannon’s World. I have read only a few chapters of this one, but it is like a mixture of science fiction and fantasy—well, categorising books like this by genre is a kind of hideous practice which I do not endorse, and I am only trying to give an impression. This is not the first book I’ve read this year that blended technology with the Fairy Story.