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.
50 lines
943 B
50 lines
943 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.
|
|
|
|
|
|
*/
|
|
|
|
#![feature(drain_filter)]
|
|
|
|
#[macro_use]
|
|
extern crate contracts;
|
|
|
|
use std::num::NonZeroUsize;
|
|
|
|
pub mod signal;
|
|
use signal::*;
|
|
|
|
pub mod pane;
|
|
use pane::*;
|
|
|
|
pub mod world;
|
|
#[allow(unused_imports)]
|
|
use world::*;
|
|
|
|
pub mod utils;
|
|
use utils::*;
|
|
|
|
pub mod tile;
|
|
use tile::*;
|
|
|
|
pub mod context;
|
|
use context::*;
|
|
|
|
pub mod text;
|
|
use text::*;
|
|
|
|
pub mod prelude {
|
|
pub use crate::pane::Pane;
|
|
pub use crate::world::World;
|
|
|
|
pub use crate::text::{TextChar, TextSurface};
|
|
|
|
pub use crate::context::UpdateContext;
|
|
pub use crate::signal::{Signal, Value};
|
|
pub use crate::tile::Tile;
|
|
pub use crate::utils::*;
|
|
}
|