Browse Source

Update biblec

master
Daniel 1 year ago
parent
commit
37f2ffde17
1 changed files with 13 additions and 5 deletions
  1. +13
    -5
      formats.md

+ 13
- 5
formats.md View File

@@ -98,13 +98,21 @@ Reuben, Simeon, Levi, and Judah,
4. Collect lines until end verse is found

## BibleC
BibleC is designed to be extremely fast, tiny, and simple.
BibleC is a tiny format to store Bible text.
It is designed to be:
1. Extremely Minimal (1 C source file, under 200 lines)
2. Hackability - Easy to understand how the code works

It was built with a "Make it simple and keep it simple" design philosophy.

If you prefer something extensible and standardized, choose haplous.

### Design
The verses are simply stored in a file seperated by newlines.
The verses are simply stored in a file seperated by newlines. This allows for mass
grammar/spelling fixes without interference with formatting characters.

A seperate data structure stored in memory (can also be loaded and parsed by file)
A seperate data structure stored in memory (can also be loaded via index file)
is used to quickly calculate what line a verse(s) is on from reference.

The method does not require complicated parsing or memory allocations,
so it is very easy to port to other languages and devices.
It does not require complicated parsing or memory allocations,
so it is very easy to port to other languages and platforms.

Loading…
Cancel
Save