Remove the demo stuff

This commit is contained in:
Eryn Wells 2016-12-23 17:48:19 -07:00
parent e6ca40122e
commit 089425ab0f
2 changed files with 0 additions and 12 deletions

View file

@ -151,10 +151,3 @@ impl Iterator for Lexer {
token
}
}
pub fn hello(person: &str) {
println!("Hello, {}!", person);
for (idx, c) in person.char_indices() {
println!(" {}, {} -> {}", c, idx, characters::identifier_initials().contains(&c));
}
}

View file

@ -2,11 +2,6 @@ mod characters;
mod lexer;
fn main() {
lexer::hello("Eryn");
lexer::hello("Emily");
let s = "Jonas".to_string();
lexer::hello(&s);
let lexer = lexer::Lexer::new(String::from("((abc))"));
for t in lexer {
println!("token = {}", t);