Replying to 6b75701d...

I just published a tool called smatch that I've wanted for a while now. A grep-like tool to do pattern matching on S-expressions (#lisp) using #regex-like syntax for trees.

It also has recursive patterns, so you can pattern match with patterns that look like grammars.

My end goal is to use them for #SMTLIB but it should still work for most lisps (clojure being an exception).

The code and an x86_64-linux static binary are here: https://github.com/geezee/smatch

Avatar
kakafarm (previously New Red Tower) 1y ago

Thank you.

Reply to this note

Please Login to reply.

Discussion

No replies yet.