Initial implementation of basic_parser data structure.