Good java tokenizers?

I'm interested in any good tokenizers out there for java OTHER THAN, which are included in standard libraries like StreamTokenizer and StringTokenizer, which, in my opinion, are not very good.

The only thing I know is jTopas , which is great. So what else is there?

*** Allows you to exclude ANTLR from offers. In addition, I know that writing from scratch is fairly easy, but having done this several times, I found that I prefer to use something in common.

+3
source share
2 answers

I really like ANTLR , although it can be quite heavy if you only need to perform tokenization, but it is great if you need lexer / parser, especially in Java.

0
0

Source: https://habr.com/ru/post/1796169/


All Articles