summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* flag for printing positions of matchesHEADmainstuebinm2024-04-192-19/+103
| | | | | | (instead of just printing them, might be useful for scripts — also, I've not come up with a better name than "nixq" yet, so it really ought to be able to query things)
* add simple testsstuebinm2024-04-173-189/+252
|
* produces & print errors for unknown query constructsstuebinm2024-04-162-18/+53
| | | | | Not sure yet if i'll keep the printing code, it's kinda fragile & there's almost definitely a crate which i could use instead.
* add an actual AST for the query languagestuebinm2024-04-164-193/+174
| | | | | | | this incidentally also moves a lot of the parsing logic out of piplines.rs and instead keeps it in queries.rs, where it should probably be anyways, so the pipeline module can focus on just … well, applying the filter pipeline
* version 0.0.20.0.2stuebinm2024-04-123-11/+45
| | | | | | since this is apparently enough to edit all of nixpkgs to remove lib.mdDoc without (?) breaking anything, I think it should qualify as a tiny, tiny release.
* matching on elements by relative rolestuebinm2024-04-121-1/+33
| | | | just a skeleton to see if this works
* rework handling of whitespace around deletionsstuebinm2024-04-121-63/+75
|
* some restructuring, arg handling, re-enable batchmodestuebinm2024-04-126-262/+567
|
* very basic query languagestuebinm2024-04-037-328/+853
|
* rust script to automatically add meta.mainProgram to nixpkgsstuebinm2024-03-196-0/+657
with thanks to pennae, who showed that this approach was possible (and wrote the status-report widget) https://github.com/pennae/nix-doc-munge