David Ja wrote:
All I wanted to do was to take advantage of bison's parser which generates the DFA, which in turn, allows me to step through the DFA in sequence generating a sample string that fits the grammar input.

Are you clear with the fact that the DFA generated by bison is not a DFA for the language generated by the grammar, but a handle-finding automaton, finding valid prefixes of right sentential forms? If generating terminal sentences for a given grammar is really what you are looking for, then you might find it easier to generate it directly from the grammar.

--
Regards,

  Sylvain


_______________________________________________
Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to