TOC PREV NEXT INDEX

 


Creating Custom Interpreters with TclPro


This chapter describes how to create both regular Tcl interpreters and Tcl interpreters that you can use with the TclPro Wrapper. In general, you create Tcl interpreters with TclPro just as you would with the free Tcl distribution. However, TclPro makes it easier to build custom Tcl interpreters by providing precompiled libraries for Tcl, Tk, and all bundled extensions on each platform supported by TclPro. TclPro also provides libraries that support the tbcload extension, which is required to read the bytecode files created by TclPro Compiler, and the TclPro Wrapper library, which you need to create interpreters (that is, base applications) for use by TclPro Wrapper.

Important: The development libraries and other files described in this chapter are part of the TclPro "C Development Libraries" installation component. You must install the TclPro "C Development Libraries" component if you want to use these files to create custom Tcl interpreters.

Remember, there is often no need for you to create a custom Tcl interpreter. If all you want to do is to incorporate a new extension, it is usually easier to use the built-in load and package facilities of Tcl. Also remember that protclsh or prowish already have built-in support for the extensions bundled with TclPro.


Note: This chapter assumes that you are already familiar with writing custom Tcl interpreters; therefore, it concentrates on describing the unique features of building a custom Tcl interpreter with the TclPro distribution. For detailed instructions on writing a custom Tcl interpreter, consult the references listed in "TclPro Technical Support".



http://www.ajubasolutions.com
Voice: (650) 210-0100
Fax: (650) 210-0101
support@ajubasolutions.com
TOC PREV NEXT INDEX