zlacker

[parent] [thread] 2 comments
1. catlif+(OP)[view] [source] 2026-01-20 02:20:11
I had the same reaction to seeing S-expressions, but my conclusion was that this should just be a lisp. Why stop just at operators?
replies(1): >>jkh99+Ov9
2. jkh99+Ov9[view] [source] 2026-01-22 19:03:25
>>catlif+(OP)
I posted about this also on linkedIn. I actually tried to do a bunch of agentic coding in Clojure but found that the parser really got in my way - it continuously fooled the LLM on what line number the errors actually occurred on!

This is why I made nanolang always report line numbers accurately and also have a built-in "trace mode" where, with an environment variable set, it would tell you exactly what line number was producing which C code and which behaviors were being exhibited (state changes). The LLM uses this aggressively for debugging!

replies(1): >>catlif+vVd
◧◩
3. catlif+vVd[view] [source] [discussion] 2026-01-24 03:01:11
>>jkh99+Ov9
> it would tell you exactly what line number was producing which C code and which behaviors were being exhibited (state changes)

Would you consider generating sourcemaps? Although they’re mainly used for minified JavaScript they sound like a perfect fit for this use case. Plus they’re so ubiquitous there’s already a ton of tooling that understands them.

[go to top]