lp:~mwhudson/pypy/imported-pypy-genc
- Get this branch:
- bzr branch lp:~mwhudson/pypy/imported-pypy-genc
Branch merges
Branch information
Recent revisions
- 1888. By arigo
-
Some more tweaking reference counters. The resulting C code looks reasonable
now -- it tries hard to minimize the Py_{INC,DEC}REF().Moved a couple of private tests to test_ctrans.py. I'll try to figure out
later why you cannot call two test functions 'fn' without the two Translator
instances getting confused.--This line, and those below, will be ignored--
M translator/
test/test_ ctrans. py
M translator/typer.py - 1887. By arigo
-
Copied into the branch the tool from Richard (rxe), before the branch and the
trunk are swapped. - 1885. By arigo
-
Replaced the combination genc_class.
h/formatter. py with classtyper.py which
preprocesses class definitions into simple structures and support functions.
The support functions are generated by producing a control flow graph, which
is then translated into a C function by genc.py like all user-defined
functions.--This line, and those below, will be ignored--
A translator/
classtyper. py
M translator/genc_typeset. py
D translator/genc_class. h
M translator/typer.py
D translator/formatter. py
M translator/genc.h
M translator/genc.py - 1884. By arigo
-
More messiness, but a lot of tests pass. Checked in for reference before
things get cleaned up in a different way. - 1883. By arigo
-
Generate C structs with correctly typed fields. (This is getting messy. As
these check-ins are actually a replay of what I did last week, I know what's
coming next, so don't look too closely here: genc_class.h and formatter.py
will soon be deleted again!)--This line, and those below, will be ignored--
M translator/
genc_typeset. py
M translator/genc_class. h
A translator/formatter. py
M translator/genc.py - 1882. By arigo
-
Translating simple classes to C structs and a PyTypeObject declaration.
Moved the CTypeSet class to its own file.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:pypy