HackerTrans
TopNewTrendsCommentsPastAskShowJobs

aarol

no profile record

Submissions

In-browser autocomplete for entries with Radix Tries

aarol.dev
1 points·by aarol·il y a 6 mois·0 comments

What is a succinct data structure?

stackoverflow.com
1 points·by aarol·il y a 7 mois·0 comments

comments

aarol
·il y a 6 mois·discuss
https://aarol.dev
aarol
·il y a 7 mois·discuss
I've been toying around with tree-sitter and have seen the potential for a proper, non-regex based highlighter. It's really powerful because it actually parses the text into an AST. With the AST it's possible for example to make variables the same colour everywhere. A function passed as a parameter could be highlighted as a function even in the parameter list.

I'm happy to see that tree sitter highlighting on the web is finally a thing. This seems really solid although the bundle size is a lot.