badtuple
badtuple
Yes YAML's inline form is a superset of JSON, but that doesn't make it trivial to write JSON in YAML. I don't want to trust that the input is well...
> Is filter going to be able to take functions? Depends what you mean, but yes. The expressions inside the parens in a syntax like `LOG_NAME | filter( msg.val ==...
> I feel like the math ones are all important personally. avg, max, min, stddev etc Totally agreed. Nice thing about Filter additions is that they are "just functions" so...
Ok, I think I have a better representation of the language in the form of a full parser. This is the grammar in [pest.rs syntax](https://pest.rs/): ``` WHITESPACE = _{" "...
Each filter gets the return of the filter before it. So if I understand your question correctly, you could define your custom filter `@my_extract_val_func` and use it like this: ```...
May bad. The `filter1`/`filter2` stuff was just a placeholder for the language level `Filter` item...not the higher-level-function "filter" that we've been using to discuss Iterators previously. The function `filter` can...
@AndrewScibek great question. So there aren't any pipeline languages like we were talking about floating around, but I went ahead and wrote https://github.com/badtuple/pipelang . This is a very small interpreter...
Just kinda wrapping this up. I'm definitely incorporating Pipelang into the project, infact I'm considering moving the crate into this repo as part of the workspace. Going forward with the...