Is TH1 required to run Tcl scripts? Are there any examples of Tcl use-with/extensions-of Fossil?
I am having some trouble sorting out the documentation and determining the build options that would enable exploration. The build page[1] might be out of date/sync with the build options. [1]: https://www.fossil-scm.org/fossil/doc/trunk/www/build.wiki "To enable the native Tcl integration feature feature, add the --with-tcl=1 and --with-tcl-private-stubs=1 options." vs. './configure --help' ------------------------------------------------------ --with-th1-docs Enable TH1 for embedded documentation pages --with-th1-hooks Enable TH1 hooks for commands and web pages --with-tcl=path Enable Tcl integration, with Tcl in the specified path --with-tcl-stubs Enable Tcl integration via stubs library mechanism --with-tcl-private-stubs Enable Tcl integration via private stubs mechanism ------------------------------------------------------ And this page: https://www.fossil-scm.org/fossil/doc/trunk/www/th1.md#tclEval says: "TH1 tclEval Command This command requires the Tcl integration feature. tclEval arg ?arg ...? Evaluates the Tcl script and returns its result verbatim." Does this mean that '--with-th1-hooks' is needed to access a full Tcl implementation? (Is the TH1 interpreter required to invoke the Tcl interpreter?) And [being more explicit than the available documentation], I've discovered that the "path" in '--with-tcl=path' is the location of the "tclConfig.sh" file. For example, I use, '--with-tcl=$HOME/.local/lib'. Two or three beginning to end examples for each, TH1 use and Tcl use would be tremendously valuable. _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users