Skip to content

Convert a biblical greek parsing string to/from a u32

Notifications You must be signed in to change notification settings

scripturial/parsing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This crate converts parsing strings into a u32 using from_string() and converts a u32 back to a parsing string using to_string(). Use the macro parsing_string!("N-NSN") to insert a u32 value in your code. It also provides helper functions to update and check the contents of the u32. It its tested against every parsing code found in the Byzantine and Nestle 1904 text/data files.

There is no idiomatic rust "Parsed" type or struct in this code. But one may be added in the future.

It is designed for tagging Biblical Greek, but it is also designed to be expandable to support Biblical Hebrew.

This code is provided as is. You are free to use and distribute under the MIT license under the condition that you acknowledge that you use this code at your own risk. No warantee is given or implied.

This code may have bugs, but, it currently successfully in use in production, such as for the https://scripturial.com/ project.

Rust Docs: https://docs.rs/bibleparsing/0.1.3/bibleparsing/ Rust Crate: https://crates.io/crates/bibleparsing

About

Convert a biblical greek parsing string to/from a u32

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages