Check whether the given string is accepted by the grammar or not.
input string example: (.id.+.id.).$
- "." is added for programming ease for splitting on the basis of "."
- change the verbose to true for a detailed parsing table.
- default parsing table is already included, refer to the default table for creating your own parsing table.