A minimal Bible format
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
Daniel 14f290496e Remove #location pirms 1 mēnesi
.gitignore Clean up C files, and implement BibleC index file compiling. Also cleaned up JS file a bit. pirms 1 gada
LICENSE Add test pirms 6 mēnešiem
Makefile Readme wording pirms 6 mēnešiem
README.md Readme wording pirms 6 mēnešiem
biblec.c No underscore in struct names pirms 4 mēnešiem
biblec.h No underscore in struct names pirms 4 mēnešiem
compiler.js Remove #location pirms 1 mēnesi
test.c Update test.c pirms 2 mēnešiem

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);
}