Sha256: 225b3c7fff536a5551930a64db9b2eb44c45625f353d11e02d6b7e34c83b9d10
Contents?: true
Size: 441 Bytes
Versions: 74
Compression:
Stored size: 441 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 { unimplemented!() } pub fn stack(&self) -> Vec<Value> { unimplemented!() } pub fn eval(&mut self, input: &str) -> ForthResult { unimplemented!() } }
Version data entries
74 entries across 74 versions & 1 rubygems