1#![no_std]
3#![doc = include_str!("../README.md")]
4
5#[cfg(doctest)]
6doc_comment::doctest!("../README.md");
7
8#[doc(hidden)]
9extern crate alloc;
10
11pub mod compilation;
12pub mod environment;
13pub mod error;
14pub mod execution;
15pub mod runtime;
16
17pub use environment::DefaultEnvironment;
19pub use error::{Error, Result};
20pub use execution::Chunk;
21pub use runtime::{Runtime, SharedRuntime};
22
23pub use tinyscript_derive::ScriptEnum;
25
26use alloc::{sync::Arc, vec::Vec};
28pub type ConstString = Arc<str>;
34pub trait ScriptEnum {
39 fn key_value_tuples<'a>() -> Vec<(&'a str, i8)>;
41}
42