Skip to content

Releases: tonysparks/jslt2

Fixed object indexing by string

14 Nov 21:31
ed7d601
Compare
Choose a tag to compare

Fixed indexing objects by string value:

{
   "a" : .data."hello"
}

Fixed array slicing

03 May 01:07
b9d5734
Compare
Choose a tag to compare
Merge pull request #17 from tonysparks/array_slice_fix

Fix array slice syntax issues

Bug fixes!

26 Mar 00:00
Compare
Choose a tag to compare

Bug fixes for:

  • multiply string "x" * 3" should equal "xxx"
  • object concat should prioritize the left most { "x" : 1 } + { "x" : 2 } should equal { "x" : 1 }
  • array slice end index now allows for negative indexing
  • for loops now return null if the input is null { if (null) .} should equal null
  • proper error handling of binary operations on numbers if they are not numbers (exception with multiplication)
  • added replace, trim, substr functions

Async feature

12 Feb 21:45
Compare
Choose a tag to compare
  • Introduction of experimental async feature
  • Minor bug fixes
  • Minor performance optimizations (less generic opcodes)
  • More command line options