Kryptostack
VOCABULARY

Idea

  1. Definition:
    • A vocabulary is defined as a directory containing files
      with the extension *.ks.
    • These *.ks files are scripts that, when "sourced in"
      (loaded and executed), create nothing but dictionaries.
    • The dictionaries created from *.ks files are pushed onto
      the dictionary stack.
    • Each dictionary gets an entry in the kryptodict dictionary.
  2. Command Line Supprt:
    • The kb script provides a command line option -V to source *.ks files
      from a specified vocabulary.
    • This option can be repeated, allowing multiple vocabularies to be sourced in.
  3. Test Suites:
    • Test suites can source vocabularies using the variable SUITE_VOCABULARY.
    • This variable is a comma-separated list of vocabulary names,
      allowing multiple vocabularies to be specified for testing purposes.
  4. Initial Phase:
    • In the initial phase, only one *.ks file per vocabulary is used,
      and this file is named after the vocabulary.
    • The system does not enforce these actions or properties.
    • Only subdirectories of vocabularies/ are used in the first phase.