Fixing some bugs on an older PHP project I built before I discovered frameworks and templates. Like duct tape, it works but it isn't pretty.
miniblog.
Related Posts
LLMs are great at style transfer, and this works surprisingly well for syntactic transformations too.
I rewrote a small website's EJS templates to 1500 LOC of TSX with a oneshot in Claude. It took ~12 minutes, but it just worked.
(TSX seems nicer than EJS for static analysis.)
A templating language that compiles templates to Rust code! Really interesting design (I think some JS templating engines do this too). https://twitter.com/LambdaFairy/status/797223356470697984
MediaWiki templates are Turing-complete! Perhaps it was inevitable. http://t.co/YCVvALNTDu