Re:Difftastic, a structural diff tool that understands syntax
by bfrog on Thursday March 21, 2024 @12:42PM
(#39780968)
While I agree tree-sitter is an amazing tool, writing the grammar out can be incredibly difficult I found. I tried writing out a grammar and highlighting query set for vhdl with tree-sitter, and found that there were a lot of difficulties in expressing vhdl grammar in tree-sitter.
[ Parent
| on HN ]
Re:Difftastic, a structural diff tool that understands syntax
by kstrauser on Thursday March 21, 2024 @12:45PM
(#39781014)
No argument from me on that. The upside is that one person, somewhere, has to get it right one time and then we can all use it.
Re:Difftastic, a structural diff tool that understands syntax
by grub5000 on Thursday March 21, 2024 @01:39PM
(#39781838)
Seems like something LLMs should be useful for, if not now then soon enough
Re:Difftastic, a structural diff tool that understands syntax
by HumanOstrich on Thursday March 21, 2024 @02:36PM
(#39782601)
I think many people are exhausted (at least I am) with the constant irrational exuberance of bolting AI onto every technology, product, and service in existence to end all of humanity's problems. It won't work like that.
Re:Difftastic, a structural diff tool that understands syntax
by germandiago on Thursday March 21, 2024 @04:05PM
(#39783725)
In fact, reminds me of the time at which they used Blockchain for everything.
Just a bubble right now. It will come back to its natural uses after it. Everyone is doing AI now and I am pretty sure it is to attract investment even if some might know their product will go nowhere.
Re:Difftastic, a structural diff tool that understands syntax
by dreamcompiler on Thursday March 21, 2024 @06:11PM
(#39785038)
Correction: Everybody says they're doing AI now because that's the magic buzzword for getting money.
I spent the 1990s building actual AI software, but we had to call it something else because if you even whispered "AI" in the 90s your funding would dry up instantly.
Re:Difftastic, a structural diff tool that understands syntax
by klabb3 on Thursday March 21, 2024 @10:55PM
(#39787019)
Someone should build a tool that augments any text with current year tech buzzwords for optimal investor appeal. I wonder what tech could be used for that… wait
Re:Difftastic, a structural diff tool that understands syntax
by pizza on Friday March 22, 2024 @02:30AM
(#39787921)
tree-sitter?
Re:Difftastic, a structural diff tool that understands syntax
by mehdix on Friday March 22, 2024 @05:41AM
(#39788897)
Not quite what you're looking for, but checkout bullshit.js[0].
Re:Difftastic, a structural diff tool that understands syntax
by germandiago on Friday March 22, 2024 @08:58AM
(#39790267)
No... I mean, this is a perfect example, seriously. Made me laugh.