Re:C to Go translation tool supporting Go toolchain migration
by azernik on Tuesday January 20, 2015 @03:15AM
(#8915950)
For the casual reader, in case other comments don't make this clear - this is not a general-purpose translation library, and probably will not work for whatever C codebase you have. It is a one-off tool built to migrate the specific subset of C used in the original go compilers, as part of the process of making the go toolchain self-hosting (go compilers written in go).
This translator produces a VERY literal translation, as the intention is for future human passes to clean it up and convert it to more idiomatic go.
This translator produces a VERY literal translation, as the intention is for future human passes to clean it up and convert it to more idiomatic go.
See here for the full plan: https://docs.google.com/document/d/1P3BLR31VA8cvLJLfMibSuTdw...