Fork me on GitHub
#vscode
<
2020-02-14
>
sogaiu04:02:24

@pez i've been working on integrating the various attempts at clojure grammars for tree-sitter. still more work to be done, but here is what i was able to do using the parse tree

sogaiu04:02:40

with the caveat that the grammar is not complete, current performance to parse (via tree-sitter's cli) is about 20ms for clojure.core here.

sogaiu04:02:40

the image is mostly about demoing the outline view constructed -- some of the highlighting was also done via info obtained from tree-sitter.

pez07:02:44

20ms is crazyily fast. I'll clock my various parsers and see what I have.

sogaiu11:02:31

looking forward to your numbers! would like to execute tests locally too so the environment is consistent for tests. i hope it is practical to reproduce your testing.

pez11:02:28

Yeah, I'd love to run your tests as well. Even if I think the magnitude will tell us the story anyway.

sogaiu11:02:29

makes sense. i'll try to put some of these bits up somewhere before long 🙂