Filewatcher File Search File Search
Content Search
» » » » »


lexical analyzer generator for Java

It is also a rewrite of the very useful tool JLex which was developed by Elliot Berk at Princeton University. As Vern Paxon states for his C/C++ tool flex : They do not share any code though.

JFlex is designed to work together with the LALR parser generator CUP by Scott Hudson, and the Java modification of Berkeley Yacc BYacc/J by Bob Jamison. It can also be used together with other parser generators like ANTLR or as a standalone tool.

Package version:1.4.3-2


This directory contains a small example of a scanner for binary files.

The example tries to detect if an input file is a java class file by
checking if the first 4 bytes contain the magic number 0xCAFEBABE.
It uses a custom Reader class that copies bytes to characters one to
one. The characters the scanner gets to read are the bytes from the
input stream without any conversion. Many thanks to Ste


This directory contains an interoperability example for BYacc/J and JFlex
(a small calculator)

You need the parser generator byacc/j from
for this example to work (version byacc/j 1.1 has been tested).

Use the Makefile to generate the lexer and parser.
The example can then be started with

java Parser


  JFlex specification for the lexical part o


A small JFlex+Cup example

It comes from a short article series in the Linux Gazette by Richard
A. Sevenich and Christopher Lopes, titled "Compiler Construction
Tools". The article series starts at

Small changes and updates to newest JFlex+Cup versions by Gerwin Klein

To compile:
>jflex lcalc.flex
>java java_cup.Main < ycalc.cup
>javac Main.jav


This directory contains an interpreter for a small functional
programming language (called "AS"). It


This directory contains a scanner and parser for the Java programming language.

You need the parser


 Gerwin Klein <>
 Régis Décamps <>


This is a small Maven project that demeonstrates the use of maven-jflex-plugin.



This directory contains a scanner for a toy programming language.

It is the example from the JLex w

Browse inside jflex_1.4.3-2_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download jflex_1.4.3-2_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016