Skip to content

On modifying tsc to generate Go code and transpile the codebase #467

Answered by jakebailey
haxiomic asked this question in Q&A
Discussion options

You must be logged in to vote

The port is not a full "transpile approach" from TS to Go; we used a code generator to generate "syntactically valid" code, but so much of the codebase required data structure changes, moving things around, that it may not be feasible to keep the source of truth in TypeScript. Most everything in this repo was hand-written (or at least, hand-accepted completions; something like Copilot when given context does sort of figure it out).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by haxiomic
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants