Re: specification file for JLex

ANDREI Stefan <stefan@infoiasi.ro>
1 Nov 2003 12:04:36 -0500

          From comp.compilers

Related articles
specification file for JLex Robert.Siegfried@gmx.de (Robert Siegfried) (2003-10-31)
Re: specification file for JLex sreeni@viswanadha.net (Sreenivasa Viswanadha) (2003-11-01)
Re: specification file for JLex stefan@infoiasi.ro (ANDREI Stefan) (2003-11-01)
| List of all articles for this month |
From: ANDREI Stefan <stefan@infoiasi.ro>
Newsgroups: comp.compilers
Date: 1 Nov 2003 12:04:36 -0500
Organization: Compilers Central
References: 03-10-132
Keywords: lex, Java
Cc: compilers@iecc.com
Posted-Date: 01 Nov 2003 12:04:36 EST



At the URL: http://www.cs.princeton.edu/~appel/modern/java/CUP/
there is a file lexer.java (extracted from the ZIP archive).
That file corresponds to a scanner for the JavaCUP specification.
You may follow that scanner, combined with the lexical
specification for Java (from java.sun.com), so that you can
build yourself a JLex specification for Java.
    Hope this helps, good luck,
        Stefan


On 31 Oct 2003, Robert Siegfried wrote:


> I am looking for a specification file for JLex, so that JLex generates a
> scanner for Java. Neither on the JLex homepage nor via google did I find
> such a file.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.