JFlex is a lexical analyzer generator (also known as scanner generator) for Java(tm), written in Java(tm).
JFlex is designed to work together with the LALR parser generator CUP. It can also be used together with other parser generators like ANTLR or as a standalone tool.
Features:
- Faster generated scanners
- Faster Scanner generation (independent of the input character set)
- Three different kinds of generated code for best performance/size.
- Predefined character classes
- Comments in all parts of the specification
- Macro definitions are regular expressions, not just text
- Cycles in macro definitions are detected and reported at generation time
- Platform independent end of line operator "$"
- Beginning of line operator "^" works as expected (not consuming newlines)
- Grouping of rules with same lexical states
- Comments, character literals and strings in actions are handled correctly
- Builtin support for the CUP parser generator
- Column counting
- Standalone scanners (as with C/C flex)
- Debugging support
Requirements:
- JRE/JDK 1.1 or above
Comments not found