/libcore

📚 Stencila core function library

Primary LanguageJavaScriptApache License 2.0Apache-2.0

stencila/libcore : core function library

experimental Code coverage Community Chat

This the Stencila Core Library, a library of functions that are built in to Stencila's Mini language. It is to Stencila what Excel functions are to Excel, the Python Standard Library is to Python, the R Base Package is to R, etc, etc.

See the comprehensive list of LibCore functions.

Want to contribute a function to Libcore? See the contribution guidelines..

Stencila functions can be implemented, and used, in a variety of languages. Mini is intentionally simple. Instead of trying to be a complete programming language, it focuses on being a "glue" between other languages. This allows functions to be implemented using the best language for the job. And when a function is implemented in multiple languages, this approach allows for the optimization of function calls based on implementation speed and data location. Learn more about Mini.

A folder for cordinating design and implementations of functions across langages.

A folder containing source code for LibCore. Each function is defined in a separate files. The functions are written in JavaScript (since Mini is written in this language).

A folder containing tests for LibCore functions.