Implement a basic parser, with snapshot testing
This commit is contained in:
+2
-2
@@ -1,10 +1,10 @@
|
||||
mod lang;
|
||||
mod preprocess;
|
||||
mod world;
|
||||
|
||||
use std::{env, error::Error, fs, process::exit};
|
||||
use world::World;
|
||||
|
||||
use crate::lang::scan;
|
||||
use crate::preprocess::scan::scan;
|
||||
|
||||
fn to_latin1(bytes: &[u8]) -> String {
|
||||
bytes.iter().map(|&x| x as char).collect()
|
||||
|
||||
Reference in New Issue
Block a user