A minimal Bible format
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
Daniel fb9a782075 Rename macros to be more consistent há 10 meses
.gitignore Clean up C files, and implement BibleC index file compiling. Also cleaned up JS file a bit. há 2 anos
LICENSE Add test há 1 ano
Makefile Readme wording há 1 ano
README.md Readme wording há 1 ano
biblec.c Rename macros to be more consistent há 10 meses
biblec.h Rename macros to be more consistent há 10 meses
compiler.js Rename macros to be more consistent há 10 meses
test.c Rename macros to be more consistent há 10 meses

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