jb -- Parser and Lexer Generation for Java


Last Updated: 9 October 1997
Latest Version: jb-5.4

[ Description | Retrieving | Change Log | Mailing List | Acknowledgments ]

Description

The jb system takes parsers generated using the Gnu Bison parser generator system and translates them to execute in Java (tm) Jb takes the C file output by Bison and scans it to extract the parse tables and constants. Jb then scans various template files specified by the user and inserts the extracted information at specified points in the templates.

In addition to generating parsers, jb provides two methods of generating corresponding lexers.

  1. Flex -- the jb system (starting with version 3.0) can also take lexers generated using the Gnu flex generator and translate them to execute in Java; this is accomplished with a program called jf.

  2. yylex.generic -- A generic ad-hoc lexer that can be modified to produce lexers for typical programming languages.

Retrieving jb

FTP

Various versions of jb are available via anonymous ftp. The following references are symbolic links to the latest versions.
Source:
ftp://ftp.cs.colorado.edu/pub/cs/distribs/arcadia/jb.tar
Information file:
ftp://ftp.cs.colorado.edu/pub/cs/distribs/arcadia/jb.txt

SRM

Various versions of jb can also be obtained from SRM -- the Serl Software Release Manager at

http://www.cs.colorado.edu/cgi-bin/cgiwrap/~serl/getmainpage.tcl?GROUP=serl

Dependencies:

Mailing List

If you are interested in receiving occasional mailings about this system, please send your preferred email address to the contact address below and mentioning the name of this system.

Acknowledgments

This work is sponsored by the Air Force Material Command, Rome Laboratory, and the Defense Advanced Research Projects Agency under Contract Number F30602-94-C-0253.


Dennis Heimbigner <dennis@cs.colorado.edu>

SERL <serl@cs.colorado.edu>
[ Research | People | Software | Papers ]



SERL: jb -- Bison Parser and Lexer Generating Java

Change Log


Last Updated: 4 July 1997

[ Version 5 | Version 4 | Version 3 ]

Changes Incorporated into Version 5

Minor version levels are indicated in parentheses.

Changes Incorporated into Version 4

Minor version levels are indicated in parentheses.

Changes Incorporated into Version 3

Minor version levels are indicated in parentheses.


SERL <serl@cs.colorado.edu>
[ Research | People | Software | Papers ]