3 ms·
> such as this project which is converting tsgo to Rust If you'd like to follow, here's my attempt at converting tsgo to typescript (called tsts [1]). Admitted
by jeswin 4mo ago
> such as this project which is converting tsgo to Rust
If you'd like to follow, here's my attempt at converting tsgo to typescript (called tsts [1]). Admittedly there's AI involved, but it's a very mechanical job. Going from golang to ts is not a very difficult problem, the other way around would have been way harder. The plan is to then compile tsts to binary via tsonic.
[1]: https://github.com/tsoniclang/tsts https://github.com/tsoniclang/tsts
- satvikpendem 4mo agoInteresting, seems to be a very roundabout way of doing it. Have you tried compiling the current TypeScript implementation which is still in TypeScript, as tsgo is for TS 7? If so, what were the results?
- jeswin 4mo agoYep. The MS compiler written in TypeScript has a lot of dynamic behavior which tsonic cannot support. Those were not easy to port either, and tsgo seemed like a much easier target.
- IshKebab 4mo agoUhm... You're trying to port Typescript's Typescript-to-Go port back to Typescript? Am I missing something?