I am new to TCL and trying to dig the C code that runs TCL commands , I installed TCL in windows . Not able to find the C code .
Can anyone suggest me where can I get the C code ? or any links ?
For browsing, see here on core.tcl.tk which is a web view into the code repository. The directories you're most likely to want to look inside are generic (platform-independent code, most of Tcl) and win (Windows-platform code, build instructions). The other main directories there are unix (Unix-specific sources), mac (Mac-specific build system), library (Tcl library files; no C code) and doc (documentation in a format that you've probably never encountered before).
For code relating to a specific version of Tcl, see the Tcl file distribution area on SourceForge. Pick your version, download the exact sources you want. Note that they'll be laid out in virtually the same way as in the repository: look in generic and win to see the C code.
Tcl_MainEx). Assuming you're talking about tclsh, of course. When embedding Tcl, you don't use the main loop stuff (since that'd be in your own code).You are new to Tcl and yet, you go for the C source code already? What is your goal? Are you trying to learn Tcl, or learn C? Any way, the source can be found here: