Porting a complete HTML5 parser and browser test suite [from Python to OCaml using LLMs]

5 points by teymour


BinaryIgor

Interesting to see another angle of what AI-assisted coding can give vs what it cannot; I've been playing with Claude Code recently, working on a hybrid work setup - some coding done manually by me, some by Claude - and I got to say that I start to like it. Obviously, there are tradeoffs and limitations, as with everything; haven't thought about using them (agents) to port libraries from one language to the other though.

dmbaturin

For the record, lambdasoup is not just a parsing/scraping tool — it has an excellent API for manipulating element trees. One could replicate HTML tidy in an evening with it, while most libraries don't even consider that use case at all.