Re: [pypy-dev] translating own language to shared lib

2013-01-04 Thread Armin Rigo
Hi, Regarding your other question: "how to embed PyPy in C/C++ application", missing _Py_Initialize. It's not supported for now but could be, given enough work. Here is an alternative, assuming that you don't need to have an interface compatible with CPython (the PyXxx functions). We could come

Re: [pypy-dev] translating own language to shared lib

2013-01-04 Thread Armin Rigo
Hi Araud, On Thu, Jan 3, 2013 at 8:30 AM, Александр Рауд wrote: > Is there anywhere a minimal working example of an own language translated to > shared library, not standalone executable? As we discussed on irc: you need "translate.py --shared targetfoobar.py". This makes a .dll and a .exe. Th