Install jlex by entering the following commands in the terminal:
sudo apt update sudo apt install jlex
Description:
Lex-style lexical analyser generator for Java
The JLex utility is a lexical analyser generator, modelled after the popular UNIX "lex" utility. . JLex takes a specification file similar to that accepted by Lex, then creates a Java source file for the corresponding lexical analyzer.
Homepage: http://www.cs.princeton.edu/~appel/modern/java/JLex/
Version: 1.2.6-8
Section: universe/devel