Syntax
Concept and rules of the TrustLang programming language syntax
The site sections are under development.
The materials may be incomplete or contain errors. The site content will be synchronized with the implementation in the next release, while the current version (0.6.0) is intended for syntax prototyping and for creating the playground.
TrustLang is a programming language that is transpiled to C++ and built by an external compiler. The key properties of the model:
#!.../trust --run runs directly, like a
Python script, but with full compilation: transpilation to C++, build and launch of the binary happen
automatically, no interpreter is needed.Concept and rules of the TrustLang programming language syntax
Description of the type system, the principles of automatic inference and conversion between types
Operators, expressions and control-flow constructs of TrustLang
Overview of TrustLang features responsible for code safety and quality