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 d51c45c05b more small changes 3 days ago
.gitignore Code cleanup 6 months ago
LICENSE Update MIT license 5 months ago
README.md Update readme wording 2 months ago
fbrp.c more small changes 3 days ago
fbrp.h Use struct address instead of telling compiler to mov 2 weeks ago
test.c more small changes 3 days 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