I've been playing with TreeSitter a little bit, which is quite interesting. In particular a Markdown parser for it. The parser has decided to split itself into two parsers (following CommonMark parsing suggestion): first Block, then Inline. However, lots of useful TreeSitter stuff cannot span that boundary automatically. E.g. TreeSitter queries. So if you want to find an anchor inside a header, you've got to write two queries. Frustrating.
- replies
- 0
- announces
- 0
- likes
- 0