9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.62k stars 320 forks source link

Transpilation to Golang #237

Closed Konstantin8105 closed 5 years ago

Konstantin8105 commented 5 years ago

Hello! If you want transpile from C to Golang, then you can use my project c4go. Just for example, I take for example folder plan9port/src/cmd/troff. Run c4go transpile -clang-flag="-I../../../include/" n*.c dw*.c t*.c. As result we have Go file.

Some notes about transpilation:


Konstantin

rsc commented 5 years ago

Thanks for the heads up. For now we'll keep things in C but I am happy to hear about c4go. Best, Russ.