A minimal Bible format designed for the C language.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Daniel 89a6a37301 biblec namespace il y a 2 semaines
.gitignore Clean up C files, and implement BibleC index file compiling. Also cleaned up JS file a bit. il y a 10 mois
LICENSE Initial commit il y a 11 mois
README.md Cleanup il y a 4 mois
biblec.c biblec namespace il y a 2 semaines
compiler.js Update API il y a 3 semaines
main.h biblec namespace il y a 2 semaines
test.c biblec namespace il y a 2 semaines

README.md

BibleC

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.

Usage:

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

*Note: TCC and GCC should both work.

Features:

  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