You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
amkraev697642
changed the title
Document JavaScript port (jslt-js) in README
Document JavaScript port (jslt-js) in README; add it to playground
Jul 3, 2026
@larsga — Please review when you have a moment. I found JSLT very useful, so when I found there is no javascript engine available, faithfully ported it. Most direct port, 1 to one class files. All fixture tests pass + added more tests:
➜ jslt-js git:(main) ✗ npm test
jslt-js@0.1.2 test
node --test
✔ fallback (macro): short-circuits on first value that isn't null/{}/[] (isValue, not isTrue — "" and 0 count) (2.526833ms)
✔ flatten (3.116458ms)
...
✔ custom JS functions register via the extensions/functions option (0.400291ms)
✔ parse errors surface as JsltException with location info (0.476167ms)
ℹ tests 710
ℹ suites 0
ℹ pass 710
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 457.871834
This PR just adds README link to jslt-js, and a Run in JS button in the playground.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Notes