Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implements subex substitutions for the value register | Charlie Stanton | 2023-04-19 | 1 | -1/+17 |
| | |||||
* | Replaces the workspace with 3 distinct registers: path, value and xreg | Charlie Stanton | 2023-04-19 | 2 | -28/+34 |
| | | | | | | 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 nothing | Charlie Stanton | 2023-04-19 | 4 | -5/+58 |
| | |||||
* | Modify subex to take JSON split into "data" | Charlie Stanton | 2023-02-22 | 1 | -13/+1 |
| | | | | | | Currently no way to reassemble the data on the other side Much of the potential data cannot be interacted with meaningfully, only the string functionality is implemented Should rename data to something else | ||||
* | Move JSON serialising, deserialising and walking code into a separate package | Charlie Stanton | 2023-02-19 | 6 | -381/+80 |
| | |||||
* | Removes obsolete subex code from main/main.go | Charlie Stanton | 2023-02-19 | 1 | -580/+0 |
| | |||||
* | Introduces subex processing | Charlie Stanton | 2023-02-19 | 1 | -4/+5 |
| | | | | Doesn't integrate it at all yet | ||||
* | Adds the or operator | | Charlie Stanton | 2022-09-21 | 1 | -2/+34 |
| | |||||
* | Implements the first version of subex | Charlie Stanton | 2022-09-21 | 1 | -0/+564 |
| | |||||
* | Adds some new commands | Charlie Stanton | 2022-09-21 | 4 | -16/+309 |
| | |||||
* | Adds new filters | Charlie Stanton | 2022-08-27 | 3 | -41/+87 |
| | | | | | | | | - Begin terminals - End terminals - All terminals - Negate - AND | ||||
* | Adds a bunch of new path pattern features | Charlie Stanton | 2022-08-26 | 4 | -44/+101 |
| | | | | | | - Bracketting in expressions - OR with | - Optional with ? | ||||
* | Refactors some stuff and adds lexing and parsing | Charlie Stanton | 2022-08-26 | 8 | -123/+593 |
| | |||||
* | Initial commit | Charlie Stanton | 2022-08-23 | 5 | -0/+588 |
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 |