I hit a buffer overflow error using Biblec to read another translation (1 Corinthians 7:38 was over 600 characters in this translation), so here the maximum verse length is increased to 700 characters to prevent the error.
|1 month ago|
|.gitignore||9 months ago|
|LICENSE||10 months ago|
|README.md||4 months ago|
|biblec.c||4 months ago|
|compiler.js||6 months ago|
|main.h||1 month ago|
|test.c||4 months ago|
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 ./a.out
*Note: TCC and GCC should both work.