-j
flag and Pyston will spit out a .o file for each function it compiles, which you can then disassemble with objdump
id()
is defined: https://github.com/dropbox/pyston/blob/master/src/runtime/builtin_modules/builtins.cpp#L318
Python/graminit.c
and Include/graminit.h
are auto-generated from Grammar/Grammar
when you run make
.
graminit.c
and graminit.h
are generated. The only grammar file I can find is from_cpython/Lib/lib2to3/Grammar.txt
, but modifying this does not seem to trigger a regeneration of the graminit files.
Python-ast.h
file. And then extend the Pyston interpreter and jit.
Python-ast.h
and Python-ast.c
are both generated by Parser/asdl_c.py
whenever Parser/Python.asdl
is changed. Do you happen to know if Pyston works this way as well?