Btw, the amount of work that I see in the backgrou...
# javascript
e
Btw, the amount of work that I see in the background is quite impressive. Just from memory: • implementation of an ANTLR-based parser for ES6+ support in
js(...)
(+ unblocks other stuff like SWC) • port of the export model to the Analysis API (more comprehensive information available to write the d.ts files) • simplification of the code generation for coroutines (better bundles) • and all the work that is being put on the testing infra, it seems None of them seem straightforward, and it shows the level of effort put into improving usability. So big props to the K/JS team.
yay 3
❤️ 9
a
what does SWC stand for in this context?
a
To resume:
SWC (stands for
Speedy Web Compiler
) is a super-fast TypeScript / JavaScript compiler written in Rust
a
Thanks @Ayfri
👍 1
a
Hey, thanks for the kind words! kodee loving > implementation of an ANTLR-based parser for ES6+ support I want to add a small notice here - it is still not possible to use ES6 in
js()
calls as of today (with small exceptions), but with that refactoring completed, it has become possible to add all missing ES6 features in a fast and convenient way, which is in progress. If you're interested, you can track progress here https://youtrack.jetbrains.com/issue/KT-21626
gratitude thank you 1
👍 1
m
I can't but mention there's a faster solution than SWC - OXC Just to take into consideration, too
👍 1
e
Indeed, I've seen they've managed to implement an even faster parser. However, the SWC project is way more mature imo.