logoalt Hacker News

conartist6yesterday at 11:03 AM1 replyview on HN

I wouldn't say I want to abandon anything git is doing as much as evolve it. Objects need to be able to contain syntax tree nodes, and patches need to be able to target changes to particular locations in a syntax tree instead of just by line/col.


Replies

ongyyesterday at 11:20 AM

An AST is a tree as much as the directory structure currently encoded in git.

It shouldn't be hard to build a bijective mapping between a file system and AST.

show 1 reply