You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
772 B

/*! # Stackline v2
`Stackline v2` is the successor of [stackline](https://github.com/adri326/stackline), an esoteric language inspired by [Wireworld](https://mathworld.wolfram.com/WireWorld.html) and [ORCA](https://github.com/hundredrabbits/Orca).
This library is the rust implementation of the core logic of the language.
*/
use std::num::NonZeroUsize;
pub mod signal;
use signal::*;
pub mod pane;
use pane::*;
pub mod utils;
use utils::*;
pub mod tile;
use tile::*;
pub mod context;
use context::*;
pub struct World {
panes: Vec<Pane>,
}
pub mod prelude {
pub use crate::World;
pub use crate::pane::Pane;
pub use crate::utils::*;
pub use crate::signal::Signal;
pub use crate::context::UpdateContext;
pub use crate::tile::Tile;
}