From 72433e7c73212678de9ec11c82a5f80db184232a Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Wed, 13 Dec 2017 21:42:55 -0800 Subject: [PATCH] lol --- src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index fc706a0..5d06957 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -31,8 +31,13 @@ pub struct Engine<'a, R, W> { /// For example, a start up function calls the correct "boot up" code for the engine so they only have to /// worry about calling "boot up" prior to their main engine loop. /// +/// +/// TODO: THE NEXT THING - THE PARSER! +/// /// Additionally this code should have a parser. You call it with the reader supplied and it waits for a command -/// and parses it into a tuple of some kind for the user. +/// and parses it into a tuple of . For example it would parse `setoption` into an option constant +/// and the value to set it to. This should be super generic and parsing results should just be of a type +/// ParseResult. The tuple implements ParseResult which represents a tuple of a token and value. impl<'a, R, W> Engine<'a, R, W> where