Rell Language Features
Rell is the programming language for the Chromia blockchain. It includes features for building decentralized applications, such as different data types, code modules, control structures, and database operations. These tools help create efficient and secure dapps.
Rell's type system includes simple types for basic data, complex types for structures, and collection types for managing groups of values. It also supports iterables, virtual types, and subtypes, enabling efficient data handling and strong code.
Modules in Rell define reusable components like entities, objects, structs, enums, queries, operations, and functions. Abstract modules provide templates, namespaces help organize code, and external modules enable cross-blockchain data access. Mount names allow customizable component identification.
Expressions in Rell perform operations and control program flow, using data, variables, and operators. They range from basic math to complex conditionals, essential for dynamic dapp development.
Statements manage program flow and data handling, including variable declarations, conditionals, and loops, which form the foundation of structured Rell programs.
Understand Rell's database operations for creating, updating, and deleting records with various syntaxes and options.
Explore Rell's system libraries, which include immutable entities, namespaces for blockchain access, built-in functions, the require function for validation, partial functions, and system queries for dapp insights.