Lars Marius Garshol

Results 294 comments of Lars Marius Garshol

Hmmmmm. I'm not sure modifying the expression tree is the best way to go. Could you generate helper functions for these union types as a module and then import and...

I've been wondering whether people really wanted a more full-featured CLI, but this issue (and PR #182) convince me that the answer is yes. I think all of your suggestions...

The CLI jar should also: "Set the manifest in the shadow jar to reference the Main-Class"

The easiest way at the moment is to use [the playground](https://www.garshol.priv.no/jslt-demo) to try out parts of your transformations. Actual interactive debugging is [being discussed](https://github.com/schibsted/jslt/discussions/169), but I don't know that anyone's...

A print function is a really good idea! I'm thinking it might be better to have it print to some internal data structure that can be picked up, rather than...

I agree that the `for` loop is cumbersome for this, and I have been thinking about supporting something similar to the JsonPath syntax. It might still take a while to...

We don't have anything like that at the moment, unfortunately. It would be very welcome, but personally I am not going to write it. Volunteers welcome. :)

Couldn't you just write `[for (myobj) . if (.b or c.e)]`?

I missed that you want to extract part of the structure, and not just the values. My bad. Ok, I need to think more about this.

> Is JSLT expression considered as a first-class jslt type? No. The only things that are considered acceptable values in JSLT are JSON values. > Can I have an extension...