The Diatom Programming Language
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
nilvalue - 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.
Installing from source
Run the following script:
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.