A very simple Context-free grammar parser