Tool for analysing context-free grammars written in the D programming language