Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
lib
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Home | Language | Library | Examples | Rust-Moss examples

Moss interpreter

Moss is a dynamic programming language. Its interpreter kernel is written in Rust.

Example of calling Moss code from Rust:

use moss::object::Object;

fn main() {
    let i = moss::Interpreter::new();
    i.rte.set("a",Object::from(vec![1,2,3,4]));

    let v: Vec<i32> = i.eval_cast(r#"
        a.map(|x| 2*x)
    "#);

    println!("{:?}",v);
}

About

Moss interpreter (experimental implementation)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages