<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/main/command.go
Commit message (Collapse)AuthorAgeFilesLines
* Replaces the workspace with 3 distinct registers: path, value and xregCharlie Stanton2023-04-191-24/+25
| | | | | | workspace contained a list of WalkItems, pairs of paths and values. The new system can still hold a list of values but only one path, which is in itself a list of values. The X register is miscellaneous. All 3 hold a list of values (which are JSON tokens)
* Adds parsing substitute commands, though executing them currently does nothingCharlie Stanton2023-04-191-0/+8
|
* Move JSON serialising, deserialising and walking code into a separate packageCharlie Stanton2023-02-191-18/+22
|
* Adds some new commandsCharlie Stanton2022-09-211-4/+16
|
* Refactors some stuff and adds lexing and parsingCharlie Stanton2022-08-261-15/+69
|
* Initial commitCharlie Stanton2022-08-231-0/+38
No parsing yet, but the execution is not bad Commands: - Print value - Toggle terminal (switch between array and map) - Filter command Filters: - Path filter Path filters are compiled from a regex like AST