pyplus
takes the { } out of c++
about
a tool that generates normal c++ code (.h and .cc) from "python indented" c++ code (.pyp)
download
pyplus.tgz | for the latest check out svn://www.imitationpickles.org/pyplus/trunk
features
- takes the { } out of c++
- takes the ; out of c++
- takes the "maintaining both a .h and a .cc" out of c++
- indented code format
- takes the excess ( )'s out of c++ (uses :'s instead)
- easy building of projects using "import" dependancies
- easy generation of swig bindings
example code
#include
int main(int argc, char *argv[]):
for int i=1; i<=10; i++:
printf("Hello World\n")
get the idea?
links
- python
- swig - a wrapper / interface generator for
many languages. you can use pyplus with it.
- shedskin a "restricted python" to c++ converter
- pyrex a python like language that creates python c modules
- psyco automatically speed up python modules
- pypy an effort to create an implementation of python in python that is faster than cpython!
- cinpy Cinpy is a Python library that allows you to implement functions with C in Python modules. The functions are compiled with tcc (Tiny C Compiler) in runtime. The results are made callable in Python with ctypes library.