[CLOSED] Create a command parser
Created by: jwoolston
Issue by jwoolston from Thursday Mar 07, 2013 at 16:11 GMT Originally opened as https://github.com/Tenkiv/TekDAQC_Firmware_Old/issues/4
Create a command parser which is capable of examining incoming data and making decisions about what it code should be executed as a result. You can assume that there is a buffer of character data. If we can figure out how to do it I would like this to be a std::queue because it automatically implements a FIFO structure, but this will require integrating with the C of the lwIP library. I don't immediately see any reason why we can't do this since it wont require function pointers which is the only real obstruction to this.
That said, it probably makes the most sense to pas a pointer/reference to the queue in the constructor of the parser.