svaarala / duktape

Duktape - embeddable Javascript engine with a focus on portability and compact footprint
MIT License
5.96k stars 516 forks source link

Duktape "roadmap" #1929

Open gonzus opened 6 years ago

gonzus commented 6 years ago

I am wondering if there is a single place with a list of what is planned for the (near) future of Duktape. I have seen separate issues for changes introduced in newer JS versions (scoping / const / let, module / export, arrow functions, etc.), but for some other features I have not found any docs / issues.

To be more specific, are there already plans for each of the items in https://kangax.github.io/compat-table/es6/ that show up in red color for DUK2.x? for..of loops, destructuring, real const / let, arrow functions, class / super, Map / Set, Promise...

Please don't take this as an inconsiderate plea for "hurry up and implement the stuff I need"... I just want to know if there are people already working on any of these, or plans already exist, or whether they are all ready for the picking for anyone to implement.

I have read also that several of these items might depend on an updated implementation of the Duktape JS lexer / parser / analyzer; is that something that is already happening?

Thanks!

svaarala commented 6 years ago

Other than Github issues, there's no such plan other than ES2015 being eventually implemented. I've been chipping away on the easiest parts first -- in particular, those not requiring parser/compiler changes -- and many of the changes are dependent on reworking the parser and compiler. There's some prototype code for that, but nothing yet that is mergeable.