Lars Marius Garshol

Results 294 comments of Lars Marius Garshol

> the block ... will compute all 300+ "branchers" before the, loop I don't understand what you mean by that. The object will be created at compile-time. So the only...

You can do it like this: ``` def taxonomyCodeToSpecialtyAttrSubGroup(code) let table = { "193200000X" : "", "193400000X" : "", "207K00000X" : "", "207KA0200X" : "Allergy", "207KI0005X" : "Clinical & Laboratory...

Checking the behaviour of the attached transform I find that (on the command-line) it doesn't hang, but causes a stack overflow, as expected: ``` Exception in thread "main" java.lang.StackOverflowError at...

That might be a good idea. What kind of information are you looking for? > I wanted to add syntax sugar or new functionality to replace hundred entries of conditional...

That's well spotted! Thank you. And thank you for doing the implementation as well. Your proposed fix may be the right one, but a possible alternative that's less invasive is...

A third possibility is to make two breaking changes to the syntax at the same time. The one proposed here, and the rather annoying syntactic ambiguity where the end of...

# JSLT without Jackson A JSLT implementation that does not depend on Jackson may be useful for: * Users may need to avoid clashes with other dependencies that need different...

@jarno-r It would be interesting if you could do a benchmark comparison of your code with the existing JSLT code. Especially if you could push your code to a forked...

I wrote my own JSON interfaces and ported JSLT to run on top of that. I did a benchmark where I ran Jackson JSON objects wrapped for this new interface...

The work done so far is available on branch [own-json-interfaces](https://github.com/schibsted/jslt/tree/own-json-interfaces)