资 源 简 介
Cpy translator
This project aims to write C code with a python style. Means, no curly braces, no semicolons.
This project goals is to simplify C coding:
Imagine the following:
int main (int argc, char * arg_v[]){ printf("Hello World!
"); return 0;}
As:
int main (int argc, char * arg_v[]) printf("Hello World!
") return 0
Cpy will translate the code for you so that you can compile it on a normal C compiler.
Tutorial
Copy and paste the example above and save it to hello_world.cpy .
Install cpy-translator and in the folder where you saved the file do in the command line:
depythonizec helloworld.cpy > hello_world.c
Compile hello_world.c with your desired C compiler.
News!
Subscribe to the mailing list!
Discussion Mailing List
<