News for hackers. Stuff that matters.
Re:Babili: An ES6+ aware minifier based on Babel by yladiz on Tuesday August 30, 2016 @05:10PM (#12393933)
But my point still stands -- why don't they just work with the acorn developers to get specific features rather than build their own?
Re:Babili: An ES6+ aware minifier based on Babel by hzoo on Tuesday August 30, 2016 @05:51PM (#12394232)
I would like that too! I don't think there have been any features added since the last one with Babel 6 release.

Yeah there's multiple JavaScript parsers: esprima, acorn, shift, babylon (uglify has their own parser I think).

There was an effort to standardize as well in https://github.com/estree/estree.

EDIT:

However, in Babel 6 there were a few (nice) incompatible changes to the AST which was unfortunate for interop and other tools (https://github.com/babel/babel-eslint had to make a lot of changes).

I don't want to speak for him, but I think a lot of the decisions to fork (parser, etc) at the time were most likely made like mentioned above to move faster. And at the time, Sebastian was basically the only one working on it. Maybe more context from his post: https://medium.com/@sebmck/2015-in-review-51ac7035e272#.qcyz...

Re:Babili: An ES6+ aware minifier based on Babel by anotherthing on Tuesday August 30, 2016 @06:02PM (#12394312)
acorn is an ECMAScript parse library that emits a JSON parse tree. It does its job very well, but doesn't do anything else.