Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Adds the sum operator | Charlie Stanton | 2023-04-18 | 3 | -9/+78 | |
| | | | | Currently doesn't parse strings as each atom is considered independantly. Instead individual characters in strings can be cast | |||||
* | Removes try, maybe, maximise and minimise | Charlie Stanton | 2023-04-18 | 2 | -63/+1 | |
| | | | | These are no longer necessary and have been replaced by repeat | |||||
* | Adds the repeat construct, obsoleting maximise, minimise, try, maybe and ↵ | Charlie Stanton | 2023-04-18 | 3 | -12/+151 | |
| | | | | | | probably more The repeat construct repeats a subex a number of times, this number is based on a provided list which is ordered by priority and can be unbounded. | |||||
* | Fix bug where SubexStoreState is sometimes not a pointer | Charlie Stanton | 2023-03-15 | 1 | -1/+1 | |
| | ||||||
* | Fixes strings being wrapped in quotes twice when outputting | Charlie Stanton | 2023-03-15 | 1 | -2/+2 | |
| | ||||||
* | Renames TransducerOutput to OutputContent (and related types) and moves into ↵ | Charlie Stanton | 2023-03-05 | 4 | -29/+28 | |
| | | | | main/subexstate.go | |||||
* | Changes the slot map so only runes can be used as slots | Charlie Stanton | 2023-03-05 | 2 | -7/+5 | |
| | ||||||
* | Renames walk.Datum to walk.Atom | Charlie Stanton | 2023-03-05 | 5 | -98/+114 | |
| | ||||||
* | Refactors out terminator literal stuff into a separate parsing function | Charlie Stanton | 2023-03-05 | 1 | -117/+37 | |
| | ||||||
* | Adds syntax to recognise and deal with starting and ending arrays, maps and ↵ | Charlie Stanton | 2023-02-26 | 1 | -0/+123 | |
| | | | | strings | |||||
* | Replace append with walk.ConcatData in many places to fix bug to do with ↵ | Charlie Stanton | 2023-02-26 | 3 | -7/+11 | |
| | | | | | | semantics of append When doing append, be very careful as it does make changes in place to the underlying array of the slice which may affect other slices | |||||
* | Converts subex output back into WalkValues and prints for easier debugging | Charlie Stanton | 2023-02-26 | 2 | -3/+92 | |
| | ||||||
* | Modify subex to take JSON split into "data" | Charlie Stanton | 2023-02-22 | 6 | -100/+167 | |
| | | | | | | 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 | 7 | -381/+396 | |
| | ||||||
* | Removes obsolete subex code from main/main.go | Charlie Stanton | 2023-02-19 | 1 | -580/+0 | |
| | ||||||
* | Introduces subex processing | Charlie Stanton | 2023-02-19 | 6 | -4/+636 | |
| | | | | 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 | 6 | -0/+591 | |
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 |