/token-iter

A Rust crate that simplifies writing tokenizers

Primary LanguageRustApache License 2.0Apache-2.0

token-iter

Crates.io Docs.rs CI Coverage Status

A Rust library crate that facilitates writing tokenizers for textual languages.

Please read the API documentation here.

To use it, add this to your Cargo.toml:

[dependencies]
token-iter = "0.10.0"

And put this in your code:

use token_iter::*;

License

Licensed under either of

at your option.

Contribution

Any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.