1 unstable release
0.1.0 | Jul 3, 2019 |
---|
#5 in #befunge
41KB
1K
SLoC
Berust
A Befunge interpreter and debugger written in Rust
lib.rs
:
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 {}
Dependencies
~3MB
~48K SLoC