Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
odvcencio
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
odvcencio
7mo ago
i really appreciated this comment the most because of how much work "somehow" is doing here
2.
▲
by
odvcencio
7mo ago
ii am trying to not take issue with this comment because im aware of the huge stigma around ai generated code. i needed this project so i made it for my use case and had to build on top of it. the only way to ensure quality is to read it al
3.
▲
by
odvcencio
7mo ago
the 90x figure is on Go source for apples to apples against CGO bound tree-sitter. your use case is not one i designed for although yeah maybe the readme has some sections too close. the only external scanner missing atm is norg. now that i
4.
▲
by
odvcencio
7mo ago
thank you for the kind words! Very cool project! Very happy you can find some utility in it
5.
▲
by
odvcencio
7mo ago
yes and if you clicked the links you would know that i did answer it in the readme.
6.
▲
by
odvcencio
7mo ago
well how did it do?
7.
▲
by
odvcencio
7mo ago
re: up to date grammars, yes i found the official grammars in use by the original tree-sitter library today
8.
▲
by
odvcencio
7mo ago
yes basically about 70% of the engineering effort was spent porting the external scanners and ensuring parity with original (C) tree-sitter
9.
▲
by
odvcencio
7mo ago
206 binary blobs = 15MB, so not crazy but i built for this use case where you can declare the registry of languages you want to load and not have to own all the grammar binaries by default
10.
▲
by
odvcencio
7mo ago
yeah the tests live with the implementation code always (Go thing) and the repo root thing is like a preference, main is an acceptable package to put stuff in (Go thing), i see this a lot with smaller projects or library type projects
11.
▲
by
odvcencio
7mo ago
gah,. sincere apologies for formatting of this post. i ahve been on HN for basically 10 years now without ever having made a post (:
12.
▲
by
odvcencio
7mo ago
it is interoperable with git. we like git when its good but attempted to ease the pains in UX somewhat. you can take advantage of got locally but still push it to git remote forges jsut the same. when you pull stuff in this way, got will lo
13.
▲
by
odvcencio
7mo ago
primarily, got is structural VCS intended for concurrent edits of the same file. it does this via gotreesitter and gts-suite abstractions that enable it to: - have entity-aware diffs - not line by line but function by function - structura
14.
▲
by
odvcencio
7mo ago
thanks so much for the note! i really appreciate it. i built this precisely for folks like yourself with this specific pain, thanks again!
15.
▲
by
odvcencio
7mo ago
oh wow! i really thought i was being too clever but i shouldve assumed nothing new under the sun. well im taking name suggestions now!
16.
▲
Show HN: I ported Tree-sitter to Go
(github.com)
222 points
by
odvcencio
7mo ago
|
106 comments