4 releases
new 0.1.4 | Oct 30, 2024 |
---|---|
0.1.3 | Oct 30, 2024 |
0.1.2 | Oct 30, 2024 |
0.1.0 | Oct 30, 2024 |
#1346 in Parser implementations
305 downloads per month
50KB
1.5K
SLoC
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