How to: [⏫](#contents) Transpile C to Go with [cxgo](https://github.com/gotranspile/cxgo)
CxGo is a tool for translating C source code to Go (aka transpiler, source-to-source compiler). It uses cc v3 for preprocessing and parsing C (no clang/gcc dependencies!) and a custom type-checker and AST translation layer to make the best output possible. — [@dennwc](https://github.com/dennwc)

```
cxgo file main.c
```

Requirements
```
go install github.com/gotranspile/cxgo/cmd/cxgo@latest
```