start: 12 program tokens: 7 3 Comment = '#.*' 8 4 Number = '[0-9]+' 9 5 WhiteSpace = '[ \r\t\n]+' literals: 16 6 'n' 17 7 'nList' 18 8 'pairs' 18 9 ',' 21 10 'or' 22 11 'orList' 22 12 '.' 25 13 'and' 26 14 'andList' 29 15 'a' 30 16 'b' 31 17 'c' 32 18 'd' 13 test: [1] lookahead {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 13 Xor [27] lookahead {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 13 n [7] lookahead {'n'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 13 nList [10] lookahead {'nList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 13 pairs [13] lookahead {'pairs'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 13 or [16] lookahead {'or'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 13 orList [19] lookahead {'orList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 13 and [22] lookahead {'and'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 13 andList [25] lookahead {'andList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 12 program: [5] lookahead {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList'} follow {[eof]} 12 Repeat 1.. [3] lookahead {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList'} follow {[eof]} 12 test [2] lookahead {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 16 n: [6] lookahead {'n'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 16 Sequence [40] lookahead {'n'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 16 6 'n' 16 Repeat 2..3 [39] lookahead {'c', 'b', 'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 16 Xor [38] lookahead {'c', 'b', 'a'} follow {'and', 'c', 'pairs', 'b', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 16 a [30] lookahead {'a'} follow {'and', 'c', 'pairs', 'b', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 16 b [33] lookahead {'b'} follow {'and', 'c', 'pairs', 'b', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 16 c [36] lookahead {'c'} follow {'and', 'c', 'pairs', 'b', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 17 nList: [9] lookahead {'nList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 17 Sequence [50] lookahead {'nList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 17 7 'nList' 17 Delimit 2..3 [49] lookahead {'c', 'b', 'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 8 4 Number = '[0-9]+' 17 Xor [48] lookahead {'c', 'b', 'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 17 a [42] lookahead {'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 17 b [44] lookahead {'b'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 17 c [46] lookahead {'c'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 18 pairs: [12] lookahead {'pairs'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 18 Sequence [66] lookahead {'pairs'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 18 8 'pairs' 18 Repeat 1.. [65] lookahead {'d', 'c', 'b', 'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 18 Delimit 2..2 [63] lookahead {'d', 'c', 'b', 'a'} follow {'d', 'and', 'c', 'pairs', 'b', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 18 9 ',' 18 Xor [61] lookahead {'d', 'c', 'b', 'a'} follow {'d', 'and', 'c', 'pairs', 'b', ',', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 18 a [52] lookahead {'a'} follow {'d', 'and', 'c', 'pairs', 'b', ',', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 18 b [54] lookahead {'b'} follow {'d', 'and', 'c', 'pairs', 'b', ',', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 18 c [56] lookahead {'c'} follow {'d', 'and', 'c', 'pairs', 'b', ',', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 18 d [59] lookahead {'d'} follow {'d', 'and', 'c', 'pairs', 'b', ',', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 21 or: [15] lookahead {'or'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 21 Sequence [81] lookahead {'or'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 21 10 'or' 21 Or [80] lookahead {'d', 'c', 'b', 'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 21 a [68] lookahead {'a'} follow {'d', 'and', 'c', 'pairs', 'b', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 21 b [71] lookahead {'b'} follow {'d', 'and', 'c', 'pairs', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 21 c [74] lookahead {'c'} follow {'d', 'and', 'pairs', 'b', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 21 d [77] lookahead {'d'} follow {'and', 'c', 'pairs', 'b', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 22 orList: [18] lookahead {'orList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 22 Sequence [100] lookahead {'orList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 22 11 'orList' 22 OrList [99] lookahead {'d', 'c', 'b', 'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 8 4 Number = '[0-9]+' 22 a [83] lookahead {'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 22 Repeat 1..2 [87] lookahead {'b'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 22 b [86] lookahead {'b'} follow {'and', 'pairs', 'b', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 22 Repeat 1..3 [91] lookahead {'c'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 22 c [90] lookahead {'c'} follow {'and', 'c', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 22 Delimit 2..2 [96] lookahead {'d'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 22 12 '.' 22 d [94] lookahead {'d'} follow {'and', 'pairs', 'or', 'andList', '.', 'n', 'orList', 'nList', Number, [eof]} 25 and: [21] lookahead {'and'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 25 Sequence [115] lookahead {'and'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 25 13 'and' 25 And [114] lookahead {'d', 'c', 'b', 'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 25 a [102] lookahead {'a'} follow {'d', 'and', 'c', 'pairs', 'b', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 25 b [105] lookahead {'b'} follow {'d', 'and', 'c', 'pairs', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 25 c [108] lookahead {'c'} follow {'d', 'and', 'pairs', 'b', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 25 d [111] lookahead {'d'} follow {'and', 'c', 'pairs', 'b', 'or', 'andList', 'a', 'n', 'orList', 'nList', [eof]} 26 andList: [24] lookahead {'andList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 26 Sequence [133] lookahead {'andList'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 26 14 'andList' 26 AndList [132] lookahead {'d', 'c', 'b', 'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', [eof]} 8 4 Number = '[0-9]+' 26 a [117] lookahead {'a'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 26 Repeat 1..2 [121] lookahead {'b'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 26 b [120] lookahead {'b'} follow {'and', 'pairs', 'b', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 26 Repeat 1..3 [125] lookahead {'c'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 26 c [124] lookahead {'c'} follow {'and', 'c', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 26 Delimit 2..2 [129] lookahead {'d'} follow {'and', 'pairs', 'or', 'andList', 'n', 'orList', 'nList', Number, [eof]} 22 12 '.' 26 d [128] lookahead {'d'} follow {'and', 'pairs', 'or', 'andList', '.', 'n', 'orList', 'nList', Number, [eof]} 29 a: [29] lookahead {'a'} follow {'d', 'and', 'c', 'pairs', 'b', ',', 'or', 'andList', 'a', 'n', 'orList', 'nList', Number, [eof]} 29 15 'a' 30 b: [32] lookahead {'b'} follow {'d', 'and', 'c', 'pairs', 'b', ',', 'or', 'andList', 'a', 'n', 'orList', 'nList', Number, [eof]} 30 16 'b' 31 c: [35] lookahead {'c'} follow {'d', 'and', 'c', 'pairs', 'b', ',', 'or', 'andList', 'a', 'n', 'orList', 'nList', Number, [eof]} 31 17 'c' 32 d: [58] lookahead {'d'} follow {'d', 'and', 'c', 'pairs', 'b', ',', 'or', 'andList', 'a', '.', 'n', 'orList', 'nList', Number, [eof]} 32 18 'd'