A minimal Bible format
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
Daniel f7491c05fa Update test.c 1 个月前
.gitignore Clean up C files, and implement BibleC index file compiling. Also cleaned up JS file a bit. 1年前
LICENSE Add test 5 个月前
Makefile Readme wording 4 个月前
README.md Readme wording 4 个月前
biblec.c No underscore in struct names 3 个月前
biblec.h No underscore in struct names 3 个月前
compiler.js Readme wording 4 个月前
test.c Update test.c 1 个月前

README.md

BibleC

A minimal Bible format in C.

Design:

  1. First calculates the line of Bible verse, then grabs it (very fast)
  2. Support for more than 1 verse (John 3 16-18)
  3. Support for getting entire chapter
  4. Load an BibleC index file or C header file
  5. 1 C file, 1 header file, no complex build system needed
  6. No memory allocations

Usage:

See Makefile

API:

See test.c for a full example.

struct Biblec_reader reader;
int tryReader = biblec_new(
	&reader,
	&myTranslation,
	"John",
	3,
	16,
	20
);

while (biblec_next(reader)) {
	puts(reader.result);
}