A C-style compiler with llvmpy
- Download LLVM3.4 http://www.llvm.org/releases/download.html#3.4 , then compile it.
- Install llvmpy as it's official site says. http://www.llvmpy.org/ .
- Run python cmcompiler.py
- You can use functions, arrays, and global variable like C.
- You can use type casting like C.
- It supports four data types: char, int, double and String. All of them is signed.
- Bit computing and logic computing is supported.
- It doesn't support pointer and structs right now.
- It only supports to compile a single c file right now.
- It Lacks of pointers, so I add "String" type to support string, something like java.
- For loop is not supported. The four points above are not going to be in my version 1.0. I will try to put them in version 1.5.
Version1.0. I will try to add pointer in next subversion