Semantic environment?

idea is to model all processing environment of TMQL as ... maps

  • predefined datatypes: are topics of a special type, not?

    integer isa tmql:data-type has name "integer" .
    
    decimal isa tmql:data-type has name "decimal" .
  • predefined functions: are topics of a special type, not?

    tmql-number-binary-add isa tmql:function
    name "+"
    profile: ($a as tmql:decimal, $b as tmql:decimal) as tmql:number
  • predefined predicates: are topics of a special type, not?

  • XML namespaces are ... XML namespaces, not?

    TMQL namespaces are actually .... maps