The Zork source code reads surprisingly like lisp with <> delimiters!
miniblog.
Related Posts
Difftastic 0.23 is out! I've been tuning diffing and display and I think the results look fantastic.
* Parent delimiters are modelled accurately
* Display uses blank lines as an alignment hint
* Textual diffing is way faster too!
Line-based diffs are easily muddled by wrapping/unwrapping with delimiters.
If whitespace matters, you show the indented lines, and if whitespace doesn't matter, you don't know which } to match!
Compare GitHub with difftastic here.
tree-sitter is really helpful in difftastic, but we still have to do some post-processing. We need to know which tokens are OK to move around (e.g. variables) and which aren't (delimiters).
In the second run, I've fixed delimiters in JSX, so you don't get mismatched > on h1.






