Re:Let's create a Tree-sitter grammar
by dumbo-octopus on Wednesday March 20, 2024 @12:51PM
(#39769127)
I have no idea what other folks are doing to stabilize it. For me, I needed a ton (hundreds of thousands) of JS/TS(X) files parsed and ingested into other data pipelines and the segfaults were constant^. If you had a system where single files were only parsed on-demand via separate worker thread and the consequence of a segfault was the text appearing monotone, I'm sure you'd be alright.
^One example: https://github.com/wasp-lang/wasp/blob/main/waspc/data/Gener...