¬<><∪∪ Version 1.0.3 (April 13 2006) Copyright (c) Koto 2001-2003. Licensed under GPL usually. Usage: notavacc [options] files... Options: --source-path <dir> input from <dir>. -d, --destination-path <dir> output to <dir>. --encoding <encoding> encoding of source and destination. --source-encoding <encoding> encoding of source. --destination-encoding <encoding> encoding of destination. --target <type> output target: version of java. --dry-run output no code. --debug debug mode for compiler developers. --javadoc-lang <lang> output javadoc in <lang>. --version show the version. -h, --help display this help. -v, --verbose increase verbosity. -q, --quiet decrease verbosity.
--destination-path が指定されていない場合、出力されるJavaファイルは、入力されるファイルと同じディレクトリへ出力されます。--destination-path のみが指定された場合、出力されるJavaファイルは、指定されたディレクトリへ出力されます。--source-path と --destination-path の両方が指定された場合、--destination-path で指定されたディレクトリに対して、--source-path からの入力ファイルへの相対パスを加えてできるファイルが含まれるディレクトリへ出力されます。
例えば ./src/a/b/c/foo.notavacc をコンパイルする場合、次のようになります。
オプション | 結果 |
---|---|
(なし) | ./src/a/b/c/ へ出力されます。 |
--destination-path dst | ./dst/ へ出力されます。 |
--source-path src --destination-path dst | ./dst/a/b/c/ へ出力されます。 |
入出力されるファイルのエンコーディングを指定します。
入力されるファイルのエンコーディングを指定します。--encoding オプションよりも優先されます。
出力されるファイルのエンコーディングを指定します。--encoding オプションよりも優先されます。
どのバージョンのJavaを対象としてコードを出力するかを指定します。
引数 | 説明 |
---|---|
1.2 | 1.4と、次の点が異なります。
|
1.3 | 1.2と同じです。 |
1.4 | Java1.4 に最適なプログラムが出力されます。最もテストされています。ドキュメント通りの出力が行われます。 |
実際にはファイルを出力しませんが、処理を一通り実行します。
デバッグ用の構文解析器を出力します。文法が曖昧であることが判明した場合や、文法が曖昧である可能性が高い場合に、構築可能な構文木をエラー出力へ出力します。ファイルへ分割し diff を取ることで、文法のどこにあいまい性があるのかを判断する助けになります。
javadocコメントの言語を指定します。jaとenがサポートされています。
バージョンを出力します。
ヘルプメッセージを出力します。
処理の詳細を出力します。
% notavacc --verbose --target 1.4 --dry-run ExpressionParser.notavacc ¬<><∪∪ Version 1.0.3 (April 13 2006) Copyright (c) Koto 2001-2003. Licensed under GPL usually. generating a parser from `ExpressionParser.notavacc'. ExpressionParser.notavacc: generating DFA. ExpressionParser.notavacc: generated. 32 states. ExpressionParser.notavacc: building the minimal form. ExpressionParser.notavacc: built. 16 states. ExpressionParser.notavacc: generating an extended CFG. ExpressionParser.notavacc: generated. 30 states. ExpressionParser.notavacc: checking dead symbols. ExpressionParser.notavacc: checked. ExpressionParser.notavacc: generating a CFG. ExpressionParser.notavacc: generated. 35 states. ExpressionParser.notavacc: generating LR states. ExpressionParser.notavacc: generated. 24 states. ExpressionParser.notavacc: delivering lookahead terminals. ExpressionParser.notavacc: delivered. ExpressionParser.notavacc: generating reductions. ExpressionParser.notavacc: generated. 0 LALR(1)-conflicted state(s). ExpressionParser.notavacc: generating LR table. ExpressionParser.notavacc: generated. ExpressionParser.notavacc: generating types. ExpressionParser.notavacc: generated. 7 types. ExpressionParser.notavacc: dry run: not writing to the file `ExpressionParser.java'. ExpressionParser.notavacc: 10 EBNF productions. ExpressionParser.notavacc: DFA table: 16 entries. ExpressionParser.notavacc: LR table: 24 entries. ExpressionParser.notavacc: LR table: 1,376 bytes. ExpressionParser.notavacc: 10 reductions. ExpressionParser.notavacc: dry run: did not write to the file `ExpressionParser.java'.
複数回指定することで、字句解析、構文解析に使用される状態遷移を出力します。
% notavacc --verbose --verbose --target 1.4 --dry-run ExpressionParser.notavacc ¬<><∪∪ Version 1.0.3 (April 13 2006) Copyright (c) Koto 2001-2003. Licensed under GPL usually. generating a parser from `ExpressionParser.notavacc'. ExpressionParser.notavacc: verbose information: generating DFA. ExpressionParser.notavacc: verbose information: generated. 32 states. ExpressionParser.notavacc: verbose information: building the minimal form. ExpressionParser.notavacc: verbose information: built. 16 states. ExpressionParser.notavacc: verboser information: ----DFA States Report---- verboser information: initial state = DFAState28 verboser information: -- DFAState28 -- verboser information: '\t'..'\n' ==> DFAState17 verboser information: '\f'..'\r' ==> DFAState17 verboser information: ' ' ==> DFAState17 verboser information: '(' ==> DFAState18 verboser information: ')' ==> DFAState19 verboser information: '*' ==> DFAState20 verboser information: '+' ==> DFAState21 verboser information: '-' ==> DFAState22 verboser information: '/' ==> DFAState23 verboser information: '0' ==> DFAState30 verboser information: '1'..'9' ==> DFAState24 verboser information: -- DFAState17 -- verboser information: hit WHITE_SPACES verboser information: '\t'..'\n' ==> DFAState17 verboser information: '\f'..'\r' ==> DFAState17 verboser information: ' ' ==> DFAState17 verboser information: -- DFAState18 -- verboser information: hit "(" verboser information: -- DFAState19 -- verboser information: hit ")" verboser information: -- DFAState20 -- verboser information: hit "*" verboser information: -- DFAState21 -- verboser information: hit "+" verboser information: -- DFAState22 -- verboser information: hit "-" verboser information: -- DFAState23 -- verboser information: hit "/" verboser information: '*' ==> DFAState27 verboser information: '/' ==> DFAState29 verboser information: -- DFAState27 -- verboser information: '\u0000'..')' ==> DFAState27 verboser information: '*' ==> DFAState16 verboser information: '+'..'\uFFFF' ==> DFAState27 verboser information: -- DFAState16 -- verboser information: '\u0000'..')' ==> DFAState27 verboser information: '*' ==> DFAState16 verboser information: '+'..'.' ==> DFAState27 verboser information: '/' ==> DFAState26 verboser information: '0'..'\uFFFF' ==> DFAState27 verboser information: -- DFAState26 -- verboser information: hit TRADITIONAL_COMMENT verboser information: -- DFAState29 -- verboser information: '\u0000'..'\t' ==> DFAState29 verboser information: '\n' ==> DFAState31 verboser information: '\u000B'..'\f' ==> DFAState29 verboser information: '\r' ==> DFAState25 verboser information: '\u000E'..'\uFFFF' ==> DFAState29 verboser information: -- DFAState31 -- verboser information: hit END_OF_LINE_COMMENT verboser information: -- DFAState25 -- verboser information: hit END_OF_LINE_COMMENT verboser information: '\n' ==> DFAState31 verboser information: -- DFAState30 -- verboser information: hit INTEGER verboser information: -- DFAState24 -- verboser information: hit INTEGER verboser information: '0'..'9' ==> DFAState24 ExpressionParser.notavacc: verbose information: generating an extended CFG. ExpressionParser.notavacc: verbose information: generated. 30 states. ExpressionParser.notavacc: verbose information: checking dead symbols. ExpressionParser.notavacc: verbose information: checked. ExpressionParser.notavacc: verbose information: generating a CFG. ExpressionParser.notavacc: verbose information: generated. 35 states. ExpressionParser.notavacc: verboser information: ----States Report---- verboser information: Root => State84 verboser information: Addition => State92 verboser information: Subtraction => State101 verboser information: Multiplication => State110 verboser information: Division => State119 verboser information: Number => State125 verboser information: expression => State130 verboser information: term => State135 verboser information: factor => State140 verboser information: parenthesizedExpression => State148 verboser information: -- State84 -- verboser information: expression:expression ==> State85 verboser information: -- State85 -- verboser information: FINAL STATE verboser information: -- State92 -- verboser information: operand1:expression ==> State94 verboser information: -- State94 -- verboser information: "+" ==> State91 verboser information: -- State91 -- verboser information: operand2:term ==> State93 verboser information: -- State93 -- verboser information: FINAL STATE verboser information: -- State101 -- verboser information: operand1:expression ==> State103 verboser information: -- State103 -- verboser information: "-" ==> State100 verboser information: -- State100 -- verboser information: operand2:term ==> State102 verboser information: -- State102 -- verboser information: FINAL STATE verboser information: -- State110 -- verboser information: operand1:term ==> State112 verboser information: -- State112 -- verboser information: "*" ==> State109 verboser information: -- State109 -- verboser information: operand2:factor ==> State111 verboser information: -- State111 -- verboser information: FINAL STATE verboser information: -- State119 -- verboser information: operand1:term ==> State121 verboser information: -- State121 -- verboser information: "/" ==> State118 verboser information: -- State118 -- verboser information: operand2:factor ==> State120 verboser information: -- State120 -- verboser information: FINAL STATE verboser information: -- State125 -- verboser information: value:INTEGER ==> State126 verboser information: -- State126 -- verboser information: FINAL STATE verboser information: -- State130 -- verboser information: $label:Addition ==> State151 verboser information: $label:Subtraction ==> State152 verboser information: $label:term ==> State153 verboser information: -- State151 -- verboser information: FINAL STATE verboser information: -- State152 -- verboser information: FINAL STATE verboser information: -- State153 -- verboser information: FINAL STATE verboser information: -- State135 -- verboser information: $label:Multiplication ==> State154 verboser information: $label:Division ==> State155 verboser information: $label:factor ==> State156 verboser information: -- State154 -- verboser information: FINAL STATE verboser information: -- State155 -- verboser information: FINAL STATE verboser information: -- State156 -- verboser information: FINAL STATE verboser information: -- State140 -- verboser information: $label:parenthesizedExpression ==> State157 verboser information: $label:Number ==> State158 verboser information: -- State157 -- verboser information: FINAL STATE verboser information: -- State158 -- verboser information: FINAL STATE verboser information: -- State148 -- verboser information: "(" ==> State150 verboser information: -- State150 -- verboser information: $label:expression ==> State147 verboser information: -- State147 -- verboser information: ")" ==> State149 verboser information: -- State149 -- verboser information: FINAL STATE ExpressionParser.notavacc: verbose information: generating LR states. ExpressionParser.notavacc: verbose information: generated. 24 states. ExpressionParser.notavacc: verbose information: delivering lookahead terminals. ExpressionParser.notavacc: verbose information: delivered. ExpressionParser.notavacc: verbose information: generating reductions. ExpressionParser.notavacc: verbose information: generated. 0 LALR(1)-conflicted state(s). ExpressionParser.notavacc: verboser information: ----LRStates Report---- verboser information: Root => LRState24 verboser information: -- LRState26 -- verboser information: -- items -- verboser information: State159 ; [] (kernel) verboser information: -- reductions -- verboser information: -- LRState24 -- verboser information: Root ==> LRState25 verboser information: expression ==> LRState27 verboser information: Addition ==> LRState45 verboser information: Subtraction ==> LRState46 verboser information: term ==> LRState47 verboser information: Multiplication ==> LRState42 verboser information: Division ==> LRState43 verboser information: factor ==> LRState44 verboser information: parenthesizedExpression ==> LRState32 verboser information: Number ==> LRState33 verboser information: "(" ==> LRState34 verboser information: INTEGER ==> LRState41 verboser information: -- items -- verboser information: State160 ; [] (kernel) verboser information: Root ==> State161 verboser information: State84 ; [<EOF>] verboser information: expression:expression ==> State85 verboser information: State130 ; [<EOF>, "+", "-"] verboser information: $label:Addition ==> State151 verboser information: $label:Subtraction ==> State152 verboser information: $label:term ==> State153 verboser information: State92 ; [<EOF>, "+", "-"] verboser information: operand1:expression ==> State94 verboser information: State101 ; [<EOF>, "+", "-"] verboser information: operand1:expression ==> State103 verboser information: State135 ; [<EOF>, "+", "-", "*", "/"] verboser information: $label:Multiplication ==> State154 verboser information: $label:Division ==> State155 verboser information: $label:factor ==> State156 verboser information: State110 ; [<EOF>, "+", "-", "*", "/"] verboser information: operand1:term ==> State112 verboser information: State119 ; [<EOF>, "+", "-", "*", "/"] verboser information: operand1:term ==> State121 verboser information: State140 ; [<EOF>, "+", "-", "*", "/"] verboser information: $label:parenthesizedExpression ==> State157 verboser information: $label:Number ==> State158 verboser information: State148 ; [<EOF>, "+", "-", "*", "/"] verboser information: "(" ==> State150 verboser information: State125 ; [<EOF>, "+", "-", "*", "/"] verboser information: value:INTEGER ==> State126 verboser information: -- reductions -- verboser information: -- LRState25 -- verboser information: <EOF> ==> LRState26 verboser information: -- items -- verboser information: State161 ; [] (kernel) verboser information: <EOF> ==> State159 verboser information: -- reductions -- verboser information: -- LRState27 -- verboser information: "+" ==> LRState28 verboser information: "-" ==> LRState37 verboser information: -- items -- verboser information: State85 (FINAL) ; [<EOF>] (kernel) verboser information: FINAL STATE verboser information: State94 ; [<EOF>, "+", "-"] (kernel) verboser information: "+" ==> State91 verboser information: State103 ; [<EOF>, "+", "-"] (kernel) verboser information: "-" ==> State100 verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: Root : [[expression]] verboser information: -- LRState45 -- verboser information: -- items -- verboser information: State151 (FINAL) ; [<EOF>, "+", "-", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: expression : [[$label]] verboser information: "+" ==> verboser information: expression : [[$label]] verboser information: "-" ==> verboser information: expression : [[$label]] verboser information: ")" ==> verboser information: expression : [[$label]] verboser information: -- LRState46 -- verboser information: -- items -- verboser information: State152 (FINAL) ; [<EOF>, "+", "-", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: expression : [[$label]] verboser information: "+" ==> verboser information: expression : [[$label]] verboser information: "-" ==> verboser information: expression : [[$label]] verboser information: ")" ==> verboser information: expression : [[$label]] verboser information: -- LRState47 -- verboser information: "*" ==> LRState30 verboser information: "/" ==> LRState39 verboser information: -- items -- verboser information: State153 (FINAL) ; [<EOF>, "+", "-", ")"] (kernel) verboser information: FINAL STATE verboser information: State112 ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: "*" ==> State109 verboser information: State121 ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: "/" ==> State118 verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: expression : [[$label]] verboser information: "+" ==> verboser information: expression : [[$label]] verboser information: "-" ==> verboser information: expression : [[$label]] verboser information: ")" ==> verboser information: expression : [[$label]] verboser information: -- LRState42 -- verboser information: -- items -- verboser information: State154 (FINAL) ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: term : [[$label]] verboser information: "+" ==> verboser information: term : [[$label]] verboser information: "-" ==> verboser information: term : [[$label]] verboser information: "*" ==> verboser information: term : [[$label]] verboser information: "/" ==> verboser information: term : [[$label]] verboser information: ")" ==> verboser information: term : [[$label]] verboser information: -- LRState43 -- verboser information: -- items -- verboser information: State155 (FINAL) ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: term : [[$label]] verboser information: "+" ==> verboser information: term : [[$label]] verboser information: "-" ==> verboser information: term : [[$label]] verboser information: "*" ==> verboser information: term : [[$label]] verboser information: "/" ==> verboser information: term : [[$label]] verboser information: ")" ==> verboser information: term : [[$label]] verboser information: -- LRState44 -- verboser information: -- items -- verboser information: State156 (FINAL) ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: term : [[$label]] verboser information: "+" ==> verboser information: term : [[$label]] verboser information: "-" ==> verboser information: term : [[$label]] verboser information: "*" ==> verboser information: term : [[$label]] verboser information: "/" ==> verboser information: term : [[$label]] verboser information: ")" ==> verboser information: term : [[$label]] verboser information: -- LRState32 -- verboser information: -- items -- verboser information: State157 (FINAL) ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: factor : [[$label]] verboser information: "+" ==> verboser information: factor : [[$label]] verboser information: "-" ==> verboser information: factor : [[$label]] verboser information: "*" ==> verboser information: factor : [[$label]] verboser information: "/" ==> verboser information: factor : [[$label]] verboser information: ")" ==> verboser information: factor : [[$label]] verboser information: -- LRState33 -- verboser information: -- items -- verboser information: State158 (FINAL) ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: factor : [[$label]] verboser information: "+" ==> verboser information: factor : [[$label]] verboser information: "-" ==> verboser information: factor : [[$label]] verboser information: "*" ==> verboser information: factor : [[$label]] verboser information: "/" ==> verboser information: factor : [[$label]] verboser information: ")" ==> verboser information: factor : [[$label]] verboser information: -- LRState34 -- verboser information: expression ==> LRState35 verboser information: Addition ==> LRState45 verboser information: Subtraction ==> LRState46 verboser information: term ==> LRState47 verboser information: Multiplication ==> LRState42 verboser information: Division ==> LRState43 verboser information: factor ==> LRState44 verboser information: parenthesizedExpression ==> LRState32 verboser information: Number ==> LRState33 verboser information: "(" ==> LRState34 verboser information: INTEGER ==> LRState41 verboser information: -- items -- verboser information: State150 ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: $label:expression ==> State147 verboser information: State130 ; [")", "+", "-"] verboser information: $label:Addition ==> State151 verboser information: $label:Subtraction ==> State152 verboser information: $label:term ==> State153 verboser information: State92 ; [")", "+", "-"] verboser information: operand1:expression ==> State94 verboser information: State101 ; [")", "+", "-"] verboser information: operand1:expression ==> State103 verboser information: State135 ; [")", "+", "-", "*", "/"] verboser information: $label:Multiplication ==> State154 verboser information: $label:Division ==> State155 verboser information: $label:factor ==> State156 verboser information: State110 ; [")", "+", "-", "*", "/"] verboser information: operand1:term ==> State112 verboser information: State119 ; [")", "+", "-", "*", "/"] verboser information: operand1:term ==> State121 verboser information: State140 ; [")", "+", "-", "*", "/"] verboser information: $label:parenthesizedExpression ==> State157 verboser information: $label:Number ==> State158 verboser information: State148 ; [")", "+", "-", "*", "/"] verboser information: "(" ==> State150 verboser information: State125 ; [")", "+", "-", "*", "/"] verboser information: value:INTEGER ==> State126 verboser information: -- reductions -- verboser information: -- LRState41 -- verboser information: -- items -- verboser information: State126 (FINAL) ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: Number : [[value]] verboser information: "+" ==> verboser information: Number : [[value]] verboser information: "-" ==> verboser information: Number : [[value]] verboser information: "*" ==> verboser information: Number : [[value]] verboser information: "/" ==> verboser information: Number : [[value]] verboser information: ")" ==> verboser information: Number : [[value]] verboser information: -- LRState28 -- verboser information: term ==> LRState29 verboser information: Multiplication ==> LRState42 verboser information: Division ==> LRState43 verboser information: factor ==> LRState44 verboser information: parenthesizedExpression ==> LRState32 verboser information: Number ==> LRState33 verboser information: "(" ==> LRState34 verboser information: INTEGER ==> LRState41 verboser information: -- items -- verboser information: State91 ; [<EOF>, "+", "-", ")"] (kernel) verboser information: operand2:term ==> State93 verboser information: State135 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: $label:Multiplication ==> State154 verboser information: $label:Division ==> State155 verboser information: $label:factor ==> State156 verboser information: State110 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: operand1:term ==> State112 verboser information: State119 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: operand1:term ==> State121 verboser information: State140 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: $label:parenthesizedExpression ==> State157 verboser information: $label:Number ==> State158 verboser information: State148 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: "(" ==> State150 verboser information: State125 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: value:INTEGER ==> State126 verboser information: -- reductions -- verboser information: -- LRState37 -- verboser information: term ==> LRState38 verboser information: Multiplication ==> LRState42 verboser information: Division ==> LRState43 verboser information: factor ==> LRState44 verboser information: parenthesizedExpression ==> LRState32 verboser information: Number ==> LRState33 verboser information: "(" ==> LRState34 verboser information: INTEGER ==> LRState41 verboser information: -- items -- verboser information: State100 ; [<EOF>, "+", "-", ")"] (kernel) verboser information: operand2:term ==> State102 verboser information: State135 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: $label:Multiplication ==> State154 verboser information: $label:Division ==> State155 verboser information: $label:factor ==> State156 verboser information: State110 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: operand1:term ==> State112 verboser information: State119 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: operand1:term ==> State121 verboser information: State140 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: $label:parenthesizedExpression ==> State157 verboser information: $label:Number ==> State158 verboser information: State148 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: "(" ==> State150 verboser information: State125 ; [<EOF>, "+", "-", ")", "*", "/"] verboser information: value:INTEGER ==> State126 verboser information: -- reductions -- verboser information: -- LRState30 -- verboser information: factor ==> LRState31 verboser information: parenthesizedExpression ==> LRState32 verboser information: Number ==> LRState33 verboser information: "(" ==> LRState34 verboser information: INTEGER ==> LRState41 verboser information: -- items -- verboser information: State109 ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: operand2:factor ==> State111 verboser information: State140 ; [<EOF>, "+", "-", "*", "/", ")"] verboser information: $label:parenthesizedExpression ==> State157 verboser information: $label:Number ==> State158 verboser information: State148 ; [<EOF>, "+", "-", "*", "/", ")"] verboser information: "(" ==> State150 verboser information: State125 ; [<EOF>, "+", "-", "*", "/", ")"] verboser information: value:INTEGER ==> State126 verboser information: -- reductions -- verboser information: -- LRState39 -- verboser information: factor ==> LRState40 verboser information: parenthesizedExpression ==> LRState32 verboser information: Number ==> LRState33 verboser information: "(" ==> LRState34 verboser information: INTEGER ==> LRState41 verboser information: -- items -- verboser information: State118 ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: operand2:factor ==> State120 verboser information: State140 ; [<EOF>, "+", "-", "*", "/", ")"] verboser information: $label:parenthesizedExpression ==> State157 verboser information: $label:Number ==> State158 verboser information: State148 ; [<EOF>, "+", "-", "*", "/", ")"] verboser information: "(" ==> State150 verboser information: State125 ; [<EOF>, "+", "-", "*", "/", ")"] verboser information: value:INTEGER ==> State126 verboser information: -- reductions -- verboser information: -- LRState35 -- verboser information: ")" ==> LRState36 verboser information: "+" ==> LRState28 verboser information: "-" ==> LRState37 verboser information: -- items -- verboser information: State147 ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: ")" ==> State149 verboser information: State94 ; [")", "+", "-"] (kernel) verboser information: "+" ==> State91 verboser information: State103 ; [")", "+", "-"] (kernel) verboser information: "-" ==> State100 verboser information: -- reductions -- verboser information: -- LRState29 -- verboser information: "*" ==> LRState30 verboser information: "/" ==> LRState39 verboser information: -- items -- verboser information: State93 (FINAL) ; [<EOF>, "+", "-", ")"] (kernel) verboser information: FINAL STATE verboser information: State112 ; [<EOF>, "+", "-", ")", "*", "/"] (kernel) verboser information: "*" ==> State109 verboser information: State121 ; [<EOF>, "+", "-", ")", "*", "/"] (kernel) verboser information: "/" ==> State118 verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: Addition : [[operand1], [], [operand2]] verboser information: "+" ==> verboser information: Addition : [[operand1], [], [operand2]] verboser information: "-" ==> verboser information: Addition : [[operand1], [], [operand2]] verboser information: ")" ==> verboser information: Addition : [[operand1], [], [operand2]] verboser information: -- LRState38 -- verboser information: "*" ==> LRState30 verboser information: "/" ==> LRState39 verboser information: -- items -- verboser information: State102 (FINAL) ; [<EOF>, "+", "-", ")"] (kernel) verboser information: FINAL STATE verboser information: State112 ; [<EOF>, "+", "-", ")", "*", "/"] (kernel) verboser information: "*" ==> State109 verboser information: State121 ; [<EOF>, "+", "-", ")", "*", "/"] (kernel) verboser information: "/" ==> State118 verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: Subtraction : [[operand1], [], [operand2]] verboser information: "+" ==> verboser information: Subtraction : [[operand1], [], [operand2]] verboser information: "-" ==> verboser information: Subtraction : [[operand1], [], [operand2]] verboser information: ")" ==> verboser information: Subtraction : [[operand1], [], [operand2]] verboser information: -- LRState31 -- verboser information: -- items -- verboser information: State111 (FINAL) ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: Multiplication : [[operand1], [], [operand2]] verboser information: "+" ==> verboser information: Multiplication : [[operand1], [], [operand2]] verboser information: "-" ==> verboser information: Multiplication : [[operand1], [], [operand2]] verboser information: "*" ==> verboser information: Multiplication : [[operand1], [], [operand2]] verboser information: "/" ==> verboser information: Multiplication : [[operand1], [], [operand2]] verboser information: ")" ==> verboser information: Multiplication : [[operand1], [], [operand2]] verboser information: -- LRState40 -- verboser information: -- items -- verboser information: State120 (FINAL) ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: Division : [[operand1], [], [operand2]] verboser information: "+" ==> verboser information: Division : [[operand1], [], [operand2]] verboser information: "-" ==> verboser information: Division : [[operand1], [], [operand2]] verboser information: "*" ==> verboser information: Division : [[operand1], [], [operand2]] verboser information: "/" ==> verboser information: Division : [[operand1], [], [operand2]] verboser information: ")" ==> verboser information: Division : [[operand1], [], [operand2]] verboser information: -- LRState36 -- verboser information: -- items -- verboser information: State149 (FINAL) ; [<EOF>, "+", "-", "*", "/", ")"] (kernel) verboser information: FINAL STATE verboser information: -- reductions -- verboser information: <EOF> ==> verboser information: parenthesizedExpression : [[], [$label], []] verboser information: "+" ==> verboser information: parenthesizedExpression : [[], [$label], []] verboser information: "-" ==> verboser information: parenthesizedExpression : [[], [$label], []] verboser information: "*" ==> verboser information: parenthesizedExpression : [[], [$label], []] verboser information: "/" ==> verboser information: parenthesizedExpression : [[], [$label], []] verboser information: ")" ==> verboser information: parenthesizedExpression : [[], [$label], []] ExpressionParser.notavacc: verbose information: generating LR table. ExpressionParser.notavacc: verbose information: generated. ExpressionParser.notavacc: verbose information: generating types. ExpressionParser.notavacc: verbose information: generated. 7 types. ExpressionParser.notavacc: verbose information: dry run: not writing to the file `ExpressionParser.java'. ExpressionParser.notavacc: verbose information: 10 EBNF productions. ExpressionParser.notavacc: verbose information: DFA table: 16 entries. ExpressionParser.notavacc: verbose information: LR table: 24 entries. ExpressionParser.notavacc: verbose information: LR table: 1,376 bytes. ExpressionParser.notavacc: verbose information: 10 reductions. ExpressionParser.notavacc: verboser information: checking topTypeNamespace ExpressionParser.notavacc: verboser information: checking the reserved name java. ExpressionParser.notavacc: verboser information: checking the reserved name NodeInitializationParameters. ExpressionParser.notavacc: verboser information: checking the reserved name Visitor. ExpressionParser.notavacc: verboser information: checking the reserved name Node. ExpressionParser.notavacc: verboser information: checking the reserved name Token. ExpressionParser.notavacc: verboser information: checking the reserved name ParseException. ExpressionParser.notavacc: verboser information: checking the reserved name LexicalAnalyzer. ExpressionParser.notavacc: verboser information: checking the reserved name Default. ExpressionParser.notavacc: verboser information: checking the reserved name __GrpahStack__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking the reserved name __ConcreteSyntaxTree__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking topFieldNamespace ExpressionParser.notavacc: verboser information: checking the reserved name java. ExpressionParser.notavacc: verboser information: checking the reserved name __dfaTable__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking the reserved name __lrTable__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking the reserved name __reductionTable__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking topMethodNamespace ExpressionParser.notavacc: verboser information: checking the reserved name java. ExpressionParser.notavacc: verboser information: checking the reserved name createNode. ExpressionParser.notavacc: verboser information: checking the reserved name modifyWholeTree. ExpressionParser.notavacc: verboser information: checking the reserved name toCharSequence. ExpressionParser.notavacc: verboser information: checking the reserved name createLexicalAnalyzer. ExpressionParser.notavacc: verboser information: checking the reserved name __parse__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking the reserved name __binarySearch__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking the reserved name reduce. ExpressionParser.notavacc: verboser information: checking the reserved name __flatNodes__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking the reserved name __error__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking the reserved name initializeDFATable0. ExpressionParser.notavacc: verboser information: checking the reserved name initializeLRTable0. ExpressionParser.notavacc: verboser information: checking the reserved name initializeLRTable20. ExpressionParser.notavacc: verboser information: checking the reserved name __replaceAll__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking the reserved name __toHexCode__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking the reserved name __quoted__notavacc_reserved. ExpressionParser.notavacc: verboser information: checking the reserved name main. ExpressionParser.notavacc: verboser information: checking nodeFieldNamespace ExpressionParser.notavacc: verboser information: checking the reserved name java. ExpressionParser.notavacc: verboser information: checking the reserved name ID. ExpressionParser.notavacc: verboser information: checking nodeNoArgumentMethodNamespace ExpressionParser.notavacc: verboser information: checking the reserved name java. ExpressionParser.notavacc: verboser information: checking the reserved name getChildNodes. ExpressionParser.notavacc: verboser information: checking nodeMethodNamespace ExpressionParser.notavacc: verboser information: checking the reserved name java. ExpressionParser.notavacc: verboser information: checking the reserved name replaceChild. ExpressionParser.notavacc: verbose information: dry run: did not write to the file `ExpressionParser.java'.
出力するメッセージを減らします。
出力されるファイルを分割します。本来出力されるファイルが Foo.java の場合、このオプションを指定すると FooTables.java と Foo.java の2つのファイルを出力します。FooTables.java には内部で使用する静的なテーブルが、Foo.java にはその他のインターフェイスやメソッドが出力されます。このオプションは将来のバージョンではサポートされない可能性があります。