Remove the demo stuff
This commit is contained in:
parent
e6ca40122e
commit
089425ab0f
2 changed files with 0 additions and 12 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue