The semiannual release schedule of the Javascript Bible Passage Reference Parser continues. This release:
- Improves support for parentheses.
- Adds some alternate versification systems.
- Supports French book names.
- Removes the “docs” folder because it was getting unwieldy; the source itself remains commented.
- Reorganizes some of the source code.
- Increases the number of real-world strings from 200,000 to 370,000. I ran the parser on all 85 million tweets and Facebook posts in the Realtime Bible Search database to produce the list.
One of the main goals of this parser is to give you a starting point to build your own parser, so the source is thoroughly documented and has many tests you can use to validate your code.
Try a demo or browse the source on GitHub.