Define generic parser using code.
Work in Progress
After writing many lexers, parsers for my open source project, it's time to write a generic parser.
If you submit a pull request, please be sure to add or update corresponding
test cases, and ensure that
npm test continues to pass.