c2go icon indicating copy to clipboard operation
c2go copied to clipboard

Convert C to Go

Results 15 c2go issues
Sort by recently updated
recently updated
newest added

Lua has a very-low golang impl named gopher-lua. If c2go can compile lua and benchmark the gen-code, the result will track more attention for c2go.

c-library-request

I want to translate some other projects: * https://github.com/AravisProject/aravis * https://github.com/opencv/opencv

I get the error: ``` c2go.exe hello.c 2022/04/11 09:54:54 compileFunc: unknown kind = GNUInlineAttr ``` Environment: Windows 11, msys2

bug

https://github.com/bellard/quickjs could be a really good target, it has agreat ecmascript compability written in pure c. transpiling quick.js to go will make deno like node.js replacement easier to implement.

c-library-request

https://www.pcre.org/ The golang standard library uses the RE2 engine, which is not syntactically compatible with pcre. Some systems only support pcre regular expressions, so I hope c2go can convert and...

c-library-request

test.c ```c static void a() { static int a = 1; } static void b() { static int a = 2; } ``` output ```shelll ==> Compiling test.c ... #...

Bumps [github.com/goplus/gogen](https://github.com/goplus/gogen) from 1.15.0 to 1.15.1. Release notes Sourced from github.com/goplus/gogen's releases. v1.15.1 features: cb.Typ.Member for TyTemplateRecvMethod (#404) cb.VarRef(name string) (#403) Commits b070611 Merge pull request #404 from xushiwei/gogen 18cd65e...

dependencies

ggml is pure c lib for llama.cpp and other llm project.

It seems cant pass include params to clang? ``` PS H:\Development\github\goplus\c2go\testdata\printf> c2go -v .\printf.c 2024/01/30 11:46:09 ==> runCmd: clang [-E -o H:\Development\github\goplus\c2go\testdata\printf\printf.c.i H:\Development\github\goplus\c2go\testdata\printf\printf.c] H:\Development\github\goplus\c2go\testdata\printf\printf.c:1:10: fatal error: 'stdio.h' file not found...

bug

I wanted to do some testings on converting this WinRAR KeyGen, which is c++ (cpp) based: https://github.com/bitcookies/winrar-keygen into pure GoLang. But it includes `.hpp`, `.cpp`, `.h` files, but no `.c`...

enhancement