Over the last months I’ve been doing a lot of open-source works and experiments. Most of them are not fully complete, and I have to admit that some of them are not stable as they were supposed to be just “experiments” that I did with LLMs, but I found them to be so useful on my day-to-day code that I want to publish them as they are, being LLM or not.
So, let’s dive in what I’ve been doing these months
Still building things for Pulsar
Almost all of my projects ended up being Pulsar packages.
In the past, I probably would try to make these into standalone tools, but honestly? If I want Pulsar to be my own little Emacs, I’m just going to make these full packages and then if anyone wants their own version, let them port.
The TL;DR; of this post is: I produced a VS Code compatibility layer that works better than I expected, an AI pair programmer that works about as badly as I feared, and I’m still working on the next Lazuli release that is late again. Also, somehow, I’m building a CI system.
Running VS Code extensions in Pulsar
Pulsar-VSCode-Compat(https://packages.pulsar-edit.dev/packages/pulsar-vscode-compat) does more or less what the name says – it installs a VSCode extension as a Pulsar package and maps all the API calls to Pulsar’s. Some extensions already work well enough to use – I’ve tested it with Calva and Shopify’s Ruby LSP, among others.
This project is shamelessly vibe-coded. I tried writing this by hand before, and it went miserably.
The TypeScript declarations tell you a lot about the API, but some extensions depend on things you’ll never find by yourself – take URIs. In JavaScript, === on two objects checks whether they’re the same object, and VSCode extensions use the === to check if two documents point to the same file – meaning that, an undocumented feature of VSCode’s API is that if something returns an URI (like the document’s path for example) it ensure that it always returns the same object
Now imagine trying to figure out that this is what happened by reading a minified extension, changing your implementation, reloading, and watching it fail somewhere else. So, yeah, I used LLMs – a lot. Most of the compatibility layer was AI-generated, and you can tell: some calls fail, some return the wrong thing, and the especially annoying ones return something that seems right that the VSCode extension happily will accept on until it breaks later.
Also, these “wrapped extensions” run on Pulsar’s main thread, so an extension that blocks can freeze the editor. They run with the same “trust level” as any Pulsar package (meaning, they can do anything), and the telemetry APIs are stubs, so no telemetry is collected. But it works WAY BETTER than expected: the next version will add support for some AI tools like Hermes and Pi (via the Pendant extension) and also adds support for Tabby, which is actually HUGE – because Tabby adds some elements to the editor itself (the current implementation is not that good, but it works)!
To try it, install the package and run pulsar-vscode-compat:browse-extensions – that opens the OpenVSX browser. Microsoft reserves its Marketplace for the Visual Studio family of products, so we need to use OpenVSX – blame Microsoft, not me.
Socrates, or what happens when you ask an LLM for a hint
I wanted to see if I could get an LLM to do the part of pair programming I actually like: like a literal “pair programmer” – I would explainn what I want to do, and the person (LLM in this case) next to me asks a question that makes me realize I’ve been looking at the wrong part of the code, or they point out that I’m solving the same problem twice, etc.
Socrates can read the code I’m working on and give me hints, explanations, or suggestions, but not edit the code. In practice, the model still wants to implement everything, and when it settles for explaining, I get things like “this calls a function with two arguments”, which is completely useless. I tried to fine-tune the prompt, but then it gets worse somehow: to explain simple things, it writes three more paragraphs.
Honestly, so far it’s doing such a poor job that I will probably abandon the project. It also takes long enough that I’ve usually moved on by the time it replies, and most of what it says is either obvious or hard to follow. I used an LLM to get the prototype running quickly, which was useful. I got to find out how little I wanted to use it without spending weeks building it first, and considering that it’s probably not that useful, I’m glad I didn’t spend weeks doing that just to discard it.
Lazuli is late. Again.
I use Lazuli every day to evaluate Ruby, Clojure, and ClojureScript from Pulsar. I also promised a new release a while ago and, well, I bit off more than I could chew.
I had a test suite that took more time to fix than the code it was supposed to test. I replaced it with tests that launch the editor and actually type things, click buttons, and evaluate code – this worked pretty well with Playwright on Electron 12, then the CI setup became its own maintenance project, and I stopped running and updating the tests regularly.
Which is, obviously, a problem, because each nREPL from each laguage breaks in its own way. For example, Jank’s nREPL implementation when I evaluate something that crashes, it usually gives me a stack trace I can use; compared with Clojure, that gives me literally nothing, and ClojureScript, that I need to try to reconstruct it from source maps, and I still can’t fully trust the result.
Then a new Ruby version comes along and changes something that trips up the parser – fixing Ruby is easy enough when I can reproduce the bug. Knowing what else I broke is the part that takes time. So that’s why it’s late, and Python is no better, and JavaScript is simply a nightmare.
But there are some very big enhancements – the feature I’m most excited about is a new interface that I called Trace Execution. The idea is very simple: start recording, click something in a running web app or evaluate an expression through nREPL, then see at that UI what ran, in which order, and how long it took. I can also copy the trace and feed into an LLM or something like that to give a higher level of confidence over the results.
I also want to improve Ruby support generally, give Jank proper support (possibly even autocomplete), and make a few smaller improvements to Python. JavaScript and Elixir are still experiments, and will stay that way for a log time probably… for example, the JavaScript issues I wrote about last time are still there, and I still haven’t found a way to capture the context I need inside private Elixir functions. Cherry and Squint are in the “let’s see how far this goes” pile too.
I’m also dropping the idea of building Lazuli as a “plug-in as a service”. I split the tooling into libraries (Tango, Duck-REPLed, and Orbit) because I wanted a NeoVIM or VS port, or at least the possibility of one. I was the person who wanted a NeoVIM port, and even I never got around to it. What I did get was a release process where an nREPL change could mean bumping Orbit, then Duck-REPLed, then Tango, then Lazuli. So, I’m going to build Lazuli for Pulsar, and Pulsar only, which is where I use it.
Truth to be told, “I’m tired boss” – tired of people saying that they want a VSCode version, or a NeoVIM version, or an Emacs version, of the plug-in, asking for help, we connecting and me pointing to the right places, and then never hearing again. All these “bumps” and “trade-offs” I did to make Lazuli (and Chlorine) “portable” for any editor (well, any editor that runs JavaScript at least), all the posts, the talks, they resulted in absolutely zero contributions to the package. So, yeah – I’ll completely drop support for this experiment, it was fun while it lasted, but it’s simply not worth it – too many things need to be way more complex than they need for this “Plug-in as a Service” idea, for absolutely zero gain so far.
See-Ya, because I got tired of debugging CI
I used to really like CircleCI. At some point, too much of my time went into figuring out why an existing job had stopped working, or why the YAML file changed, and what Circle changed, etc. And every time I needed to do something slightly dynamic, I found myself writing what was basically a program, except I had to express it in YAML first.
See-Ya is the CI system I’m experimenting with – it’s a Babashka program that runs a “CI System” – it’s not a “full server”, it’s basically “all the configs and code and steps and artifacts” built into a series of “steps” – each step produces a new Docker image layer, so I can go back to the image before a step and try it again. If the step created a thousand files, the previous image is still there, without any of those files. I can also run the build locally and use a REPL to poke at the part that’s failing.
I’m slowly moving a few projects over it. It’s been going really well, and it essentially is a “Functional CI”. The idea is similar to Datomic – you run something, that returns a new “image”, and that image is the docker layer with all your changes applied. A cool example of what you can do is to install production dependencies on a step, then install development dependencies and bootstrap the “test database” on a child step – then you can run both your “unit” tests and your “integration” tests in separate suites, fully paralllel, and they will all get a docker image that’s completely isolated from each other, but both will have the bootstrapped test database already created and ready (without paying the cost to actually create two versions). Heck, you can even get all your test files and split into groups of 10, 100, etc, and run then fully in parallel even if the language doesn’t support it, and See-Ya will be carefull to use a thread pool too! Finally, if everything passes, you can depend on the steps that doesn’t have the boostrapped database nor the development dependencies to create your final binaries.
Cool, right?
Difftastic for Pulsar
Here’s a Clojure diff I might see in a review.
-(defn page [items] (take 10 (sort items))) +(defn page [items] + (take 20 + (sort items)))
The interesting change is 10 becoming 20. The rest of the diff is something I have to mentally undo before I can see it. In a real Clojure PR, these little formatting changes are everywhere – sometimes the line that looks like it changed only has a closing paren that used to be somewhere else.
Difftastic compares code by its syntax, and I want that in Pulsar when I review GitHub pull requests and GitLab merge requests. The first version I’m working on is for GitHub PRs and GitLab MRs, and supports comments and some interesting enhancements (like, for example, if there’s an outdated/resolved comment, it can display what changed between that comment and the current version, which essentially shows how that comment was addressed). Here’s how it’s on Pulsar right now:

I’m also curious whether a structural diff can make merge conflicts easier to read – even if the tool itself can’t resolve a conflict, could it show me the expression where the two branches actually disagree? I’m still trying to figure out what that should look like in the editor, but so far, without much luck.
So, yes, more Pulsar plug-ins. The next time I review a Clojure PR, I’d like to spend a little less time counting parentheses and more on actually what changed!
Ports for Jank
I’ve been porting some libraries to Jank, with the help of LLMs. I have a version of Promesa and a version of Pathom; now I’m checking if I can port a simplified version of Lacinia and finally, use Pathom+Lacinia to make GraphQL things.
This is interesting in my opinion because I can make native libraries for Ruby, for example – having a Pathom version that runs in Ruby opens some huge interesting experiments that might bring better tools to the ecosystem, instead of relying on “does it integrate with Rails” that plagues the language in my opinion.
Closing thoughts
I will keep working on Open Source projects, and I will keep working on some projects I find interesting. Code is all but dead, besides what some people say – I do like to write things and know that it works, and I am betting on the idea that we will need more tools in the future, not less.
There is, unfortunately, something that bothers me quite a lot: nowadays, I only see people discussing LLMs – models, harnesses, etc. I don’t know if these libraries I’m working right now will change anything, and if in the past it felt I was the only one excited for these enhancements, now it’s worse – way worse.
Still – maybe we can reverse this course. Maybe we can offer better tools and libraries and microframeworks that people would spend more time thinking on the “easiest, lower lines of code, best way” of doing something instead of just… prompting, I guess. Only the future will tell.