|
4 hours ago | |
---|---|---|
.gitignore | 8 months ago | |
LICENSE | 9 months ago | |
README.md | 2 months ago | |
biblec.c | 2 months ago | |
compiler.js | 4 months ago | |
main.h | 3 days ago | |
test.c | 2 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.