Shepherd.js - Implementing Harmony modules for today's browsers

Erik Arvidsson erik.arvidsson at
Wed Apr 18 14:06:22 PDT 2012

This is quite interesting. I really feel that the comment syntax is
pretty ugly. Parsing JS is non trivial but it is not a performance
issue. If you expect this to have some uptake I would expect it to use
the "real" module syntax and not rely on comments.

By coincidence I landed import support to Traceur last night. You
might want want to check it out. It also doesn't use the latest syntax
since the current BNF on the wiki is incomplete.

Traceur does have a CodeLoader that allows loading external js files
but it is not very convenient to use at this point. We have an open
bug to allow offline compilation of modules with external


More information about the es-discuss mailing list