shithub: plan9front

ref: f08e95cd93b7b6e2e2ee1a61ddd44e81a9337155
dir: /sys/src/cmd/python/Tools/framer/README.txt/

View raw version
framer is a tool to generate boilerplate code for C extension types.

The boilerplate is generated from a specification object written in
Python.  The specification uses the class statement to describe the
extension module and any extension types it contains.  From the
specification, framer can generate all the boilerplate C code,
including function definitions, argument handling code, and type
objects.