Skip to content

Rust implementation of AiScript (Experimental)

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

poppingmoon/aiscript-rs

Repository files navigation

aiscript-rs

CI

Rust implementation of AiScript (Experimental)

Example

use aiscript::v0::{Interpreter, Parser};
use futures::FutureExt;

let script = Parser::default().parse("<: 'Hello, world!'")?;
let interpreter = Interpreter::new(
    [],
    None::<fn(_) -> _>,
    Some(|v| {
        println!("{v}");
        async move {}.boxed()
    }),
    None::<fn(_) -> _>,
    None,
);
interpreter.exec(script).await?;

About

Rust implementation of AiScript (Experimental)

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages