Type System

The Type System in Black Fennec is responsible for defining and managing the various types that are used in the application. It consists of several key components, including the Type Registry, Type Parser, and Interpretation Service.

The Type System also includes various types themselves, such as Map Type, List Type, String Type, Number Type, Boolean Type, Null Type, and Reference Type. These types define the characteristics and behavior of the values they represent, and are used to ensure that values are stored and processed correctly within the application.

../../../_images/9cf6f8cb85c9ca712e6daeb8011e1da0b4e4da51f245e90aad9edf2a0ff541e8.svg

The Type Registry is a database of registered Types, which is used to store and manage the available types in the application. The Type Parser is responsible for parsing type definitions and creating new Types, while the Interpretation Service is responsible for interpreting values and mapping them to the appropriate Type.