Comment

Comment by abdullahkhalids

Can one write a tree-sitter grammar for English (or any other natural language), that basically labels each sentence as a statement, so I can use difftastic to show changes on sentences rather than visual lines?

This is because visual line diffs for an essay is bonkers. Usually the sentence changed starts in the middle of a visual line.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton