6 releases

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

#1472 in Development tools

Download history 16/week @ 2024-07-22 19/week @ 2024-07-29 74/week @ 2024-08-05 26/week @ 2024-08-12 14/week @ 2024-08-19 21/week @ 2024-08-26 37/week @ 2024-09-02 251/week @ 2024-09-09 74/week @ 2024-09-16 69/week @ 2024-09-23 48/week @ 2024-09-30 65/week @ 2024-10-07 40/week @ 2024-10-14 41/week @ 2024-10-21 33/week @ 2024-10-28 70/week @ 2024-11-04

188 downloads per month
Used in 5 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