1264790Sbapt 0 $accept : list $end 2264790Sbapt 3264790Sbapt 1 list : 4264790Sbapt 2 | list stat '\n' 5264790Sbapt 3 | list error '\n' 6264790Sbapt 7264790Sbapt 4 stat : expr 8264790Sbapt 5 | LETTER '=' expr 9264790Sbapt 10264790Sbapt 6 expr : '(' expr ')' 11264790Sbapt 7 | expr '+' expr 12264790Sbapt 8 | expr '-' expr 13264790Sbapt 9 | expr '*' expr 14264790Sbapt 10 | expr '/' expr 15264790Sbapt 11 | expr '%' expr 16264790Sbapt 12 | expr '&' expr 17264790Sbapt 13 | expr '|' expr 18264790Sbapt 14 | '-' expr 19264790Sbapt 15 | LETTER 20264790Sbapt 16 | number 21264790Sbapt 22264790Sbapt 17 number : DIGIT 23264790Sbapt 18 | number DIGIT 24264790Sbapt 25264790Sbaptstate 0 26264790Sbapt $accept : . list $end (0) 27264790Sbapt list : . (1) 28264790Sbapt 29264790Sbapt . reduce 1 30264790Sbapt 31264790Sbapt list goto 1 32264790Sbapt 33264790Sbapt 34264790Sbaptstate 1 35264790Sbapt $accept : list . $end (0) 36264790Sbapt list : list . stat '\n' (2) 37264790Sbapt list : list . error '\n' (3) 38264790Sbapt 39264790Sbapt $end accept 40264790Sbapt error shift 2 41264790Sbapt DIGIT shift 3 42264790Sbapt LETTER shift 4 43264790Sbapt '-' shift 5 44264790Sbapt '(' shift 6 45264790Sbapt . error 46264790Sbapt 47264790Sbapt stat goto 7 48264790Sbapt expr goto 8 49264790Sbapt number goto 9 50264790Sbapt 51264790Sbapt 52264790Sbaptstate 2 53264790Sbapt list : list error . '\n' (3) 54264790Sbapt 55264790Sbapt '\n' shift 10 56264790Sbapt . error 57264790Sbapt 58264790Sbapt 59264790Sbaptstate 3 60264790Sbapt number : DIGIT . (17) 61264790Sbapt 62264790Sbapt . reduce 17 63264790Sbapt 64264790Sbapt 65264790Sbaptstate 4 66264790Sbapt stat : LETTER . '=' expr (5) 67264790Sbapt expr : LETTER . (15) 68264790Sbapt 69264790Sbapt '=' shift 11 70264790Sbapt '\n' reduce 15 71264790Sbapt '|' reduce 15 72264790Sbapt '&' reduce 15 73264790Sbapt '+' reduce 15 74264790Sbapt '-' reduce 15 75264790Sbapt '*' reduce 15 76264790Sbapt '/' reduce 15 77264790Sbapt '%' reduce 15 78264790Sbapt 79264790Sbapt 80264790Sbaptstate 5 81264790Sbapt expr : '-' . expr (14) 82264790Sbapt 83264790Sbapt DIGIT shift 3 84264790Sbapt LETTER shift 12 85264790Sbapt '-' shift 5 86264790Sbapt '(' shift 6 87264790Sbapt . error 88264790Sbapt 89264790Sbapt expr goto 13 90264790Sbapt number goto 9 91264790Sbapt 92264790Sbapt 93264790Sbaptstate 6 94264790Sbapt expr : '(' . expr ')' (6) 95264790Sbapt 96264790Sbapt DIGIT shift 3 97264790Sbapt LETTER shift 12 98264790Sbapt '-' shift 5 99264790Sbapt '(' shift 6 100264790Sbapt . error 101264790Sbapt 102264790Sbapt expr goto 14 103264790Sbapt number goto 9 104264790Sbapt 105264790Sbapt 106264790Sbaptstate 7 107264790Sbapt list : list stat . '\n' (2) 108264790Sbapt 109264790Sbapt '\n' shift 15 110264790Sbapt . error 111264790Sbapt 112264790Sbapt 113264790Sbaptstate 8 114264790Sbapt stat : expr . (4) 115264790Sbapt expr : expr . '+' expr (7) 116264790Sbapt expr : expr . '-' expr (8) 117264790Sbapt expr : expr . '*' expr (9) 118264790Sbapt expr : expr . '/' expr (10) 119264790Sbapt expr : expr . '%' expr (11) 120264790Sbapt expr : expr . '&' expr (12) 121264790Sbapt expr : expr . '|' expr (13) 122264790Sbapt 123264790Sbapt '|' shift 16 124264790Sbapt '&' shift 17 125264790Sbapt '+' shift 18 126264790Sbapt '-' shift 19 127264790Sbapt '*' shift 20 128264790Sbapt '/' shift 21 129264790Sbapt '%' shift 22 130264790Sbapt '\n' reduce 4 131264790Sbapt 132264790Sbapt 133264790Sbaptstate 9 134264790Sbapt expr : number . (16) 135264790Sbapt number : number . DIGIT (18) 136264790Sbapt 137264790Sbapt DIGIT shift 23 138264790Sbapt '\n' reduce 16 139264790Sbapt '|' reduce 16 140264790Sbapt '&' reduce 16 141264790Sbapt '+' reduce 16 142264790Sbapt '-' reduce 16 143264790Sbapt '*' reduce 16 144264790Sbapt '/' reduce 16 145264790Sbapt '%' reduce 16 146264790Sbapt ')' reduce 16 147264790Sbapt 148264790Sbapt 149264790Sbaptstate 10 150264790Sbapt list : list error '\n' . (3) 151264790Sbapt 152264790Sbapt . reduce 3 153264790Sbapt 154264790Sbapt 155264790Sbaptstate 11 156264790Sbapt stat : LETTER '=' . expr (5) 157264790Sbapt 158264790Sbapt DIGIT shift 3 159264790Sbapt LETTER shift 12 160264790Sbapt '-' shift 5 161264790Sbapt '(' shift 6 162264790Sbapt . error 163264790Sbapt 164264790Sbapt expr goto 24 165264790Sbapt number goto 9 166264790Sbapt 167264790Sbapt 168264790Sbaptstate 12 169264790Sbapt expr : LETTER . (15) 170264790Sbapt 171264790Sbapt . reduce 15 172264790Sbapt 173264790Sbapt 174264790Sbaptstate 13 175264790Sbapt expr : expr . '+' expr (7) 176264790Sbapt expr : expr . '-' expr (8) 177264790Sbapt expr : expr . '*' expr (9) 178264790Sbapt expr : expr . '/' expr (10) 179264790Sbapt expr : expr . '%' expr (11) 180264790Sbapt expr : expr . '&' expr (12) 181264790Sbapt expr : expr . '|' expr (13) 182264790Sbapt expr : '-' expr . (14) 183264790Sbapt 184264790Sbapt . reduce 14 185264790Sbapt 186264790Sbapt 187264790Sbaptstate 14 188264790Sbapt expr : '(' expr . ')' (6) 189264790Sbapt expr : expr . '+' expr (7) 190264790Sbapt expr : expr . '-' expr (8) 191264790Sbapt expr : expr . '*' expr (9) 192264790Sbapt expr : expr . '/' expr (10) 193264790Sbapt expr : expr . '%' expr (11) 194264790Sbapt expr : expr . '&' expr (12) 195264790Sbapt expr : expr . '|' expr (13) 196264790Sbapt 197264790Sbapt '|' shift 16 198264790Sbapt '&' shift 17 199264790Sbapt '+' shift 18 200264790Sbapt '-' shift 19 201264790Sbapt '*' shift 20 202264790Sbapt '/' shift 21 203264790Sbapt '%' shift 22 204264790Sbapt ')' shift 25 205264790Sbapt . error 206264790Sbapt 207264790Sbapt 208264790Sbaptstate 15 209264790Sbapt list : list stat '\n' . (2) 210264790Sbapt 211264790Sbapt . reduce 2 212264790Sbapt 213264790Sbapt 214264790Sbaptstate 16 215264790Sbapt expr : expr '|' . expr (13) 216264790Sbapt 217264790Sbapt DIGIT shift 3 218264790Sbapt LETTER shift 12 219264790Sbapt '-' shift 5 220264790Sbapt '(' shift 6 221264790Sbapt . error 222264790Sbapt 223264790Sbapt expr goto 26 224264790Sbapt number goto 9 225264790Sbapt 226264790Sbapt 227264790Sbaptstate 17 228264790Sbapt expr : expr '&' . expr (12) 229264790Sbapt 230264790Sbapt DIGIT shift 3 231264790Sbapt LETTER shift 12 232264790Sbapt '-' shift 5 233264790Sbapt '(' shift 6 234264790Sbapt . error 235264790Sbapt 236264790Sbapt expr goto 27 237264790Sbapt number goto 9 238264790Sbapt 239264790Sbapt 240264790Sbaptstate 18 241264790Sbapt expr : expr '+' . expr (7) 242264790Sbapt 243264790Sbapt DIGIT shift 3 244264790Sbapt LETTER shift 12 245264790Sbapt '-' shift 5 246264790Sbapt '(' shift 6 247264790Sbapt . error 248264790Sbapt 249264790Sbapt expr goto 28 250264790Sbapt number goto 9 251264790Sbapt 252264790Sbapt 253264790Sbaptstate 19 254264790Sbapt expr : expr '-' . expr (8) 255264790Sbapt 256264790Sbapt DIGIT shift 3 257264790Sbapt LETTER shift 12 258264790Sbapt '-' shift 5 259264790Sbapt '(' shift 6 260264790Sbapt . error 261264790Sbapt 262264790Sbapt expr goto 29 263264790Sbapt number goto 9 264264790Sbapt 265264790Sbapt 266264790Sbaptstate 20 267264790Sbapt expr : expr '*' . expr (9) 268264790Sbapt 269264790Sbapt DIGIT shift 3 270264790Sbapt LETTER shift 12 271264790Sbapt '-' shift 5 272264790Sbapt '(' shift 6 273264790Sbapt . error 274264790Sbapt 275264790Sbapt expr goto 30 276264790Sbapt number goto 9 277264790Sbapt 278264790Sbapt 279264790Sbaptstate 21 280264790Sbapt expr : expr '/' . expr (10) 281264790Sbapt 282264790Sbapt DIGIT shift 3 283264790Sbapt LETTER shift 12 284264790Sbapt '-' shift 5 285264790Sbapt '(' shift 6 286264790Sbapt . error 287264790Sbapt 288264790Sbapt expr goto 31 289264790Sbapt number goto 9 290264790Sbapt 291264790Sbapt 292264790Sbaptstate 22 293264790Sbapt expr : expr '%' . expr (11) 294264790Sbapt 295264790Sbapt DIGIT shift 3 296264790Sbapt LETTER shift 12 297264790Sbapt '-' shift 5 298264790Sbapt '(' shift 6 299264790Sbapt . error 300264790Sbapt 301264790Sbapt expr goto 32 302264790Sbapt number goto 9 303264790Sbapt 304264790Sbapt 305264790Sbaptstate 23 306264790Sbapt number : number DIGIT . (18) 307264790Sbapt 308264790Sbapt . reduce 18 309264790Sbapt 310264790Sbapt 311264790Sbaptstate 24 312264790Sbapt stat : LETTER '=' expr . (5) 313264790Sbapt expr : expr . '+' expr (7) 314264790Sbapt expr : expr . '-' expr (8) 315264790Sbapt expr : expr . '*' expr (9) 316264790Sbapt expr : expr . '/' expr (10) 317264790Sbapt expr : expr . '%' expr (11) 318264790Sbapt expr : expr . '&' expr (12) 319264790Sbapt expr : expr . '|' expr (13) 320264790Sbapt 321264790Sbapt '|' shift 16 322264790Sbapt '&' shift 17 323264790Sbapt '+' shift 18 324264790Sbapt '-' shift 19 325264790Sbapt '*' shift 20 326264790Sbapt '/' shift 21 327264790Sbapt '%' shift 22 328264790Sbapt '\n' reduce 5 329264790Sbapt 330264790Sbapt 331264790Sbaptstate 25 332264790Sbapt expr : '(' expr ')' . (6) 333264790Sbapt 334264790Sbapt . reduce 6 335264790Sbapt 336264790Sbapt 337264790Sbaptstate 26 338264790Sbapt expr : expr . '+' expr (7) 339264790Sbapt expr : expr . '-' expr (8) 340264790Sbapt expr : expr . '*' expr (9) 341264790Sbapt expr : expr . '/' expr (10) 342264790Sbapt expr : expr . '%' expr (11) 343264790Sbapt expr : expr . '&' expr (12) 344264790Sbapt expr : expr . '|' expr (13) 345264790Sbapt expr : expr '|' expr . (13) 346264790Sbapt 347264790Sbapt '&' shift 17 348264790Sbapt '+' shift 18 349264790Sbapt '-' shift 19 350264790Sbapt '*' shift 20 351264790Sbapt '/' shift 21 352264790Sbapt '%' shift 22 353264790Sbapt '\n' reduce 13 354264790Sbapt '|' reduce 13 355264790Sbapt ')' reduce 13 356264790Sbapt 357264790Sbapt 358264790Sbaptstate 27 359264790Sbapt expr : expr . '+' expr (7) 360264790Sbapt expr : expr . '-' expr (8) 361264790Sbapt expr : expr . '*' expr (9) 362264790Sbapt expr : expr . '/' expr (10) 363264790Sbapt expr : expr . '%' expr (11) 364264790Sbapt expr : expr . '&' expr (12) 365264790Sbapt expr : expr '&' expr . (12) 366264790Sbapt expr : expr . '|' expr (13) 367264790Sbapt 368264790Sbapt '+' shift 18 369264790Sbapt '-' shift 19 370264790Sbapt '*' shift 20 371264790Sbapt '/' shift 21 372264790Sbapt '%' shift 22 373264790Sbapt '\n' reduce 12 374264790Sbapt '|' reduce 12 375264790Sbapt '&' reduce 12 376264790Sbapt ')' reduce 12 377264790Sbapt 378264790Sbapt 379264790Sbaptstate 28 380264790Sbapt expr : expr . '+' expr (7) 381264790Sbapt expr : expr '+' expr . (7) 382264790Sbapt expr : expr . '-' expr (8) 383264790Sbapt expr : expr . '*' expr (9) 384264790Sbapt expr : expr . '/' expr (10) 385264790Sbapt expr : expr . '%' expr (11) 386264790Sbapt expr : expr . '&' expr (12) 387264790Sbapt expr : expr . '|' expr (13) 388264790Sbapt 389264790Sbapt '*' shift 20 390264790Sbapt '/' shift 21 391264790Sbapt '%' shift 22 392264790Sbapt '\n' reduce 7 393264790Sbapt '|' reduce 7 394264790Sbapt '&' reduce 7 395264790Sbapt '+' reduce 7 396264790Sbapt '-' reduce 7 397264790Sbapt ')' reduce 7 398264790Sbapt 399264790Sbapt 400264790Sbaptstate 29 401264790Sbapt expr : expr . '+' expr (7) 402264790Sbapt expr : expr . '-' expr (8) 403264790Sbapt expr : expr '-' expr . (8) 404264790Sbapt expr : expr . '*' expr (9) 405264790Sbapt expr : expr . '/' expr (10) 406264790Sbapt expr : expr . '%' expr (11) 407264790Sbapt expr : expr . '&' expr (12) 408264790Sbapt expr : expr . '|' expr (13) 409264790Sbapt 410264790Sbapt '*' shift 20 411264790Sbapt '/' shift 21 412264790Sbapt '%' shift 22 413264790Sbapt '\n' reduce 8 414264790Sbapt '|' reduce 8 415264790Sbapt '&' reduce 8 416264790Sbapt '+' reduce 8 417264790Sbapt '-' reduce 8 418264790Sbapt ')' reduce 8 419264790Sbapt 420264790Sbapt 421264790Sbaptstate 30 422264790Sbapt expr : expr . '+' expr (7) 423264790Sbapt expr : expr . '-' expr (8) 424264790Sbapt expr : expr . '*' expr (9) 425264790Sbapt expr : expr '*' expr . (9) 426264790Sbapt expr : expr . '/' expr (10) 427264790Sbapt expr : expr . '%' expr (11) 428264790Sbapt expr : expr . '&' expr (12) 429264790Sbapt expr : expr . '|' expr (13) 430264790Sbapt 431264790Sbapt . reduce 9 432264790Sbapt 433264790Sbapt 434264790Sbaptstate 31 435264790Sbapt expr : expr . '+' expr (7) 436264790Sbapt expr : expr . '-' expr (8) 437264790Sbapt expr : expr . '*' expr (9) 438264790Sbapt expr : expr . '/' expr (10) 439264790Sbapt expr : expr '/' expr . (10) 440264790Sbapt expr : expr . '%' expr (11) 441264790Sbapt expr : expr . '&' expr (12) 442264790Sbapt expr : expr . '|' expr (13) 443264790Sbapt 444264790Sbapt . reduce 10 445264790Sbapt 446264790Sbapt 447264790Sbaptstate 32 448264790Sbapt expr : expr . '+' expr (7) 449264790Sbapt expr : expr . '-' expr (8) 450264790Sbapt expr : expr . '*' expr (9) 451264790Sbapt expr : expr . '/' expr (10) 452264790Sbapt expr : expr . '%' expr (11) 453264790Sbapt expr : expr '%' expr . (11) 454264790Sbapt expr : expr . '&' expr (12) 455264790Sbapt expr : expr . '|' expr (13) 456264790Sbapt 457264790Sbapt . reduce 11 458264790Sbapt 459264790Sbapt 460264790Sbapt42 terminals, 5 nonterminals 461264790Sbapt19 grammar rules, 33 states 462264790Sbapt 463264790Sbaptgrammar parser grammar 464264790Sbaptsymbol# value# symbol 465264790Sbapt 0 0 $end 466264790Sbapt 1 256 error 467264790Sbapt 2 257 DIGIT 468264790Sbapt 3 258 LETTER 469264790Sbapt 4 259 OCT1 470264790Sbapt 5 127 '\177' 471264790Sbapt 6 260 HEX1 472264790Sbapt 7 255 '\377' 473264790Sbapt 8 261 HEX2 474264790Sbapt 9 262 HEX3 475264790Sbapt 10 263 STR1 476264790Sbapt 11 264 "\177\177\\\n" 477264790Sbapt 12 265 STR2 478264790Sbapt 13 266 BELL 479264790Sbapt 14 7 '\a' 480264790Sbapt 15 267 BS 481264790Sbapt 16 8 '\b' 482264790Sbapt 17 268 NL 483264790Sbapt 18 10 '\n' 484264790Sbapt 19 269 LF 485264790Sbapt 20 12 '\f' 486264790Sbapt 21 270 CR 487264790Sbapt 22 13 '\r' 488264790Sbapt 23 271 TAB 489264790Sbapt 24 9 '\t' 490264790Sbapt 25 272 VT 491264790Sbapt 26 11 '\v' 492264790Sbapt 27 64 '@' 493264790Sbapt 28 126 '~' 494264790Sbapt 29 94 '^' 495264790Sbapt 30 35 '#' 496264790Sbapt 31 124 '|' 497264790Sbapt 32 38 '&' 498264790Sbapt 33 43 '+' 499264790Sbapt 34 45 '-' 500264790Sbapt 35 42 '*' 501264790Sbapt 36 47 '/' 502264790Sbapt 37 37 '%' 503264790Sbapt 38 273 UMINUS 504264790Sbapt 39 61 '=' 505264790Sbapt 40 40 '(' 506264790Sbapt 41 41 ')' 507264790Sbapt 42 274 $accept 508264790Sbapt 43 275 list 509264790Sbapt 44 276 stat 510264790Sbapt 45 277 expr 511264790Sbapt 46 278 number 512