cpython-withatomic / Tools / modulator /

The branch 'legacy-trunk' does not exist.
Filename Size Date modified Message
1.3 KB
980 B
1.3 KB
7.3 KB
4.8 KB
14.1 KB
1.6 KB
This is release 1.2 of modulator, a generator of boilerplate code for
modules to be written in C.

Difference between 1.2 and 1.1: __doc__ templates are now generated
(thanks to Jim Fulton).

Difference between 1.1 and 1.0: the templates now use "new-style"
naming conventions. Many thanks to Chak Tan <tan@ee.rochester.edu> for
supplying them.

Usage when you have tk is *really* simple: start modulator, fill out
the forms specifying all the objects and methods, tell modulator
whether objects should also be accessible as sequences, etc and press
'generate code'. It will write a complete skeleton module for you.

Usage when you don't have tk is slightly more difficult. Look at
EXAMPLE.py for some details (to run, use "python EXAMPLE.py").  Don't
bother with EXAMPLE.py if you have Tkinter!!!

Oh yeah: you'll probably want to change Templates/copyright, or all
your code ends up as being copyrighted to CWI:-)

Let me know what you think,
				Jack Jansen, jack@cwi.nl
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.