A shift reduce parser for both context free grammars and dependency grammars. Part of a school assignment.