diff --git a/src/parser.rs b/src/parser.rs index 9957ad1..9be3f3e 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -54,7 +54,13 @@ impl Parser { /// Parses a single string from the GUI and turns it into a neatly packaged TokenResult for processing /// by the engine. pub fn parse(s: &str) -> Result { + + // TODO: Remove the /n from the end + let tokens: Vec<&str> = s.split_whitespace().collect::>(); + + // TODO: Parse things based on the token, probably need a special function for each token based on a switch + // of tokens[0]. } }