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.
|
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());
|
|
}
|
|
}
|