Fork me on GitHub

Think I'll revert my 2,ee experiment for now :thinking_face: I think the multiple pair type searching works well though, so you can eval [...] forms now! To get the "walk this many levels out" or "this many levels in from the root" requires a rewrite of the form extraction code. It's suuuuuper tricky.


Another reason to scrap what I was experimenting with, it would let you use 3,ee to eval 3 levels out of ONE kind of pair, so if you had [] mixed with () and {} you'd get super inconsistent results.


Requires a rethink


Would be great if there was a searchpairpos that returned every match's position


If anyone has a chance to try out evaluating [] and {} forms on develop I'd love to have your feedback! It's working well for me but I'm sure I'm being too careful. If you have some weird combo of different pairs in a huge function, let me know if it still evaluates what you think it should.


If you want the old behaviour back, :ConjureConfig extract.form-pairs [["(" ")"]] would basically revert this change.