• Core commands as ensembles

    From Harald Oehlmann@wortkarg3@yahoo.com to comp.lang.tcl on Thu Aug 21 18:19:48 2025
    From Newsgroup: comp.lang.tcl

    I am slowly starting the implementation of TIP 723 "timer".

    The timer command should be an ensemble, to be extensible.
    Or is this a stupid idea?
    I thought, most core commands are ensembles. Is this true?
    I don't find any reference to CreateEnsemble expect in the library/tclEnsemble.c file. How do I design a core command as ensemble ?

    Thanks for any idea,
    Harald
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Schelte@nospam@wanadoo.nl to comp.lang.tcl on Fri Aug 22 11:45:40 2025
    From Newsgroup: comp.lang.tcl

    On 21/08/2025 18:19, Harald Oehlmann wrote:
    I don't find any reference to CreateEnsemble expect in the library/ tclEnsemble.c file.

    One of the references in library/tclEnsemble.c is in the function TclMakeEnsemble(). Tthat is the function that most core ensembles use.


    Schelte.

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Harald Oehlmann@wortkarg3@yahoo.com to comp.lang.tcl on Fri Aug 22 12:09:07 2025
    From Newsgroup: comp.lang.tcl

    Am 22.08.2025 um 11:45 schrieb Schelte:
    On 21/08/2025 18:19, Harald Oehlmann wrote:
    I don't find any reference to CreateEnsemble expect in the library/
    tclEnsemble.c file.

    One of the references in library/tclEnsemble.c is in the function TclMakeEnsemble(). Tthat is the function that most core ensembles use.


    Schelte.

    Great pointer, thanks, I appreciate.
    Yes, binary, string, namespace, they are all there.

    That is great, thank you !

    Take care,
    Harald


    --- Synchronet 3.21a-Linux NewsLink 1.2