fift 0.2.2

Rust implementation of the Fift esoteric language
Documentation
extern crate self as fift;

use anyhow::Result;

pub use self::core::Context;

pub mod core;
pub mod error;
pub mod modules;
pub mod util;

impl Context<'_> {
    pub fn with_basic_modules(self) -> Result<Self> {
        use modules::*;
        self.with_module(BaseModule)?
            .with_module(Arithmetic)?
            .with_module(CellUtils)?
            .with_module(DictUtils)?
            .with_module(Control)?
            .with_module(DebugUtils)?
            .with_module(StackUtils)?
            .with_module(StringUtils)?
            .with_module(Crypto)?
            .with_module(VmUtils)
    }
}