Fully implemented scribble doc parser