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 61b9c44d9d Merge branch 'master' of https://code.heb12.com/Heb12/fbrp into HEAD 2 weeks ago
.gitignore Code cleanup 4 months ago
LICENSE Update MIT license 4 months ago
README.md Update readme wording 2 weeks ago
fbrp.c Remove excess code and comments, code cleaning 2 weeks ago
fbrp.h Remove excess code and comments, code cleaning 2 weeks ago
reference.h Remove excess code and comments, code cleaning 2 weeks ago
test.c Remove excess code and comments, code cleaning 2 weeks 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