A specificafion and library for a Bible translation storage fromat, inspired by the BibleC format.
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.
fereh 5cb88cb73c Update .gitignore 1 week ago
test Remove irrelivant files 1 week ago
.gitignore Update .gitignore 1 week ago
LICENSE Initial commit 10 months ago
README.md Update README.md 1 week ago
api.md Update api.md 1 week ago
biblec.h Finished naming 1 week ago
biblec2.c Update biblec2.c 1 week ago
biblec2.h Finished naming 1 week ago
format.h Update format.h 1 week ago
numbers.h Twick api, getting ready for test build 1 week ago
spec.md Update spec.md 1 week ago

README.md

biblec2

Library implements the biblec2 (bblc) file format.

Implements lower-level read and write functions intended for use by format converter and reader.

See the API reference.

Features

  • Fast and simple usage
  • Multiligual support (UTF-8)
  • Block reading (cross-chapter and book)

Usage examples

Reading

#include "biblec.h"

struct bblc_handle nasb;
bblc_open("translations/nasb.bblc", &nasb);

bblc_seek(&nasb, HEBREWS, 11, 0);

int verse_count = 5;
const char *verses[5];
bblc_read(&nasb, verse_count, verses);

// That's it!

See the test files for a working example along with a sample bblc file.