[pypy-dev] Re: Building a C extension that uses PyDictKeysObject on Pypy 3

2022-03-13 Thread Marco Sulla
Matti Picus wrote: > PyDictKeysObject is a > CPython implementation detail, and not meant to be used even with > CPython. The declaration is found in the cpython/Include/cpython/ > directory. Ah ok, I supposed it was public API because it doesn't have an underscore at the begin... Unluckily I

[pypy-dev] Building a C extension that uses PyDictKeysObject on Pypy 3

2022-03-12 Thread Marco Sulla
Hello. Sorry for posting in the dev mailing list, I did not found an user list for Pypy. I developed a C extension for CPython 3.6+. This extension uses PyDictKeysObject. I tried to enable Pypy in cibuildwheel, but I get a compilation error for PyDictKeysObject. What object can be used by C

[pypy-dev] Is it possible to create a compiler for a Python-like compiled language using RPython?

2023-02-05 Thread Marco Sulla
Hello, I would create a Python-like, static compiled language. I know I can create a lexer and parser with ANTRL for Python, but Python is interpreted. Can I use RPython as a base? How can I start to play with it? ___ pypy-dev mailing list --