Elektrine lite

← Feed

@goldstein@im-in.space

Post #2455433

2026-04-18 17:19 UTC

chat, let’s say I have a tree (e.g. AST) and I want to do some matching: for example, find any nodes of kind a that are siblings to nodes of kind b. (ideally I’d also like to do rewriting, but that seems to be an easier part) are there any ready solutions I’m missing (preferrably in Rust, but like, whatever, I’m open to various languages)? I looked at https://docs.rs/selectors, which is kinda neat, but API surface I need to implement to use is large and it doesn’t let me do queries that return multiple nodes

Replies (0)

No replies.