scriptc
TypeScript-to-Native Compiler
...The compiler uses the real TypeScript checker, lowers supported code into a typed intermediate representation, and generates native code through LLVM or C. A coverage command explains which statements compile statically and identifies unsupported constructs with precise diagnostics. Optional dynamic mode embeds QuickJS for npm dependencies and loosely typed code while validating values that cross into static code. The supported surface includes major language features, standard collections, many Node APIs, networking, TLS, fetch, streams, and asynchronous programming. Differential tests compare native output with Node.js, while sanitizer testing checks memory safety and documented divergences.