It looks like ES6 and ES7 (draft) add several features Python users already enjoy, some of which RapydScript handles, some of which it does not. Of particular interest to me are the following:
- generators
- iterators
- list comprehensions (RS already handles)
- classes (RS already handles)
- variables in hash keys
- implicit packing/unpacking of arrays (RS already handles)
- imports (RS already handles)
- tuple packing/unpacking (RS already handles but has a few bugs)
When I started RapydScript, the goal was to do one thing and do it well. The language was intended to be the opposite of Python-in-a-browser solutions, it was intended to be fast and minimal. RapydScript has grown quite a bit since then, but since ES6 picking up the slack for us, the smart thing for a language aiming to be minimal would be to shed the excess logic. And that is what I'd like to do.
A while ago, one of the members suggested compiling to ES6 directly and then using babel.js to downcompile back to ES5. Given the evolution of ES6, and RS duplicating much of ES6 functionality, this seems like the best way forward. With this approach I could simplify RapydScript and reduce bugs. It would require that users wishing to compile ES5 install Babel as well, however. So I wanted to hear community's thoughts on that.