Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

jflex(1) [debian man page]

JFLEX(1)						      General Commands Manual							  JFLEX(1)

NAME
jflex - a lexical analyzer generator (also known as scanner generator) for Java SYNOPSIS
jflex <options> <input-files> DESCRIPTION
JFlex is a lexical analyzer generator (also known as scanner generator) for Java(tm), written in Java(tm). It is also a rewrite of the very useful tool JLex. JFlex is designed to work together with the LALR parser generator CUP, and the Java modification of Berkeley Yacc BYacc/J. It can also be used together with other parser generators like ANTLR or as a standalone tool. OPTIONS
-d <directory> write generated file to <directory> --skel <file> use external skeleton <file> --switch, --table, --pack set default code generation method --jlex strict JLex compatibility --nomin skip minimization step --nobak don't create backup files --dump display transition tables --dot write graphviz .dot files for the generated automata (alpha) --verbose, -v display generation progress messages (default) --quiet, -q display errors only --time display generation time statistics --version print the version number of this copy of jflex --info print system + JDK information --help, -h print this message AUTHOR
This manual page was written by Wolfgang Baer <WBaer@gmx.de>, for the Debian project (but may be used by others). October 2005 JFLEX(1)

Check Out this Related Man Page

JAY(1)							      General Commands Manual							    JAY(1)

NAME
jay - an LALR(1) parser generator for Java and C# SYNOPSIS
jay [ -tv ] [ -c ] [ -p ] [ -b file_prefix ] [ -V yyValue ] filename < skeleton DESCRIPTION
Jay reads the grammar specification in the file filename and generates an LR(1) parser for it. The parsers consist of a set of LALR(1) parsing tables and a driver routine from the file skeleton written in the Java programming language. Jay writes the parse tables and the driver routine to standard output. The following options are available: -b file_prefix The -b option changes the prefix prepended to the output file names to the string denoted by file_prefix. The default prefix is the character y. -c The -c option makes jay generate C# code instead of the default Java. -t The -t option arranges for debugging information to be incorporated in the compiled code. -v The -v option causes a human-readable description of the generated parser to be written to the file y.output. -p The -p option causes jay to print the directory in which its sample skeleton files are installed. If a project wants to use the default skeleton file included with jay, it can use this option in a makefile to find the path to the skeleton or skele- ton.cs file included with the jay distribution. If the environment variable TMPDIR is set, the string denoted by TMPDIR will be used as the name of the directory where the temporary files are created. FILES
skeleton y.output /tmp/yacc.aXXXXXX /tmp/yacc.tXXXXXX /tmp/yacc.uXXXXXX DIAGNOSTICS
If there are rules that are never reduced, the number of such rules is reported on standard error. If there are any LALR(1) conflicts, the number of conflicts is reported on standard error. HISTORY
Jay is derived from Berkeley yacc . Input conventions closely follow those of yacc ; for details, consult the parser skeleton file and the commented example included with the sources. 4.3 Berkeley Distribution May 24, 1993 / July 8, 1998 JAY(1)
Man Page

7 More Discussions You Might Find Interesting

1. Linux

Problem using Java Native Interface on Debian

(0 Replies)
Discussion started by: QED
0 Replies

2. Solaris

Java errors

Solaris 10. Getting a boatload of "Resource unavailable" on read errors for a Java process which is taking 350% of CPU. No I/O issues and dtrace shows lots of lwp calls. There are only 54 threads (or so, it fluxuates) but certainly not a lot. App is WebLogic. App has been up since the third and... (2 Replies)
Discussion started by: BOFH
2 Replies

3. Programming

How to split data to jComboBox in Java

I have text file that contain the following line step = ('step1' 'step2' 'step3' '' '') with above data, i would like Java to interpret the file and put step1, step2 and step3 into jComboBox with ignore the '' sign. How can i do that? Thank you in advance (1 Reply)
Discussion started by: thada_ssknt
1 Replies

4. Programming

Java Interpreter

Hello guys - do you have any sample program implementing UNIX commands in an interpreter with Java? I can look up the simple ones such "ls" etc and then write my own commands. I would appreciate it. (2 Replies)
Discussion started by: cmontr
2 Replies

5. Linux

Linux through Java code

Hi How can I write a Java program to execute Linux commands? What is the best approach: Invoking the Linux shell within Java and executing commands or, using the Java APIs to do the stuff. Since it is platform independent, it'll know itself what to do. We need not check which OS the Java... (1 Reply)
Discussion started by: Dorothy
1 Replies

6. OS X (Apple)

Plotting A Sine Curve Inside A Bash Shell...

Hi all... After mentioning the generation of a sinewave sweep generator in a previous thread in this forum this is the method I decided upon. It plots a sinewave inside an 80 x 24 terminal window. Although the original used bc (and the line is in the code but commented out) it is now... (4 Replies)
Discussion started by: wisecracker
4 Replies

7. Shell Programming and Scripting

Java stack trace parser in awk

I want the developers to get a mail with Java stack traces on a daily bases. When something is flaged as known issue and will get a fix but mean while this does not need to get sent each dayl. This is what I got so far. It's a bash script that runs some AWK in it. To get the files that needs to... (6 Replies)
Discussion started by: chipmunken
6 Replies