<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/main/main.go
Commit message (Collapse)AuthorAgeFilesLines
* All registers are now lists of atoms instead of lists of valuesCharlie Stanton2023-04-211-5/+13
| | | | This is to reduce the amount of translating between them that needs to be done
* Replaces the workspace with 3 distinct registers: path, value and xregCharlie Stanton2023-04-191-4/+9
| | | | | | 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-5/+0
|
* Modify subex to take JSON split into "data"Charlie Stanton2023-02-221-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 packageCharlie Stanton2023-02-191-29/+8
|
* Removes obsolete subex code from main/main.goCharlie Stanton2023-02-191-580/+0
|
* Introduces subex processingCharlie Stanton2023-02-191-4/+5
| | | | Doesn't integrate it at all yet
* Adds the or operator |Charlie Stanton2022-09-211-2/+34
|
* Implements the first version of subexCharlie Stanton2022-09-211-0/+564
|
* Refactors some stuff and adds lexing and parsingCharlie Stanton2022-08-261-85/+34
|
* Initial commitCharlie Stanton2022-08-231-0/+139
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