JazzleWare / jazzle-parser

relatively small and ridiculously fast parser for all versions of ECMAScript/Javascript, written in the greatest common divisor of all versions of ECMAScript
MIT License
8 stars 2 forks source link

bugs, missing features and spec violation #16

Closed ghost closed 7 years ago

ghost commented 7 years ago

@icefapper

  1. Import and Export is broken. Does not handle early errors. E.g

    var a, b; export default a; export { b as default }; export { a, b as c } export default 1; export default 2; export { a as default } export { a }

All this fails. See also https://github.com/JazzleWare/jazzle-parser/issues/12

  1. Async parses for ES6
    1. Exponent parses for ES6
    2. ESTree violation. Author call it "extra information".

And does not handle

({a({e: a.b}){}})
(function* ({e: a.b}) {})
(function ({e: a.b}) {})

And most of the todos in the code haven't been fixed for months