[][src]Crate berust

A Befunge interpreter written in Rust

The playfield module provides all functionality to navigate through a Befunge program and the interpreter module implements roughly the Befunge-93 semantics.

Example

let playfield = Playfield::new("23*.@");
let io = StdInputOutput::default();

let interpreter = Interpreter::new(playfield, io);

// prints 6 to stdout
for _ in interpreter {}

Modules

interpreter
playfield