Flexible Bible Reference Parser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cc10978 1b8198191c Include the header file once only 1 month ago
.gitignore Code cleanup 9 months ago
LICENSE Update MIT license 8 months ago
README.md Update readme wording 5 months ago
fbrp.c more small changes 3 months ago
fbrp.h Include the header file once only 1 month ago
test.c more small changes 3 months ago

README.md

FBRP

“Flexible Bible Reference Parser”

Features

  • C99
  • No Regex or any other libraries
  • Tiny and fast
  • One C file

Can Parse:

“John 3 16”
“2 John 3 16-17”
“2 Kings 1, 3-5:2-4, 3-6, 1-2”

Cannot Parse:

By design, it cannot parse references like:
“John 3 16, John 3 17”
“John 3, Hebrews 4”

Testing:

cc test.c fbrp.c && ./a.out