~ubuntu-branches/ubuntu/gutsy/jflex/gutsy

« back to all changes in this revision

Viewing changes to src/README

  • Committer: Bazaar Package Importer
  • Author(s): Takashi Okamoto
  • Date: 2002-02-16 13:38:21 UTC
  • Revision ID: james.westby@ubuntu.com-20020216133821-5wsdprpt9xl7ondr
Tags: upstream-1.3.5
ImportĀ upstreamĀ versionĀ 1.3.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This directory contains the source code for JFlex.
 
2
 
 
3
For convenience,the following generated lexer and parser files
 
4
have been included in the distribution:
 
5
 
 
6
JFlex/LexScan.java  (lexer, generated from src/LexScan.flex)
 
7
 
 
8
JFlex/LexParse.java (parser, generated from src/LexParse.cup)
 
9
JFlex/sym.java
 
10
 
 
11
Compilation issues:
 
12
 
 
13
- if you have the tya jit compiler for linux, javac might crash on LexParse.java
 
14
  (turn off the jit or use shujit as a workaround)
 
15
 
 
16
- if you have JDK 1.1.7 and CUP v0.10i, javac -O might complain about a final 
 
17
  variable in LexParse.java (javac bug). As a workaround: don't use -O or edit
 
18
  LexParse.java and make the variable non final (it is not used in JFlex code
 
19
  anyway)  
 
20
 
 
21
 
 
22
Dir contents:
 
23
 
 
24
Makefile:
 
25
  for use with gnu make (tested on linux only, should work with
 
26
  most unix and make flavors).
 
27
  useful targets:
 
28
 
 
29
  all:   recompiles all JFlex classes, generates lexer+parser 
 
30
         only if necessary, zips up all compiled classes in
 
31
         ../lib/JFlex.jar
 
32
 
 
33
  build: cleans up everything and does a completely new build
 
34
 
 
35
  clean: deletes generated, temporary and *.class files
 
36
 
 
37
 
 
38
skeleton:
 
39
  a skeleton file matching exactly the precompiled scanner skeleton.
 
40
  Can be used together with the -skel option 
 
41
 
 
42
skeleton.nested:
 
43
  a skeleton file that supports nested input streams (see the manual 
 
44
  for the API). Can be used together with the -skel option
 
45
 
 
46
JFlex:
 
47
  source files of package JFlex
 
48
 
 
49
JFlex/gui:
 
50
  source files of package JFlex.gui
 
51
 
 
52
JFlex/anttask
 
53
  source files of the JFlex Ant task (contributed by Rafal Mantiuk)
 
54
 
 
55
java_cup/runtime:
 
56
  CUP v0.10j runtime classes, used by JFlex