6 releases

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

#1265 in Development tools

Download history 26/week @ 2024-03-11 71/week @ 2024-03-18 33/week @ 2024-03-25 57/week @ 2024-04-01 31/week @ 2024-04-08 63/week @ 2024-04-15 21/week @ 2024-04-22 15/week @ 2024-04-29 10/week @ 2024-05-06 21/week @ 2024-05-13 20/week @ 2024-05-20 27/week @ 2024-05-27 17/week @ 2024-06-03 16/week @ 2024-06-10 18/week @ 2024-06-17 16/week @ 2024-06-24

68 downloads per month
Used in 3 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