Parser Table
Grammar
| assignment | ::= |
id = expr |
all |
script: id = id nl |
| arg_star_11 | ::= |
*empty* |
all |
script: id ( ) nl |
| | |
arg_star_11_sub |
all |
script: id ( id ) nl |
| forupdate_optional_9 | ::= |
*empty* |
all |
script: for , , : end |
| | |
forupdate |
all |
script: for , , id : end |
| forinit_optional_7 | ::= |
*empty* |
all |
script: for , , : end |
| | |
forinit |
all |
script: for id = id , , : end |
| constant | ::= |
_boolean |
all |
script: print _boolean nl |
| | |
integer |
all |
script: print integer nl |
| | |
string |
all |
script: print string nl |
| parameter_star_3 | ::= |
*empty* |
all |
script: def id ( ) : empty |
| | |
parameter_star_3_sub |
all |
script: def id ( id ) : empty |
| expr_optional_6 | ::= |
*empty* |
all |
script: return nl |
| | |
expr |
all |
script: return id nl |
| type_optional_10 | ::= |
*empty* |
all |
script: var id = id nl |
| | |
type |
all |
script: var type id = id nl |
| forinit | ::= |
decl |
all |
script: for var id = id , , : end |
| | |
assignment |
all |
script: for id = id , , : end |
| type_optional_4 | ::= |
*empty* |
all |
script: def id ( id ) : empty |
| | |
type |
all |
script: def id ( type id ) : empty |
| expr | ::= |
constant |
all |
script: print _boolean nl |
| | |
id |
all |
script: print id nl |
| | |
+ expr |
all |
script: print + id nl |
| | |
- expr |
all |
script: print - id nl |
| | |
expr + expr |
all |
script: print id + id nl |
| | |
expr - expr |
all |
script: print id - id nl |
| | |
expr * expr |
all |
script: print id * id nl |
| | |
expr / expr |
all |
script: print id / id nl |
| | |
expr % expr |
all |
script: print id % id nl |
| | |
expr == expr |
all |
script: print id == id nl |
| | |
expr != expr |
all |
script: print id != id nl |
| | |
expr < expr |
all |
script: print id < id nl |
| | |
expr <= expr |
all |
script: print id <= id nl |
| | |
expr > expr |
all |
script: print id > id nl |
| | |
expr >= expr |
all |
script: print id >= id nl |
| | |
( expr ) |
all |
script: print ( id ) nl |
| | |
funcall |
all |
script: print id ( ) nl |
| | |
scan |
all |
script: print scan nl |
| eoln | ::= |
nl |
all |
script: return nl |
| | |
; |
all |
script: return ; |
| else_cont | ::= |
eob |
all |
script: if id : end |
| | |
elif expr : block else_cont |
all |
script: if id : elif id : end |
| | |
else : block eob |
all |
script: if id : else : end |
| expr_optional_8 | ::= |
*empty* |
all |
script: for , , : end |
| | |
expr |
all |
script: for , id , : end |
| type_optional_2 | ::= |
*empty* |
all |
script: def id ( ) : empty |
| | |
type |
all |
script: def type id ( ) : empty |
| forupdate | ::= |
assignment |
all |
script: for , , id = id : end |
| | |
expr |
all |
script: for , , id : end |
| arg | ::= |
expr |
all |
script: id ( id ) nl |
| | |
id : expr |
all |
script: id ( id : id ) nl |
| eofunc | ::= |
eob |
all |
script: def id ( ) : end |
| | |
empty |
all |
script: def id ( ) : empty |
| return_instr_optional_1 | ::= |
*empty* |
all |
script: |
| | |
return_instr |
all |
script: return nl |
| eob | ::= |
end |
all |
script: if id : end |
| | |
return_instr |
all |
script: if id : return nl |
| | |
break eoln |
all |
script: if id : break nl |
| | |
continue eoln |
all |
script: if id : continue nl |
| func_star_0 | ::= |
*empty* |
all |
script: |
| | |
func_star_0 func |
all |
script: def id ( ) : empty |
| -root-0 | ::= |
script ␄ |
all |
script: |
Non Terminals
| Non terminal | Epsilon | First | Result | Last | Result | Follow | Result |
| script | true |
| |
| |
| |
| assignment | false |
| |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| arg_star_11 | true |
|
| _boolean | | scan | | - | | integer | | ( | | + | | string | | id | |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| forupdate_optional_9 | true |
|
| _boolean | | scan | | integer | | - | | ( | | + | | string | | id | |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| forinit_optional_7 | true |
| |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| func | false |
| |
| |
|
| _if | | print | | def | | _return | | var | | __eof__ | | _for | | id | |
| constant | false |
| |
| |
|
| ge | | minus | | le | | slash | | star | | gt | | nl | | rpar | | mod | | ne | | colon | | eq | | comma | | lt | | semicolon | | plus | |
| parameter_star_3 | true |
| |
| |
| |
| expr_optional_6 | true |
|
| _boolean | | scan | | - | | integer | | ( | | + | | string | | id | |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| funcall | false |
| |
| |
|
| ge | | minus | | le | | slash | | star | | gt | | nl | | rpar | | mod | | ne | | colon | | eq | | comma | | lt | | semicolon | | plus | |
| parameter | false |
| |
| |
| |
| type_optional_10 | true |
| |
| |
| |
| forinit | false |
| |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| type_optional_4 | true |
| |
| |
| |
| parameter_star_3_sub | false |
| |
| |
| |
| else_cont | false |
|
| elif | | end | | break | | return | | continue | | else | |
| |
|
| print | | end | | var | | _return | | __eof__ | | _for | | _continue | | _else | | elif | | _if | | _break | | empty | | id | |
| expr | false |
|
| _boolean | | scan | | integer | | - | | ( | | + | | string | | id | |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
|
| ge | | minus | | le | | slash | | star | | gt | | nl | | rpar | | mod | | ne | | colon | | eq | | comma | | semicolon | | lt | | plus | |
| eoln | false |
| |
| |
|
| print | | end | | var | | _return | | __eof__ | | _for | | _continue | | _else | | elif | | _if | | def | | _break | | empty | | id | |
| expr_optional_8 | true |
|
| _boolean | | scan | | - | | integer | | ( | | + | | string | | id | |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| type_optional_2 | true |
| |
| |
| |
| forupdate | false |
|
| _boolean | | scan | | - | | integer | | ( | | + | | string | | id | |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| arg | false |
|
| _boolean | | scan | | - | | integer | | ( | | + | | string | | id | |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| eofunc | false |
|
| end | | break | | return | | empty | | continue | |
| |
|
| print | | _if | | def | | var | | _return | | __eof__ | | _for | | id | |
| arg_star_11_sub | false |
|
| _boolean | | scan | | integer | | - | | ( | | + | | string | | id | |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| instr_star_5 | true |
| |
| |
|
| print | | end | | var | | _return | | __eof__ | | _for | | _continue | | _else | | elif | | _if | | _break | | empty | | id | |
| return_instr_optional_1 | true |
| |
| |
| |
| decl | false |
| |
|
| ) | | _boolean | | scan | | integer | | string | | id | |
| |
| eob | false |
| |
| |
|
| print | | end | | var | | _return | | __eof__ | | _for | | _continue | | _else | | elif | | _if | | def | | _break | | empty | | id | |
| func_star_0 | true |
| |
| |
|
| print | | _if | | def | | var | | _return | | __eof__ | | _for | | id | |
| block | true |
| |
| |
|
| elif | | end | | _break | | _return | | __eof__ | | empty | | _continue | | _else | |
| -root-0 | false |
|
| if | | print | | def | | return | | var | | ␄ | | for | | id | |
| |
|
| return_instr | false |
| |
| |
|
| print | | end | | var | | _return | | __eof__ | | _for | | _continue | | _else | | elif | | _if | | def | | _break | | empty | | id | |
| instr | false |
| |
| |
|
| print | | end | | var | | _return | | __eof__ | | _for | | _continue | | _else | | elif | | _if | | _break | | empty | | id | |
Start States
| Non terminal | Start State |
| script | state0 |
States
state0 - state 0:
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state1 - state 0:
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| __eof__ | : |
accept |
| branch | : |
exit exit |
|
state2 - state 0: ␄
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| __eof__ | : |
accept |
| branch | : |
exit exit |
|
state3 - state 0:
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state4 - state 0: def
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state5 - state 0: def type
Compatible versions :
DEFAULT
state6 - state 0: def
Compatible versions :
DEFAULT
state7 - state 0: def id
Compatible versions :
DEFAULT
state8 - state 0: def id (
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state9 - state 0: def id ( type
Compatible versions :
DEFAULT
state10 - state 0: def id ( id
Compatible versions :
DEFAULT
state11 - state 0: def id (
Compatible versions :
DEFAULT
state12 - state 0: def id ( )
Compatible versions :
DEFAULT
state13 - state 0: def id ( ) :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state14 - state 0: def id ( ) :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state15 - state 0: if id : end
Compatible versions :
DEFAULT
state16 - state 0: if id : break
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state17 - state 0: return nl
Compatible versions :
DEFAULT
state18 - state 0: return ;
Compatible versions :
DEFAULT
state19 - state 0: if id : break nl
Compatible versions :
DEFAULT
state20 - state 0: return
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state21 - state 0: if _boolean
Compatible versions :
DEFAULT
state22 - state 0: if scan
Compatible versions :
DEFAULT
state23 - state 0: if integer
Compatible versions :
DEFAULT
state24 - state 0: if -
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state25 - state 0: if (
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state26 - state 0: if +
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state27 - state 0: if string
Compatible versions :
DEFAULT
state28 - state 0: if id
Compatible versions :
DEFAULT
state29 - state 0: id (
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state30 - state 0: id ( id
Compatible versions :
DEFAULT
state31 - state 0: id ( id :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state32 - state 0: if id ( )
Compatible versions :
DEFAULT
state33 - state 0: if _boolean
Compatible versions :
DEFAULT
state34 - state 0: id ( id : id
Compatible versions :
DEFAULT
state35 - state 0: if id >
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state36 - state 0: if id > id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= expr > expr,shift to state45 |
| minus | : |
reduce by expr ::= expr > expr,shift to state41 |
| le | : |
reduce by expr ::= expr > expr,shift to state51 |
| slash | : |
reduce by expr ::= expr > expr,shift to state55 |
| star | : |
reduce by expr ::= expr > expr,shift to state53 |
| gt | : |
reduce by expr ::= expr > expr,shift to state35 |
| nl | : |
reduce by expr ::= expr > expr |
| rpar | : |
reduce by expr ::= expr > expr |
| mod | : |
shift to state37,reduce by expr ::= expr > expr |
| colon | : |
reduce by expr ::= expr > expr |
| ne | : |
reduce by expr ::= expr > expr,shift to state39 |
| eq | : |
reduce by expr ::= expr > expr,shift to state43 |
| comma | : |
reduce by expr ::= expr > expr |
| semicolon | : |
reduce by expr ::= expr > expr |
| lt | : |
reduce by expr ::= expr > expr,shift to state47 |
| plus | : |
reduce by expr ::= expr > expr,shift to state49 |
|
state37 - state 0: if id %
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state38 - state 0: if id % id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
shift to state45,reduce by expr ::= expr % expr |
| minus | : |
shift to state41,reduce by expr ::= expr % expr |
| le | : |
shift to state51,reduce by expr ::= expr % expr |
| slash | : |
shift to state55,reduce by expr ::= expr % expr |
| star | : |
shift to state53,reduce by expr ::= expr % expr |
| gt | : |
shift to state35,reduce by expr ::= expr % expr |
| nl | : |
reduce by expr ::= expr % expr |
| rpar | : |
reduce by expr ::= expr % expr |
| mod | : |
shift to state37,reduce by expr ::= expr % expr |
| colon | : |
reduce by expr ::= expr % expr |
| ne | : |
shift to state39,reduce by expr ::= expr % expr |
| eq | : |
shift to state43,reduce by expr ::= expr % expr |
| comma | : |
reduce by expr ::= expr % expr |
| semicolon | : |
reduce by expr ::= expr % expr |
| lt | : |
shift to state47,reduce by expr ::= expr % expr |
| plus | : |
shift to state49,reduce by expr ::= expr % expr |
|
state39 - state 0: if id !=
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state40 - state 0: if id != id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= expr != expr,shift to state45 |
| minus | : |
shift to state41,reduce by expr ::= expr != expr |
| le | : |
shift to state51,reduce by expr ::= expr != expr |
| slash | : |
shift to state55,reduce by expr ::= expr != expr |
| star | : |
shift to state53,reduce by expr ::= expr != expr |
| gt | : |
shift to state35,reduce by expr ::= expr != expr |
| nl | : |
reduce by expr ::= expr != expr |
| rpar | : |
reduce by expr ::= expr != expr |
| mod | : |
shift to state37,reduce by expr ::= expr != expr |
| colon | : |
reduce by expr ::= expr != expr |
| ne | : |
shift to state39,reduce by expr ::= expr != expr |
| eq | : |
shift to state43,reduce by expr ::= expr != expr |
| comma | : |
reduce by expr ::= expr != expr |
| semicolon | : |
reduce by expr ::= expr != expr |
| lt | : |
shift to state47,reduce by expr ::= expr != expr |
| plus | : |
reduce by expr ::= expr != expr,shift to state49 |
|
state41 - state 0: if id -
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state42 - state 0: if id - id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= expr - expr,shift to state45 |
| minus | : |
shift to state41,reduce by expr ::= expr - expr |
| le | : |
shift to state51,reduce by expr ::= expr - expr |
| slash | : |
reduce by expr ::= expr - expr,shift to state55 |
| star | : |
shift to state53,reduce by expr ::= expr - expr |
| gt | : |
reduce by expr ::= expr - expr,shift to state35 |
| nl | : |
reduce by expr ::= expr - expr |
| rpar | : |
reduce by expr ::= expr - expr |
| mod | : |
shift to state37,reduce by expr ::= expr - expr |
| colon | : |
reduce by expr ::= expr - expr |
| ne | : |
reduce by expr ::= expr - expr,shift to state39 |
| eq | : |
reduce by expr ::= expr - expr,shift to state43 |
| comma | : |
reduce by expr ::= expr - expr |
| semicolon | : |
reduce by expr ::= expr - expr |
| lt | : |
shift to state47,reduce by expr ::= expr - expr |
| plus | : |
reduce by expr ::= expr - expr,shift to state49 |
|
state43 - state 0: if id ==
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state44 - state 0: if id == id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= expr == expr,shift to state45 |
| minus | : |
shift to state41,reduce by expr ::= expr == expr |
| le | : |
reduce by expr ::= expr == expr,shift to state51 |
| slash | : |
reduce by expr ::= expr == expr,shift to state55 |
| star | : |
shift to state53,reduce by expr ::= expr == expr |
| gt | : |
reduce by expr ::= expr == expr,shift to state35 |
| nl | : |
reduce by expr ::= expr == expr |
| rpar | : |
reduce by expr ::= expr == expr |
| mod | : |
shift to state37,reduce by expr ::= expr == expr |
| colon | : |
reduce by expr ::= expr == expr |
| ne | : |
reduce by expr ::= expr == expr,shift to state39 |
| eq | : |
reduce by expr ::= expr == expr,shift to state43 |
| comma | : |
reduce by expr ::= expr == expr |
| semicolon | : |
reduce by expr ::= expr == expr |
| lt | : |
shift to state47,reduce by expr ::= expr == expr |
| plus | : |
reduce by expr ::= expr == expr,shift to state49 |
|
state45 - state 0: if id >=
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state46 - state 0: if id >= id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= expr >= expr,shift to state45 |
| minus | : |
shift to state41,reduce by expr ::= expr >= expr |
| le | : |
shift to state51,reduce by expr ::= expr >= expr |
| slash | : |
shift to state55,reduce by expr ::= expr >= expr |
| star | : |
shift to state53,reduce by expr ::= expr >= expr |
| gt | : |
reduce by expr ::= expr >= expr,shift to state35 |
| nl | : |
reduce by expr ::= expr >= expr |
| rpar | : |
reduce by expr ::= expr >= expr |
| mod | : |
shift to state37,reduce by expr ::= expr >= expr |
| colon | : |
reduce by expr ::= expr >= expr |
| ne | : |
shift to state39,reduce by expr ::= expr >= expr |
| eq | : |
shift to state43,reduce by expr ::= expr >= expr |
| comma | : |
reduce by expr ::= expr >= expr |
| semicolon | : |
reduce by expr ::= expr >= expr |
| lt | : |
shift to state47,reduce by expr ::= expr >= expr |
| plus | : |
reduce by expr ::= expr >= expr,shift to state49 |
|
state47 - state 0: if id <
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state48 - state 0: if id < id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= expr < expr,shift to state45 |
| minus | : |
shift to state41,reduce by expr ::= expr < expr |
| le | : |
shift to state51,reduce by expr ::= expr < expr |
| slash | : |
shift to state55,reduce by expr ::= expr < expr |
| star | : |
shift to state53,reduce by expr ::= expr < expr |
| gt | : |
reduce by expr ::= expr < expr,shift to state35 |
| nl | : |
reduce by expr ::= expr < expr |
| rpar | : |
reduce by expr ::= expr < expr |
| mod | : |
shift to state37,reduce by expr ::= expr < expr |
| colon | : |
reduce by expr ::= expr < expr |
| ne | : |
shift to state39,reduce by expr ::= expr < expr |
| eq | : |
shift to state43,reduce by expr ::= expr < expr |
| comma | : |
reduce by expr ::= expr < expr |
| semicolon | : |
reduce by expr ::= expr < expr |
| lt | : |
shift to state47,reduce by expr ::= expr < expr |
| plus | : |
reduce by expr ::= expr < expr,shift to state49 |
|
state49 - state 0: if id +
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state50 - state 0: if id + id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= expr + expr,shift to state45 |
| minus | : |
shift to state41,reduce by expr ::= expr + expr |
| le | : |
shift to state51,reduce by expr ::= expr + expr |
| slash | : |
shift to state55,reduce by expr ::= expr + expr |
| star | : |
shift to state53,reduce by expr ::= expr + expr |
| gt | : |
shift to state35,reduce by expr ::= expr + expr |
| nl | : |
reduce by expr ::= expr + expr |
| rpar | : |
reduce by expr ::= expr + expr |
| mod | : |
shift to state37,reduce by expr ::= expr + expr |
| colon | : |
reduce by expr ::= expr + expr |
| ne | : |
shift to state39,reduce by expr ::= expr + expr |
| eq | : |
shift to state43,reduce by expr ::= expr + expr |
| comma | : |
reduce by expr ::= expr + expr |
| semicolon | : |
reduce by expr ::= expr + expr |
| lt | : |
shift to state47,reduce by expr ::= expr + expr |
| plus | : |
reduce by expr ::= expr + expr,shift to state49 |
|
state51 - state 0: if id <=
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state52 - state 0: if id <= id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
shift to state45,reduce by expr ::= expr <= expr |
| minus | : |
shift to state41,reduce by expr ::= expr <= expr |
| le | : |
shift to state51,reduce by expr ::= expr <= expr |
| slash | : |
shift to state55,reduce by expr ::= expr <= expr |
| star | : |
shift to state53,reduce by expr ::= expr <= expr |
| gt | : |
shift to state35,reduce by expr ::= expr <= expr |
| nl | : |
reduce by expr ::= expr <= expr |
| rpar | : |
reduce by expr ::= expr <= expr |
| mod | : |
shift to state37,reduce by expr ::= expr <= expr |
| colon | : |
reduce by expr ::= expr <= expr |
| ne | : |
shift to state39,reduce by expr ::= expr <= expr |
| eq | : |
shift to state43,reduce by expr ::= expr <= expr |
| comma | : |
reduce by expr ::= expr <= expr |
| semicolon | : |
reduce by expr ::= expr <= expr |
| lt | : |
shift to state47,reduce by expr ::= expr <= expr |
| plus | : |
shift to state49,reduce by expr ::= expr <= expr |
|
state53 - state 0: if id *
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state54 - state 0: if id * id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= expr * expr,shift to state45 |
| minus | : |
reduce by expr ::= expr * expr,shift to state41 |
| le | : |
reduce by expr ::= expr * expr,shift to state51 |
| slash | : |
reduce by expr ::= expr * expr,shift to state55 |
| star | : |
reduce by expr ::= expr * expr,shift to state53 |
| gt | : |
reduce by expr ::= expr * expr,shift to state35 |
| nl | : |
reduce by expr ::= expr * expr |
| rpar | : |
reduce by expr ::= expr * expr |
| mod | : |
reduce by expr ::= expr * expr,shift to state37 |
| colon | : |
reduce by expr ::= expr * expr |
| ne | : |
reduce by expr ::= expr * expr,shift to state39 |
| eq | : |
reduce by expr ::= expr * expr,shift to state43 |
| comma | : |
reduce by expr ::= expr * expr |
| semicolon | : |
reduce by expr ::= expr * expr |
| lt | : |
reduce by expr ::= expr * expr,shift to state47 |
| plus | : |
reduce by expr ::= expr * expr,shift to state49 |
|
state55 - state 0: if id /
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state56 - state 0: if id / id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= expr / expr,shift to state45 |
| minus | : |
reduce by expr ::= expr / expr,shift to state41 |
| le | : |
reduce by expr ::= expr / expr,shift to state51 |
| slash | : |
reduce by expr ::= expr / expr,shift to state55 |
| star | : |
reduce by expr ::= expr / expr,shift to state53 |
| gt | : |
reduce by expr ::= expr / expr,shift to state35 |
| nl | : |
reduce by expr ::= expr / expr |
| rpar | : |
reduce by expr ::= expr / expr |
| mod | : |
shift to state37,reduce by expr ::= expr / expr |
| colon | : |
reduce by expr ::= expr / expr |
| ne | : |
reduce by expr ::= expr / expr,shift to state39 |
| eq | : |
reduce by expr ::= expr / expr,shift to state43 |
| comma | : |
reduce by expr ::= expr / expr |
| semicolon | : |
reduce by expr ::= expr / expr |
| lt | : |
shift to state47,reduce by expr ::= expr / expr |
| plus | : |
reduce by expr ::= expr / expr,shift to state49 |
|
state57 - state 0: id (
Compatible versions :
DEFAULT
state58 - state 0: id ( )
Compatible versions :
DEFAULT
state59 - state 0: id ( id
Compatible versions :
DEFAULT
state60 - state 0: id ( id
Compatible versions :
DEFAULT
state61 - state 0: id ( id ,
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state62 - state 0: id ( id , id
Compatible versions :
DEFAULT
state63 - state 0: id ( id
Compatible versions :
DEFAULT
state64 - state 0: if + id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= + expr,shift to state45 |
| minus | : |
shift to state41,reduce by expr ::= + expr |
| le | : |
shift to state51,reduce by expr ::= + expr |
| slash | : |
reduce by expr ::= + expr,shift to state55 |
| star | : |
shift to state53,reduce by expr ::= + expr |
| gt | : |
reduce by expr ::= + expr,shift to state35 |
| nl | : |
reduce by expr ::= + expr |
| rpar | : |
reduce by expr ::= + expr |
| mod | : |
shift to state37,reduce by expr ::= + expr |
| colon | : |
reduce by expr ::= + expr |
| ne | : |
reduce by expr ::= + expr,shift to state39 |
| eq | : |
reduce by expr ::= + expr,shift to state43 |
| comma | : |
reduce by expr ::= + expr |
| semicolon | : |
reduce by expr ::= + expr |
| lt | : |
shift to state47,reduce by expr ::= + expr |
| plus | : |
reduce by expr ::= + expr,shift to state49 |
|
state65 - state 0: if ( id
Compatible versions :
DEFAULT
state66 - state 0: if ( id )
Compatible versions :
DEFAULT
state67 - state 0: if - id
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| ge | : |
reduce by expr ::= - expr,shift to state45 |
| minus | : |
shift to state41,reduce by expr ::= - expr |
| le | : |
shift to state51,reduce by expr ::= - expr |
| slash | : |
shift to state55,reduce by expr ::= - expr |
| star | : |
shift to state53,reduce by expr ::= - expr |
| gt | : |
shift to state35,reduce by expr ::= - expr |
| nl | : |
reduce by expr ::= - expr |
| rpar | : |
reduce by expr ::= - expr |
| mod | : |
shift to state37,reduce by expr ::= - expr |
| colon | : |
reduce by expr ::= - expr |
| ne | : |
shift to state39,reduce by expr ::= - expr |
| eq | : |
shift to state43,reduce by expr ::= - expr |
| comma | : |
reduce by expr ::= - expr |
| semicolon | : |
reduce by expr ::= - expr |
| lt | : |
shift to state47,reduce by expr ::= - expr |
| plus | : |
reduce by expr ::= - expr,shift to state49 |
|
state68 - state 0: return
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state69 - state 0: return nl
Compatible versions :
DEFAULT
state70 - state 0: return id
Compatible versions :
DEFAULT
state71 - state 0: def id ( ) : empty
Compatible versions :
DEFAULT
state72 - state 0: if id : continue
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state73 - state 0: if id : continue nl
Compatible versions :
DEFAULT
state74 - state 0: def id ( ) : end
Compatible versions :
DEFAULT
state75 - state 0: def id ( ) : empty
Compatible versions :
DEFAULT
state76 - state 0: if id : return nl
Compatible versions :
DEFAULT
state77 - state 0:
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state78 - state 0: if
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state79 - state 0: if id
Compatible versions :
DEFAULT
state80 - state 0: if id :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state81 - state 0: if id :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state82 - state 0: if id : elif
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state83 - state 0: if id : elif id
Compatible versions :
DEFAULT
state84 - state 0: if id : elif id :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state85 - state 0: if id : elif id :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state86 - state 0: if id : else
Compatible versions :
DEFAULT
state87 - state 0: if id : else :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state88 - state 0: if id : else :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state89 - state 0: if id : else : end
Compatible versions :
DEFAULT
state90 - state 0: if id : end
Compatible versions :
DEFAULT
state91 - state 0: if id : elif id : end
Compatible versions :
DEFAULT
state92 - state 0: if id : end
Compatible versions :
DEFAULT
state93 - state 0: print
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state94 - state 0: print id
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state95 - state 0: print id nl
Compatible versions :
DEFAULT
state96 - state 0: var
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state97 - state 0: var type
Compatible versions :
DEFAULT
state98 - state 0: var
Compatible versions :
DEFAULT
state99 - state 0: var id
Compatible versions :
DEFAULT
state100 - state 0: var id =
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state101 - state 0: var id = id
Compatible versions :
DEFAULT
state102 - state 0: for
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state103 - state 0: for id
Compatible versions :
DEFAULT
state104 - state 0: id =
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state105 - state 0: id = id
Compatible versions :
DEFAULT
state106 - state 0: for var id = id
Compatible versions :
DEFAULT
state107 - state 0: for id = id
Compatible versions :
DEFAULT
state108 - state 0: for
Compatible versions :
DEFAULT
state109 - state 0: for ,
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state110 - state 0: for , id
Compatible versions :
DEFAULT
state111 - state 0: for ,
Compatible versions :
DEFAULT
state112 - state 0: for , ,
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state113 - state 0: for , , id
Compatible versions :
DEFAULT
state114 - state 0: for , , id
Compatible versions :
DEFAULT
state115 - state 0: for , , id = id
Compatible versions :
DEFAULT
state116 - state 0: for , ,
Compatible versions :
DEFAULT
state117 - state 0: for , , :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state118 - state 0: for , , :
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state119 - state 0: for , , : end
Compatible versions :
DEFAULT
| Kernel items | Actions |
|
|
| print | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| end | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| _return | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| var | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| __eof__ | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| _for | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| _continue | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| _else | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| elif | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| _if | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| _break | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| empty | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| id | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
| branch | : |
reduce by instr ::= for forinit_optional_7 , expr_optional_8 , forupdate_optional_9 : block eob |
|
state120 - state 0: for , , id
Compatible versions :
DEFAULT
state121 - state 0: for id = id
Compatible versions :
DEFAULT
state122 - state 0: id
Compatible versions :
DEFAULT
state123 - state 0: id ( )
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state124 - state 0: id ( ) nl
Compatible versions :
DEFAULT
state125 - state 0: id = id
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state126 - state 0: id = id nl
Compatible versions :
DEFAULT
state127 - state 0: var id = id
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state128 - state 0: var id = id nl
Compatible versions :
DEFAULT
state129 - state 0: print id nl
Compatible versions :
DEFAULT
state130 - state 0: def id ( id
Compatible versions :
DEFAULT
state131 - state 0: def id ( id ,
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state132 - state 0: def id ( id , id
Compatible versions :
DEFAULT
state133 - state 0: def id (
Compatible versions :
DEFAULT
state134 - state 0: def id ( id
Compatible versions :
DEFAULT
state135 - state 0: def id ( ) : empty
Compatible versions :
DEFAULT
state136 - state 0:
Compatible versions :
DEFAULT
| Kernel items | Actions |
Gotoes |
|
|
|
|
state137 - state 0:
Compatible versions :
DEFAULT
state138 - state 0: return nl
Compatible versions :
DEFAULT