You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
257 B
Rust

use std::fs;
mod lex;
use lex::Lexer;
mod error;
fn main() {
let s = fs::read_to_string("test.gaybuild").unwrap();
let lexer = Lexer::new(String::from("test.gaybuild"), s);
for token in lexer {
println!("{}", token.unwrap());
}
}