genotrance /
nimgen
Nimgen is a helper for c2nim to simplify and automate the wrapping of C libraries
Loading repository data…
nim-lang / repository
c2nim is a tool to translate Ansi C code to Nim. The output is human-readable Nim code that is meant to be tweaked by hand before and after the translation process.
c2nim is a tool to translate ANSI C code to Nim. The output is human-readable Nim code that is meant to be tweaked by hand after the translation process. c2nim is no real compiler!
Please see the manual here.
Run nimble install c2nim.
c2nim is preliminary meant to translate C header files. Because of this, the preprocessor is part of the parser. For example:
#define abc 123
#define xyz 789
Is translated into:
const
abc* = 123
xyz* = 789
c2nim is meant to translate fragments of C/C++ code and thus does not follow include files. c2nim cannot parse all of ANSI C/C++ and many constructs cannot be represented in Nim.
Selected from shared topics, language and repository description—not editorial ratings.
genotrance /
Nimgen is a helper for c2nim to simplify and automate the wrapping of C libraries
genotrance /
Nimssl is a Nim wrapper for the OpenSSL library
genotrance /
Nimfuzz is a Nim wrapper for the fts_fuzzy_match library by Forrest Smith
genotrance /
NimBASS is a Nim wrapper for the BASS audio library.
genotrance /
Nimrax is a Nim wrapper for the rax library
genotrance /
This project is a Nim wrapper for the libsvm library