Sha256: e1d6afe91f0ef468a7b557320a8bbe1733a52d42b18a1a527343a45bd989539d
Contents?: true
Size: 369 Bytes
Versions: 185
Compression:
Stored size: 369 Bytes
Contents
pub type Value = i32; pub type ForthResult = Result<(), Error>; pub struct Forth; #[derive(Debug, PartialEq)] pub enum Error { DivisionByZero, StackUnderflow, UnknownWord, InvalidWord, } impl Forth { pub fn new() -> Forth { } pub fn format_stack(&self) -> String { } pub fn eval(&mut self, input: &str) -> ForthResult { } }
Version data entries
185 entries across 185 versions & 1 rubygems