Elements Technologies

Language Base Libraries

Use familiar standard-library APIs in Elements projects.

Libraries for familiar language APIs

Language base libraries bring familiar types and functions to Elements projects. Reference the library that provides the APIs you need, and check its documentation for supported targets.

Promethium Base Library

This optional library brings common Python types and modules to Elements projects. For example, collections.Counter counts how often each value appears in a sequence. Documentation 

Go Base Library

Elements ports Go’s standard library to supported targets, bringing packages for tasks such as networking, cryptography, and text processing. Gold templates for supported targets can include it by default. Documentation 

Swift Base Library

This library provides familiar Swift types and functions, including arrays, dictionaries, and print. Silver templates normally reference it, and you can add it when introducing Swift files into an existing project. Documentation 

Mercury Base Library

This library supports Mercury language features and provides familiar Visual Basic APIs. On .NET it supplements Microsoft.VisualBasic. On other targets it provides a portable subset of those APIs. Documentation 

Use them in mixed-language projects

You can reference a language base library in a project that mixes source languages. For example, code in another Elements language can use the Promethium Base Library’s collections.Counter to count occurrences.