Added a "proc" sub-command to generate C stubs to call Tcl code