/Predictive-Parser

Check whether the given string is accepted by the grammar or not.

Primary LanguagePython

Predictive-Parser

Check whether the given string is accepted by the grammar or not.

Program prerequisites

input string example: (.id.+.id.).$

  1. "." is added for programming ease for splitting on the basis of "."
  2. change the verbose to true for a detailed parsing table.
  3. default parsing table is already included, refer to the default table for creating your own parsing table.