News for hackers. Stuff that matters.
Re:Rome: An experimental JavaScript toolchain by Waterluvian on Thursday February 27, 2020 @01:39AM (#22431150)
Well, Typescript is literally checked in to the repo under node_modules. So I imagine the author just means "forget lockfiles, let's check this all in."
Re:Rome: An experimental JavaScript toolchain by sebastianmck on Thursday February 27, 2020 @01:42AM (#22431169)
The TypeScript type checker is only used to type check the Rome source code. The compiler is not used at all.
Re:Rome: An experimental JavaScript toolchain by gonzus on Thursday February 27, 2020 @03:05AM (#22431535)
Do you plan to self-host at some point, and get rid of the dependency on the (external) TS compiler?
Re:Rome: An experimental JavaScript toolchain by Vinnl on Thursday February 27, 2020 @03:54AM (#22431741)
As I understand it, the goal is not for Rome to do type-checking, but just for it not to choke on TypeScript's syntax (i.e. what Babel does):

> Supporting those "compilers" is just supporting their syntax, which both fortunately already have very good compliance test suites because other tools like Babel already reimplement their syntax anyway.