top | item 44681232

(no title)

orta | 7 months ago

tsc's code is mostly the type-checker, you want to look for a "transpiler" here, so embedding either swc, esbuild, sucrase or the like to handle the process of converting for you. I've never heard of one written in C++ but that may exist.

discuss

order

silverwind|7 months ago

swc exists as wasm which any browser should be able to execute.