doc comments and further testing

This commit is contained in:
nora 2021-04-24 15:20:18 +02:00
parent 5b9dd9ca67
commit 248d07e317
5 changed files with 727 additions and 164 deletions

View file

@ -1,7 +1,10 @@
//!
//! The very basic interpreter without any optimizations
use crate::interpreter::{MEM_SIZE, minify};
use std::io::{stdin, Read};
pub fn run(program: &str) -> String{
pub fn _run(program: &str) -> String{
let program = minify(program);
let out = interpret(program.chars().collect());
out