Edoardo Luppi
07/18/2024, 9:34 AMjs(...)
calls, until I read the actual code that parses it.
Basically K/JS hosts a copy of the old forked GWT Rhino parser, which coincidentally hasn't been updated in 10 years under GWT itself.
That means supporting new ES standards isn't as straightforward as I thought: to support coroutines as JS generators the copied Rhino parser had to be refactored.
So the question is, why is Kotlin still using an old version of Rhino, instead of bringing in Rhino as a standalone dependency, or repackaging it from Mozilla?Artem Kobzar
07/18/2024, 9:39 AMArtem Kobzar
07/18/2024, 9:40 AMEdoardo Luppi
07/18/2024, 9:50 AM**
operator, which has been worked around using a Function
call, but which might not be desirable as it's a form of runtime evaluation.bashor
07/18/2024, 8:06 PMEdoardo Luppi
07/19/2024, 8:07 AMjs("...")
docs don't even mention validation, most people think they can pass whatever to it.Edoardo Luppi
02/11/2025, 9:02 PM