A minimal Bible format designed for the C language.
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 89a6a37301 biblec namespace 2 週之前
.gitignore Clean up C files, and implement BibleC index file compiling. Also cleaned up JS file a bit. 10 月之前
LICENSE Initial commit 11 月之前
README.md Cleanup 4 月之前
biblec.c biblec namespace 2 週之前
compiler.js Update API 3 週之前
main.h biblec namespace 2 週之前
test.c biblec namespace 2 週之前



A minimal Bible format designed for the C language.
It uses a JS script to convert a OSIS JSON file (http://api.heb12.com/translations/json/)
to a minimal format designed with minimalism in mind.

It creates an index file, and then a text file. The index file can be used to calculate
what line a verse starts on in the text file, and it seeks to it.


mkdir bibles
wget http://api.heb12.com/translations/json/en/web.json
node compiler.js ./web.json web bibles
tcc biblec.c test.c

*Note: TCC and GCC should both work.


  1. First calculates line of Bible verse, then grabs it.
  2. Support for more than 1 verse (John 3 16-18)
  3. Support for Getting entire chapter