Remix.run Logo
▲ nathanpankon 7 hours ago

I played with making a git alternative that was streamlined according to workflow. I haven't completely abandoned it, but my core idea was that you can use ast path to compress the data further.

Like you said git is really efficient, and even though I went in with some criticism because of the work(mess) that is chromium and the deep hacking I did there to fix stuff between versions without forcing a complete rebuild

I came to the conclusion that as a compression alternative, my approach wasn't worth it. Git did a better job!

Anyway here's the attempt: https://github.com/pankon/gat

▲alansaber 7 minutes ago | parent | next [-]

Great name btw lol

▲Anduia 3 hours ago | parent | prev | next [-]

Very interesting! Maybe the AST part is more useful for diffs and merges than for compression.

▲nathanpankon 2 hours ago | parent [-]

There are some attempts at this (semanticdiff, etc) and they seem very good. But I was looking for a tool that could actively edit a set portion of code, maintaining a small diff above a moving target

In that case merging from "main" starts to be extremely difficult

▲Anduia 7 hours ago | parent | prev [-]

It is not public is it?

▲nathanpankon 6 hours ago | parent [-]

Good call, made it public :)

Thanks!