6 releases
0.1.5 | Sep 9, 2020 |
---|---|
0.1.4 | Sep 4, 2020 |
0.1.2 | Aug 28, 2020 |
#808 in Programming languages
22 downloads per month
200KB
5K
SLoC
alan runtime
A runtime in Rust to run AGC or Alan Graphcode, alan's bytecode format.
This runtime is licensed AGPL 3.0 but the alan standard library and the Javascript runtime shim are licensed Apache 2.0 so you can freely distribute your compiled code.
Install
cargo build
Usage
cargo run -- run <sourcefile>
The source file has to be .agc
format.
To run an optimized build:
cargo build --release
./target/release/alan-runtime run <sourcefile>
Development
The alan runtime
is backed by a single-threaded, or basic, Tokio scheduler and uses a Rayon
threadpool to run cpu bound opcodes.
Contribution Agreement
To contribute to the alan runtime
you need to sign a Contributor License Agreement (TODO: figure this out), Alan Technologies will retain the right to relicense this code in licenses other than AGPL 3.0 concurrently or in the future to convert to a newer license.
License
AGPL 3.0
Dependencies
~21MB
~398K SLoC