| Crates.io | lectio |
| lib.rs | lectio |
| version | 0.1.3 |
| created_at | 2025-06-21 01:34:40.798156+00 |
| updated_at | 2025-07-02 21:14:01.88891+00 |
| description | Searches the given bible readings for a specific date |
| homepage | https://github.com/Ryanssd22/lectio |
| repository | https://github.com/Ryanssd22/lectio |
| max_upload_size | |
| id | 1720441 |
| size | 21,095,798 |
Fetches the daily bible reading
Ideas: parsebible.cpp is used to parse a bible.txt into a more "efficient" data structure. I was thinking a parsed file to look as so:
GENESIS
1:1 In the beginning...
1:2 But the earth...
...
50:26 he died, having completed...
^
EXODUS
1:1 These are the names...
...
^
LEVITICUS
...
And so on. Each chapter will end with the delimiter ^. This will allow us to read just the name of the chapter, and if it is not the desired chapter, we simply .ignore() until the delimiter '^'.