6 releases

0.2.1 Jul 26, 2020
0.2.0 Jul 12, 2020
0.1.3 May 13, 2020

#1208 in Development tools

Download history 30/week @ 2023-12-30 4/week @ 2024-01-06 4/week @ 2024-02-10 2/week @ 2024-02-17 24/week @ 2024-02-24 16/week @ 2024-03-02 28/week @ 2024-03-09 64/week @ 2024-03-16 38/week @ 2024-03-23 54/week @ 2024-03-30 9/week @ 2024-04-06

172 downloads per month
Used in 2 crates (via hyperpolyglot)

MIT/Apache

30KB
754 lines

Polyglot Tokenizer

A generic programming language tokenizer

Polyglot Tokenizer turns code into tokens, labelling each token as an Identifier, LineComment, BlockComment, Symbol, StringLiteral, or Number.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, 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.

No runtime deps