mirror of
https://github.com/Noratrieb/brainfuck.git
synced 2026-01-16 06:15:02 +01:00
fixed underscore
This commit is contained in:
parent
0d29e477ce
commit
2ae00160fc
3 changed files with 10 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ use std::io::{Read, stdin};
|
|||
|
||||
use crate::interpreter::{MEM_SIZE, Memory, minify, parse, Statement};
|
||||
|
||||
pub fn _run(pgm: &str) -> String {
|
||||
pub fn run(pgm: &str) -> String {
|
||||
let pgm = minify(pgm);
|
||||
let pgm = parse(pgm.chars().collect());
|
||||
let out = interpret(&pgm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue