Flexible Bible Reference Parser
c
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.
Daniel 8aa73761cd Refamiliarize myself with the code, a few minimal changes 5 hours ago
.gitignore Code cleanup 7 months ago
LICENSE Update MIT license 7 months ago
README.md Update readme wording 3 months ago
fbrp.c Refamiliarize myself with the code, a few minimal changes 5 hours ago
fbrp.h Include the header file once only 3 days ago
test.c more small changes 1 month 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