DescriptionBegin modernization of --harmony-modules
The approach taken in this CL is to incrementally move toward the
currently-specced version of modules in ES6. The biggest change in this
patch is separating the parsing of modules from the parsing of scripts,
getting rid of the 'module' keyword and thus disallowing modules-in-scripts
as well as modules-in-modules.
The syntax supported by import/export declarations has not yet been significantly
changed, with the major exception being that import declarations require a string
as the 'from' part.
Most of the existing tests have been disabled, with a first new test added
in cctest/test-parsing.
BUG=v8:1569
LOG=n
Committed: https://crrev.com/aeb3a7174050e67267a4e2c123469f040400008e
Cr-Commit-Position: refs/heads/master@{#26299}
Patch Set 1 #
Total comments: 11
Patch Set 2 : Dealt with rossberg comments #
Messages
Total messages: 11 (3 generated)
|