Questions tagged [shedskin]

An experimental (restricted) Python-to-C++ compiler

Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python (2.4-2.6) programs into optimized C++. It can generate stand-alone programs or extension modules that can be imported and used in larger Python programs.

Besides the typing restriction, programs cannot freely use the Python standard library (although about 25 common modules, such as random and re, are currently supported). Also, not all Python features, such as nested functions and variable numbers of arguments, are supported (see the documentation for details).

4 questions
3
votes
2 answers

Shedskin - Compile Error

I'm currently trying to compile a python project (5files @ total 1200 lines of code) with shedskin. I tried shedskin Version 0.9.3 and 0.9.2 both result in the same errors. This is the first error I encounter: mmain.cpp: In function…
user1829358
  • 1,041
  • 2
  • 9
  • 19
1
vote
2 answers

Compile Python Code to Pascal DLL

I have a program written in Free Pascal. It imports functions from a DLL selected at runtime. They are imported with the pascal; keyword. I want to extend this program using python code. As I found out shedskin could be helpful for me in this…
Georg Jung
  • 949
  • 10
  • 27
0
votes
1 answer

Can shed skin be used on Cygwin (execinfo.h is missing when libgc installs)?

I wanted to try shed skin on cygwin. Installation of shed skin and libgc seems okay, but when I tried to make the shed-skinned Python script, it complains: /usr/lib/python2.7/site-packages/shedskin/lib/builtin.hpp:31:22: fatal error: execinfo.h: No…
boardrider
  • 5,882
  • 7
  • 49
  • 86
0
votes
1 answer

Shedskin can't locate module numpy

I'm using shedksin to convert a python file (that is dependent on numpy) to a C++ file. When executing through command prompt I get the error. Any ideas on what might be the problem ?
shed
  • 1
  • 1