What I wanted Babel to be: A thread
-
-
Today's JavaScript programs uses several different parsers spread across the engines the code is executing in, all the way to the linters, compilers, bundlers and more that are a part of the development process.
Show this thread -
Consolidation of parsers isn't very interesting though. Sure we can all share the same AST, and syntax support, but that doesn't give us any new capabilities. What I'm excited about are things like:
Show this thread -
- a testing framework that uses the same bundler for your test files as the one in production - a linter built on top of compiler so you can do complex AST autofixes - a single config file - a bundler that understands how dependencies are used, and optimizes your bundle
Show this thread -
- a minifier that does constant folding and inlining - a compiler transforms that don't rely on order - a compiler that uses an immutable AST to perform transforms, with accurate scope tracking - a linter that gives me suggestions on how to fix my code - ...
Show this thread -
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 