Online demo
This tool checks whether the given text is syntactically correct according to the given grammar and that the grammar itself is syntactically correct. It can also analyze the grammar for ambiguity using the technique described in Analyzing Ambiguity of Context-Free Grammars, by Claus Brabrand, Robert Giegerich, and Anders Møller.See also the description of the grammar notation and the example grammars.
Resources are limited for this web application - you can also download the tool and run it on your own machine.