diatom 0.4.3

The diatom programming language
Documentation

The Diatom Programming Language

Unit Tests doc Crates.io license

dependency status issue pr coverage

A dynamic typed scripting language for embedded use in applications. This project is yet another attempt of being a "better" lua.

Warning: Project is still in experimental stage and API is considered as unstable.

Features

  • High Performance: Runs as fast as lua
  • Support for a tracing jit
  • No global variable
  • No nil value
  • Has real integer type
  • Has real list type
  • Support tuple for multiple return
  • Support for gradual typing
  • Support for macro system

Try Diatom

You can try diatom at the online playground.

Quick Start

Make sure you have Rust and Cargo installed.

cargo install diatom
diatom # Run interactive console

Installing from source

Run the following script:

git clone https://github.com/diatom-lang/diatom.git
cd diatom
cargo run --release # Run interactive console

Reference

The Diatom Reference is available at here.

Embedding in Application

Rust Application

Diatom is available at crates.io.

To use latest build, add this repo to your Cargo.toml. Latest build documentation is available here.

Use C bindings

Work in progress.