Language and Expressions

The notations for writing a model as text, and the expression languages used inside calculator functors.

  • EGO Script Language — the primary text notation for writing a model: functor calls, constants, containers, the calculator shorthand family, properties, and submodels. Start here for the language itself.
  • EGOML Script — the equivalent XML notation, generated by the GUI or written by hand, and its DTD.
  • Submodels — packaging part of a model as a reusable functor with its own declared inputs and outputs, so it can be called from other models the same way a built-in functor is: local, user, store, and system submodels, expansion before execution, publishing, and the Store; the interface workflow is in Submodels in the GUI.
  • Calculate Functors — Complete Operator Documentation — the full expression language available inside a calculator functor: operators, functions, local variables (let ... in), struct expressions ({ name: expression, ... }) and the shorthand family (#, ##, #*, $, %, %%).
  • Calculate R Expression — embedding R code in a model, including how tables, maps, and values convert between Dinamica and R.
  • Calculate Python Expression — embedding Python code in a model, including how tables, maps, and values convert between Dinamica and Python.
  • Coupling with R — the ways Dinamica EGO and R work together: installing the Dinamica package for R, exchanging data with a running R session through a communication session, and the legacy approaches.

Table of contents


This documentation was generated with the help of large language models (LLMs) and may contain errors. Please verify critical information.