fixed underscore

This commit is contained in:
nora 2021-04-24 15:31:28 +02:00
parent 0d29e477ce
commit 2ae00160fc
3 changed files with 10 additions and 3 deletions

View file

@ -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);