Option Tree Structure

A typical option tree has the following basic structure:

  <opt>
    |
    +-- cfg
    |    +-- commands.cnf  The Command dictionary
    |    +-- optstart.mm   (OPTSTART) Macro that is executed when option tree is added to the path.
    |    |                 Since NeXtMidas 2.7.0, this allows for option trees to do configuration,
    |    |                 notification, etc. (OPTIONAL)
    |    +-- ...           Other configuration files (OPTIONAL)
    |
    +-- dat
    |    +-- ...           Data files (OPTIONAL)
    |
    +-- exp
    |    +-- ...           Explain files for every command
    |
    +-- hlp
    |    +-- ...           Help files that describing concepts (OPTIONAL)
    |
    +-- intr
    |    +-- ...           Intrinsic commands (OPTIONAL)
    |
    +-- lib
    |    +-- ...           Libraries (OPTIONAL)
    |
    +-- libg
    |    +-- ...           Graphical Libraries (OPTIONAL)
    |
    +-- mcr
    |    +-- ...           Macro commands
    |
    +-- net
    |    +-- ...           Networking Libraries (OPTIONAL)
    |
    +-- nxm
    |    +-- <opt> -> ../  Symbolic link for stand-alone option trees
    |                      on Unix (OPTIONAL, Unix only)
    |
    +-- prim
    |    +-- ...           Primitive commands
    |
    +-- test
    |    +-- ...           Test macros and JUnit tests
    |
    +-- version.txt        Version file
    +-- updates.txt        List of local updates