|Daniel fd6fc22c3a||2 weeks ago|
|.gitignore||11 months ago|
|LICENSE||10 months ago|
|README.md||2 weeks ago|
|fbrp.c||2 weeks ago|
|fbrp.h||1 month ago|
|test.c||2 weeks ago|
“Flexible Bible Reference Parser”
A tiny Bible reference parser written in C99. It parses references like
2 Kings 1, 3-5:2-4, 3-6, 1-2
and parses it into structures like:
Book: 2Kings Chapter: - Chapter: - Verse: - Verse: - Verse: -
By design, it cannot parse references like:
cc test.c fbrp.c && ./a.out
Like a lexer/parser, it parses the string into a tokens.
Then, it uses that to run through each token and figure out
exactly what they all mean.
There is currently no algorithm specification, but feel free to
ask if you need any clarification.