Skip to content

EngosSoftware/tokens

tokens

crates.io coverage build-linux-gnu build-linux-musl build-macos build-macos-aarch64 build-windows mit-license apache-license cc mbh es

Whitespace and quoted-strings tokenizer

Overview

WORK IN PROGRESS

Example

use tokens::tokens;

let input = r#"
  fn main() {
    println!("Hello, world!");
  }
"#;

for token in tokens(input) {
println ! ("{}", token);
} 

Output:

fn
main()
{
println!(
Hello, world!
);
}

License

Licensed under either of

at your option.

Contribution

Any contributions to tokens are greatly appreciated. All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.

About

Whitespace and quoted-strings tokenizer

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages