summaryrefslogtreecommitdiff
path: root/src/main.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* flag for printing positions of matchesHEADmainstuebinm2024-04-191-19/+58
| | | | | | (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-171-187/+74
|
* produces & print errors for unknown query constructsstuebinm2024-04-161-3/+6
| | | | | 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-161-7/+15
| | | | | | | 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-121-9/+43
| | | | | | 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.
* rework handling of whitespace around deletionsstuebinm2024-04-121-63/+75
|
* some restructuring, arg handling, re-enable batchmodestuebinm2024-04-121-57/+149
|
* very basic query languagestuebinm2024-04-031-323/+85
|
* rust script to automatically add meta.mainProgram to nixpkgsstuebinm2024-03-191-0/+356
with thanks to pennae, who showed that this approach was possible (and wrote the status-report widget) https://github.com/pennae/nix-doc-munge