Meta bug for ES6 modules.
Let's keep the Loader implementation JS. It makes catching up the draft change easy. And we can extract / propose the spec from the actual working prototype relatively easy :)
Roadmap seems to be added to the draft repository. https://github.com/whatwg/loader/blob/master/roadmap.md
Created attachment 260029 [details] Patch WIP: the big picture of the final implementation. now breaking this into several patches
Created attachment 260044 [details] Patch WIP: drop C++ recursions
Created attachment 260137 [details] Patch WIP: rebase the patch based on the landed part
Created attachment 260139 [details] Patch WIP: rebase the patch based on the landed part, part 2
Comment on attachment 260139 [details] Patch Still have a problem in Export/Import module processing (order, and resolveExport part), I'll fix this part while extracting ModuleProgramExecutable from this patch.
Created attachment 260220 [details] Patch WIP: adding bunch of tests
OK, now, ES6 Modules in JSC shell is landed! It's time to integrate it to WebCore! (first, we'll enable it only inside WebKit, not expose it to user space, because the loader spec is not mature yet.)
<rdar://problem/14790682>