Resolve user-defined filters before intrinsics#13
Conversation
|
I'm exploring rewriting the environment to use de Bruijn levels and this fix is a nice, safe first step before that. |
wader
left a comment
There was a problem hiding this comment.
Looks good! had a suggestion about one additional test
|
I added tests as suggested |
|
Thanks again! |
|
btw i can add you as a collaborator for the repo if you want? you seem to have good judgement :) |
|
I'd love to be a collaborator! I'll accept, once you add me in the UI. |
|
Glad to help reach 99%! If I revamp the bash CLI, I'll also be its undoing 😈 Actually, jq could handle the parsing, instead of bash! An auxilliary |
All methods allowed! 😬
Aha yes that is an interesting idea 🤔 |

This first tries to resolve a filter from the environment before checking if it's an instrinsic. If you want to verify this change, it can be observed that this is a simple swap of the branches, keeping the common
$namesetup.I also added
debug/1, as defined in builtin.jq, which replaces a manual definition.Fixes #11.