News for hackers. Stuff that matters.
Re:A Python-to-JavaScript Transpiler with BabelJS and Source... by azazel75 on Thursday March 31, 2016 @08:12AM (#11396548)
Python lists are supported:

* as literals;

* in for loops;

Keyword arguments accumulator has no corresponding feature in the ES6 world, as far as I know....

Re:A Python-to-JavaScript Transpiler with BabelJS and Source... by coldtea on Thursday March 31, 2016 @09:29AM (#11396972)
>Keyword arguments accumulator has no corresponding feature in the ES6 world, as far as I know....

As a feature no, but Python code using that could be easily transpiled to a function taking a dict with the args...

Re:A Python-to-JavaScript Transpiler with BabelJS and Source... by azazel75 on Thursday March 31, 2016 @09:56AM (#11397155)
It's implementable really and it is half-implemented, have a look at the call conventions... additional keyword arguments can be specified without any problem

The problem is that there's no kwargs equivalent in js land.. and probably i don't want to wrap any call to make it possible.