Tidyparse Browser Demonstration

Usage Tips: • To trigger an update, modify the editor to the left. • All tokens must be separated by one or more whitespaces. • Invalid snippets are marked with a squiggly underline. • Unparseable fragments are colored orange and unknown terminals are colored red inside invalid snippets. • Nonterminal stubs are enclosed in angle brackets, <F>. • Any symbol to the left of -> is considered a nonterminal and all other symbols are considered terminals in a CFG. • --- and -> are reserved for the following scenarios: • --- is used to separate the CFG from the test cases. • -> separates the left and right sides of a production. • The symbol ε is reserved and must not be used anywhere. • Any line in the CFG that does not contain -> is ignored. • Tidyparse adds ε-productions, {V} -> ε {V} | {V} ε, and literals {V} -> <V> for each nonterminal, V, in the CFG. • If the grammar contains no nonterminal named START, then Tidyparse will add START -> {V} for every nonterminal, V.