cpython/Tools/modulator
Collin Winter a817e5894b Convert raise statements in Tools/. 2007-08-22 23:05:06 +00:00
..
Templates Remove support for __members__ and __methods__. There still might be 2007-08-11 06:39:53 +00:00
EXAMPLE.py Patch #812378: Normalize white space. 2003-10-24 20:09:23 +00:00
README Clarify how EXAMPLE.py is to be used ("python EXAMPLE.py", not 1999-02-16 17:19:39 +00:00
ScrolledListbox.py Patch #812378: Normalize white space. 2003-10-24 20:09:23 +00:00
Tkextra.py Convert print statements to function calls in Tools/. 2007-08-03 17:06:41 +00:00
genmodule.py Convert raise statements in Tools/. 2007-08-22 23:05:06 +00:00
modulator.py Remove string.{letters,lowercase,uppercase}. 2007-08-14 09:23:10 +00:00
varsubst.py Convert raise statements in Tools/. 2007-08-22 23:05:06 +00:00

README

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