diff --git "a/data/bison/data.json" "b/data/bison/data.json" deleted file mode 100644--- "a/data/bison/data.json" +++ /dev/null @@ -1,100 +0,0 @@ -{"size":1106,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: E $end\n\n 1 E: A '1'\n 2 | B '2'\n\n 3 A: '1'\n\n 4 B: '1'\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'1' (49) 1 3 4\n'2' (50) 2\nerror (256)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (5)\n vlevo: 0\nE (6)\n vlevo: 1 2, vpravo: 0\nA (7)\n vlevo: 3, vpravo: 1\nB (8)\n vlevo: 4, vpravo: 2\n\n\nState 0\n\n 0 $accept: . E $end\n 1 E: . A '1'\n 2 | . B '2'\n 3 A: . '1'\n 4 B: . '1'\n\n '1' posunout a p\u0159ej\u00edt do stavu 1\n\n E p\u0159ej\u00edt do stavu 2\n A p\u0159ej\u00edt do stavu 3\n B p\u0159ej\u00edt do stavu 4\n\n\nState 1\n\n 3 A: '1' . ['1']\n 4 B: '1' . ['2']\n\n '2' reduce using rule 4 (B)\n $v\u00fdchoz\u00ed reduce using rule 3 (A)\n\n\nState 2\n\n 0 $accept: E . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 5\n\n\nState 3\n\n 1 E: A . '1'\n\n '1' posunout a p\u0159ej\u00edt do stavu 6\n\n\nState 4\n\n 2 E: B . '2'\n\n '2' posunout a p\u0159ej\u00edt do stavu 7\n\n\nState 5\n\n 0 $accept: E $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 6\n\n 1 E: A '1' .\n\n $v\u00fdchoz\u00ed reduce using rule 1 (E)\n\n\nState 7\n\n 2 E: B '2' .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (E)\n","avg_line_length":11.4020618557,"max_line_length":46,"alphanum_fraction":0.5036166365} -{"size":415,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"004.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [3:1..7]\n#STATE#\tidentifier: foo [3:9..11]\n#STATE#\t< [3:13]\nin state #STATE#, possible rules are:\n\tdeclare_proc_proto: optional_export optional_template_specification def_or_proc ID . optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":27.6666666667,"max_line_length":136,"alphanum_fraction":0.7325301205} -{"size":5743,"ext":"bison","lang":"Bison","max_stars_count":1.0,"content":"%code requires{\n\/*\n * MIT License\n * \n * Copyright (c) 2019 Miguel Mej\u00eda J\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n *\/ \n\n#include \"expression.hpp\"\n#include \"symboltable.hpp\"\nusing namespace cpt;\nextern expression parsedExpression;\nextern int ee_yylex();\nvoid ee_yyerror(const char* msg);\n}\n%{\n#include \"expression.hpp\"\nusing namespace cpt;\nexpressionST* makestrop(expressionST* e1,exp::oper o,expressionST* e2){\n auto exstrop = new struct expressionST_str_op;\n exstrop -> operation = o;\n exstrop -> op1 = expression(e1);\n exstrop -> op2 = expression(e2);\n return exstrop;\n}\nexpressionST_numeric* makenumop(expressionST_numeric* e1,exp::oper o,expressionST_numeric* e2){\n auto exnumop = new struct expressionST_num_op;\n exnumop -> operation = o;\n exnumop -> op1 = expressionNum(e1);\n exnumop -> op2 = expressionNum(e2);\n return exnumop;\n}\n%}\n%define api.prefix {ee_yy}\n%union{\n int ival;\n std::string* strval;\n expressionST* expval;\n expressionST_numeric* expnumval;\n}\n%token AND OR SNE SEQ EQ NE GE GT LE LT \n%token NUMBER\n%token VALUE STRVAR NUMVAR\n\n%type axiom\n%type program\n%type exp\n%type nexp\n\n%left ';'\n%left OR\n%left AND\n%right NOT\n%left EQ NE GE GT LE LT\n%left SEQ SNE\n%left '+' '-'\n%left '*'\n%left '\/' '%'\n%right '^'\n%left '('\n\n%%\naxiom : program {parsedExpression = expression($1);}\n ;\nprogram : exp {$$ = $1;}\n | STRVAR '=' exp {auto exas = new expressionST_asignation;\n exas -> id = *$1;\n exas -> value = expression($3);\n $$ = exas;\n delete $1;\n }\n | NUMVAR '=' exp {auto excast = new expressionST_num_cast;\n excast -> exp = expression($3);\n auto exas = new expressionST_asignation;\n exas -> id = *$1;\n exas -> value = expression(excast);\n $$ = exas;\n delete $1;\n }\n | program ';' program {auto excomp = new expressionST_comp;\n excomp -> e1 = expression($1);\n excomp -> e2 = expression($3);\n $$ = excomp;\n }\n | {$$ = new expressionST_string;}\n ;\nexp : VALUE {auto exstr = new expressionST_string;\n exstr -> value = *$1;\n $$ = exstr;\n delete $1;\n }\n | nexp {$$ = $1;}\n | NOT exp {auto exne = new expressionST_neg;\n exne->exp = expression($2);\n $$ = exne;\n }\n | exp AND exp {$$ = makestrop($1,exp::oper::AND,$3);}\n | exp OR exp {$$ = makestrop($1,exp::oper::OR,$3);}\n | exp SEQ exp {$$ = makestrop($1,exp::oper::SEQ,$3);}\n | exp SNE exp {$$ = makestrop($1,exp::oper::SNE,$3);}\n | STRVAR {auto exvar = new expressionST_variable;\n exvar -> value = *$1;\n $$ = exvar;\n delete $1;\n }\n ;\nnexp: NUMBER {auto exnum = new expressionST_number;\n exnum -> value = $1;\n $$ = exnum;\n }\n | '(' exp ')' {auto excast = new expressionST_num_cast;\n excast -> exp = expression($2);\n $$ = excast;\n }\n | nexp '+' nexp {$$ = makenumop($1,exp::oper::SUM, $3);}\n | nexp '-' nexp {$$ = makenumop($1,exp::oper::DIF, $3);}\n | nexp '*' nexp {$$ = makenumop($1,exp::oper::MUL, $3);}\n | nexp '\/' nexp {$$ = makenumop($1,exp::oper::DIV, $3);}\n | nexp '%' nexp {$$ = makenumop($1,exp::oper::MOD, $3);}\n | nexp '^' nexp {$$ = makenumop($1,exp::oper::POW, $3);}\n | nexp EQ nexp {$$ = makenumop($1,exp::oper::EQ, $3);}\n | nexp NE nexp {$$ = makenumop($1,exp::oper::NE, $3);}\n | nexp GE nexp {$$ = makenumop($1,exp::oper::GE, $3);}\n | nexp GT nexp {$$ = makenumop($1,exp::oper::GT, $3);}\n | nexp LE nexp {$$ = makenumop($1,exp::oper::LE, $3);}\n | nexp LT nexp {$$ = makenumop($1,exp::oper::LT, $3);}\n | NUMVAR {auto exvar = new expressionST_variable;\n exvar -> value = *$1;\n auto excast = new expressionST_num_cast;\n excast -> exp = expression(exvar);\n $$ = excast;\n delete $1;\n }\n ;\n\n%%\nvoid ee_yyerror(const char* msg){\n throw std::runtime_error(\"expression parser:\"+std::string(msg));\n}\n\nvoid set_input_string(const char* in);\nvoid end_lexical_scan(void);\n\n","avg_line_length":35.6708074534,"max_line_length":95,"alphanum_fraction":0.543792443} -{"size":55231,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"%{\n\/*\n\n YABASIC --- a simple Basic Interpreter\n written by Marc-Oliver Ihm 1995-2004\n homepage: www.yabasic.de\n\n BISON part\n \n This file is part of yabasic and may be copied only \n under the terms of either the Artistic License or \n the GNU General Public License (GPL), both of which \n can be found at www.yabasic.de\n\n*\/\n\n\n#ifndef YABASIC_INCLUDED\n#include \"yabasic.h\" \/* definitions of yabasic *\/\n#endif\n\n#include \n\n#if HAVE_ALLOCA_H\n#ifndef WINDOWS\n#include \n#endif\n#endif\n\nvoid __yy_bcopy(char *,char *,int); \/* prototype missing *\/\n\nint tileol; \/* true, read should go to eon of line *\/\nint mylineno=1; \/* line number; counts fresh in every new file *\/\nint main_lineno=1; \/* line number of main *\/\nint function_type=ftNONE; \/* contains function type while parsing function *\/\nchar *current_function=NULL; \/* name of currently parsed function *\/\nint exported=FALSE; \/* true, if function is exported *\/\nint yylex(void);\nextern struct libfile_name *current_libfile; \/* defined in main.c: name of currently parsed file *\/\nint missing_endif=0;\nint missing_endif_line=0;\nint missing_endsub=0;\nint missing_endsub_line=0;\nint missing_next=0;\nint missing_next_line=0;\nint missing_wend=0;\nint missing_wend_line=0;\nint missing_until=0;\nint missing_until_line=0;\nint missing_loop=0;\nint missing_loop_line=0;\nint in_loop=0;\n\nvoid report_missing(int severity,char *text) {\n if (missing_loop || missing_endif || missing_next || missing_until || missing_wend) {\n error(severity,text);\n string[0]='\\0';\n if (missing_endif)\n sprintf(string,\"if statement starting at line %d has seen no 'endif' yet\",missing_endif_line);\n else if (missing_next)\n sprintf(string,\"for-loop starting at line %d has seen no 'next' yet\",missing_next_line);\n else if (missing_wend)\n sprintf(string,\"while-loop starting at line %d has seen no 'wend' yet\",missing_wend_line);\n else if (missing_until)\n sprintf(string,\"repeat-loop starting at line %d has seen no 'until' yet\",missing_until_line);\n else if (missing_loop)\n sprintf(string,\"do-loop starting at line %d has seen no 'loop' yet\",missing_wend_line);\n if (string[0]) error(severity,string);\n }\n}\n \n%}\n\n%union {\n double fnum; \/* double number *\/\n int inum; \/* integer number *\/\n int token; \/* token of command *\/\n int sep; \/* number of newlines *\/\n char *string; \/* quoted string *\/\n char *symbol; \/* general symbol *\/\n char *digits; \/* string of digits *\/\n char *docu;\t\t\/* embedded documentation *\/\n}\n\n%type const\n%type number\n%type symbol_or_lineno\n%type function_name\n%type function_or_array\n%type stringfunction_or_array\n%type tSEP sep_list\n\n%token tFNUM\n%token tSYMBOL\n%token tSTRSYM\n%token tDOCU\n%token tDIGITS\n%token tSTRING\n\n%token tFOR tTO tSTEP tNEXT tWHILE tWEND tREPEAT tUNTIL tIMPORT\n%token tGOTO tGOSUB tLABEL tON tSUB tENDSUB tLOCAL tSTATIC tEXPORT tERROR \n%token tEXECUTE tEXECUTE2 tCOMPILE tRUNTIME_CREATED_SUB\n%token tINTERRUPT tBREAK tCONTINUE tSWITCH tSEND tCASE tDEFAULT tLOOP tDO tSEP tEOPROG\n%token tIF tTHEN tELSE tELSIF tENDIF tUSING\n%token tPRINT tINPUT tLINE tRETURN tDIM tEND tEXIT tAT tSCREEN tSCREENSHOT\n%token tREVERSE tCOLOUR\n%token tAND tOR tNOT tEOR\n%token tNEQ tLEQ tGEQ tLTN tGTN tEQU tPOW\n%token tREAD tDATA tRESTORE\n%token tOPEN tCLOSE tSEEK tTELL tAS tREADING tWRITING \n%token tWAIT tBELL tLET tARDIM tARSIZE tBIND\n%token tWINDOW tDOT tCIRCLE tCLEAR tFILL tPRINTER tSETUP\n%token tBUTTON tALERT tMENU tCHECKBOX tRADIOBUTTON tTEXTCONTROL\n%token tLISTBOX tDROPBOX tADD tREMOVE tLOCALIZE tFILEPANEL tSLIDER tSTATUSBAR\n%token tLAYOUT tSET tTEXTEDIT tCOUNT tVIEW tBOXVIEW tTABVIEW tTEXTURL tBITMAP tCANVAS\n%token tOPTION tDROPZONE tCOLORCONTROL tTREEBOX tCOLUMNBOX tCOLUMN tSORT tTOOLTIP tCALENDAR\n%token tCLIPBOARD tCOPY tSUBMENU tSELECT tSCROLLBAR tEXPAND tCOLLAPSE tSPLITVIEW tSTACKVIEW\n%token tPOPUPMENU tSPINCONTROL tMSEND tNUMMESSAGE tTHREAD tSOUND tPLAY tSTOP tSHORTCUT tISCOMPUTERON\n%token tDRAW tTEXT tFLUSH tELLIPSE tSAVE\n%token tRECT tGETCHAR tPUTCHAR tNEW tCURVE tLAUNCH tATTRIBUTE\n\n%token tSIN tASIN tCOS tACOS tTAN tATAN tEXP tLOG\n%token tSQRT tSQR tMYEOF tABS tSIG\n%token tINT tFRAC tMOD tRAN tLEN tVAL tLEFT tRIGHT tMID tMIN tMAX\n%token tSTR tINKEY tCHR tASC tHEX tDEC tBIN tUPPER tLOWER \n%token tTRIM tLTRIM tRTRIM tINSTR tRINSTR\n%token tSYSTEM tSYSTEM2 tPEEK tPEEK2 tPOKE \n%token tDATE tTIME tTOKEN tTOKENALT tSPLIT tSPLITALT tGLOB\n%token tMESSAGE tIMAGE tSVG tTRANSLATE tGET tMOUSE tISMOUSEIN \n%token tKEYBOARD tPASTE tGETNUM\n\n%left tOR\n%left tAND\n%left tNOT\n%left tNEQ\n%left tGEQ\n%left tLEQ\n%left tLTN\n%left tGTN\n%left tEQU\n%left '-' '+'\n%left '*' '\/'\n%left tPOW\n%nonassoc UMINUS\n\n%%\n\nprogram: statement_list tEOPROG {YYACCEPT;}\n ;\n\nstatement_list: statement\n | statement_list {if (errorlevel<=ERROR) {YYABORT;}} \n tSEP {if ($3>=0) mylineno+=$3; else switchlib();} statement\n ;\n\nstatement: \/* empty *\/\n | string_assignment \n | tLET string_assignment \n | assignment\n | tLET assignment\n | tIMPORT {report_missing(ERROR,\"do not import a library in a loop or an if-statement\");switchlib();}\n | tERROR string_expression {add_command(cERROR,NULL);}\n | for_loop \n | switch_number_or_string\n | repeat_loop\n | while_loop\n | do_loop\n | tBREAK {add_command(cBREAK,NULL);if (!in_loop) error(ERROR,\"break outside loop\");}\n | tCONTINUE {add_command(cCONTINUE,NULL);if (!in_loop) error(ERROR,\"continue outside loop\");}\n | function_definition\n | function_or_array {create_call($1);add_command(cPOP,NULL);}\n | stringfunction_or_array {create_call($1);add_command(cPOP,NULL);}\n | tLOCAL {if (function_type==ftNONE) error(ERROR,\"no use for 'local' outside functions\");} local_list\n | tSTATIC {if (function_type==ftNONE) error(ERROR,\"no use for 'static' outside functions\");} static_list\n | if_clause\n | short_if\n | tGOTO symbol_or_lineno {create_goto((function_type!=ftNONE)?dotify($2,TRUE):$2);}\n | tGOSUB symbol_or_lineno {create_gosub((function_type!=ftNONE)?dotify($2,TRUE):$2);}\n | tON tINTERRUPT tBREAK {create_exception(TRUE);}\n | tON tINTERRUPT tCONTINUE {create_exception(FALSE);}\n | tON expression tGOTO {add_command(cSKIPPER,NULL);}\n goto_list {add_command(cNOP,NULL);}\n | tON expression tGOSUB {add_command(cSKIPPER,NULL);} \n gosub_list {add_command(cNOP,NULL);}\n | tLABEL symbol_or_lineno {create_label((function_type!=ftNONE)?dotify($2,TRUE):$2,cLABEL);}\n | open_clause {add_command(cCHECKOPEN,NULL);}\n | tCLOSE hashed_number {add_command(cCLOSE,NULL);}\n | seek_clause {add_command(cCHECKSEEK,NULL);}\n | tCOMPILE string_expression {add_command(cCOMPILE,NULL);}\n | tEXECUTE '(' call_list ')' {create_execute(0);add_command(cPOP,NULL);add_command(cPOP,NULL);}\n | tEXECUTE2 '(' call_list ')' {create_execute(1);add_command(cPOP,NULL);add_command(cPOP,NULL);}\n | tPRINT printintro printlist {create_colour(0);create_print('n');create_pps(cPOPSTREAM,0);} \n | tPRINT printintro printlist ';' {create_colour(0);create_pps(cPOPSTREAM,0);}\n | tPRINT printintro printlist ',' {create_colour(0);create_print('t');create_pps(cPOPSTREAM,0);}\n | tINPUT {tileol=FALSE;} inputbody\n | tLINE tINPUT {tileol=TRUE;} inputbody\n | tREAD readlist\n | tDATA datalist\n | tRESTORE {create_restore(\"\");}\n | tRESTORE symbol_or_lineno {create_restore((function_type!=ftNONE)?dotify($2,TRUE):$2);}\n | tRESTORE string_expression {add_command(cRESTORE2, NULL);}\n | tRETURN {if (get_switch_id()) create_clean_switch_mark(0,TRUE);\n if (function_type!=ftNONE) {\n\t add_command(cCLEARREFS,NULL);lastcmd->nextref=firstref;\n\t add_command(cPOPSYMLIST,NULL);\n create_retval(ftNONE,function_type);\n add_command(cRET_FROM_FUN,NULL);\n } else {\n add_command(cRETURN,NULL);\n }}\n | tRETURN expression {if (get_switch_id()) create_clean_switch_mark(1,TRUE); if (function_type==ftNONE) {error(ERROR,\"can not return value\"); YYABORT;} add_command(cCLEARREFS,NULL);lastcmd->nextref=firstref;add_command(cPOPSYMLIST,NULL);create_retval(ftNUMBER,function_type);add_command(cRET_FROM_FUN,NULL);}\n | tRETURN string_expression {if (get_switch_id()) create_clean_switch_mark(1,TRUE); if (function_type==ftNONE) {error(ERROR,\"can not return value\"); YYABORT;} add_command(cCLEARREFS,NULL);lastcmd->nextref=firstref;add_command(cPOPSYMLIST,NULL);create_retval(ftSTRING,function_type);add_command(cRET_FROM_FUN,NULL);}\n | tDIM dimlist\n\/* | tOPEN tWINDOW expression ',' expression {create_openwin(FALSE);} *\/\n | tWINDOW tOPEN coordinates to coordinates ',' string_expression ',' string_expression {create_openwin(TRUE);}\n | tBUTTON coordinates to coordinates ',' string_expression ',' string_expression ',' string_expression {add_command(cBUTTON,NULL);}\n | tMENU string_expression ',' string_expression ',' string_expression ',' string_expression {add_command(cMENU,NULL);}\n | tCHECKBOX coordinates ',' string_expression ',' string_expression ',' expression ',' string_expression {add_command(cCHECKBOX,NULL);}\n | tRADIOBUTTON coordinates ',' string_expression ',' string_expression ',' expression ',' string_expression {add_command(cRADIOBUTTON,NULL);}\n | tTEXTCONTROL coordinates to coordinates ',' string_expression ',' string_expression ',' string_expression ',' string_expression{add_command(cTEXTCONTROL,NULL);}\n | tLISTBOX coordinates to coordinates ',' string_expression ',' expression ',' string_expression {add_command(cLISTBOX,NULL);}\n | tLISTBOX tCLEAR string_expression {add_command(cITEMCLEAR, NULL);}\n | tLISTBOX tADD string_expression ',' string_expression {add_command(cLISTBOXADD1, NULL);}\n | tLISTBOX tADD string_expression ',' expression ',' string_expression {add_command(cLISTBOXADD2, NULL);}\n | tDROPBOX coordinates to coordinates ',' string_expression ',' string_expression ',' string_expression {add_command(cDROPBOX,NULL);}\n | tDROPBOX tADD string_expression ',' string_expression {add_command(cITEMADD,NULL);}\n | tDROPBOX tCLEAR string_expression {add_command(cDROPBOXCLEAR,NULL);}\n | tDROPBOX tREMOVE string_expression ',' expression {add_command(cDROPBOXREMOVE,NULL);}\n | tLISTBOX tREMOVE string_expression ',' string_expression {add_command(cITEMDEL,NULL);}\n | tLISTBOX tREMOVE string_expression ',' expression {add_command(cLISTBOXDEL2,NULL);}\n | tLISTBOX tSELECT string_expression ',' expression {add_command(cLISTBOXSELECT,NULL);}\n | tALERT string_expression ',' string_expression ',' string_expression {add_command(cALERT,NULL);}\n | tTEXT coordinates ',' string_expression ',' string_expression ',' string_expression {add_command(cTEXT,NULL);}\n | tTEXT coordinates to coordinates ',' string_expression ',' string_expression ',' string_expression {add_command(cTEXT2, NULL);}\n | tTEXT tSET string_expression ',' string_expression {add_command(cTEXTALIGN,NULL);}\n | tLOCALIZE {add_command(cLOCALIZE,NULL);}\n | tLOCALIZE string_expression {add_command(cLOCALIZE2,NULL);}\n | tLOCALIZE tSTOP {add_command(cLOCALIZESTOP, NULL);}\n | tDRAW tTEXT coordinates ',' string_expression ',' string_expression {add_command(cDRAWTEXT,NULL);}\n | tDRAW tRECT coordinates to coordinates ',' string_expression {add_command(cDRAWRECT,NULL);}\n | tDRAW tFLUSH string_expression {add_command(cDRAWCLEAR,NULL);}\n | tWINDOW tCLOSE string_expression {add_command(cCLOSEWIN,NULL);}\n | tLAYOUT string_expression ',' string_expression {add_command(cLAYOUT,NULL);}\n | tWINDOW tSET string_expression ',' string_expression {add_command(cWINSET4,NULL);}\n | tWINDOW tSET string_expression ',' string_expression ',' string_expression {add_command(cWINSET1,NULL);}\n | tWINDOW tSET string_expression ',' string_expression ',' expression ',' expression {add_command(cWINSET3,NULL);}\n \/*\n | tWINDOW tSET string_expression ',' string_expression ',' expression ',' expression ',' expression {add_command(cWINSET2,NULL);}\n \tthis tWINDOW tSET was replaced by tDRAW tSET ... cWINSET2\n tWINDOW tCLEAR string_expression {add_command(cWINCLEAR,NULL);}*\/\n | tSHORTCUT string_expression ',' string_expression ',' string_expression {add_command(cSHORTCUT,NULL);}\n | tTEXTEDIT coordinates to coordinates ',' string_expression ',' expression ',' string_expression {add_command(cTEXTEDIT,NULL);}\n | tTEXTEDIT tADD string_expression ',' string_expression {add_command(cTEXTADD,NULL);}\n | tTEXTEDIT tSET string_expression ',' string_expression {add_command(cTEXTSET,NULL);}\n | tTEXTEDIT tSET string_expression ',' string_expression ',' expression {add_command(cTEXTSET2,NULL);}\n | tTEXTEDIT tSET string_expression ',' string_expression ',' string_expression {add_command(cTEXTSET3,NULL);}\n | tTEXTEDIT tCOLOUR string_expression ',' string_expression ',' string_expression {add_command(cTEXTCOLOR1,NULL);}\n | tTEXTEDIT tCOLOUR string_expression ',' string_expression ',' expression ',' expression ',' expression {add_command(cTEXTCOLOR2,NULL);}\n | tTEXTEDIT tCLEAR string_expression {add_command(cTEXTCLEAR,NULL);}\n | tDRAW tSET string_expression ',' string_expression {add_command(cDRAWSET1,NULL);}\n | tDRAW tSET expression ',' string_expression {add_command(cDRAWSET2,NULL);}\n | tDRAW tSET string_expression ',' expression ',' expression ',' expression ',' string_expression {add_command(cWINSET2,NULL);}\n | tDRAW tSET string_expression ',' expression {add_command(cDRAWSET3,NULL);}\n | tDRAW tSET string_expression ',' string_expression ',' string_expression {add_command(cDRAWSET4,NULL);}\n | tVIEW coordinates to coordinates ',' string_expression ',' string_expression {add_command(cVIEW,NULL);}\n | tVIEW tREMOVE string_expression {add_command(cWINCLEAR,NULL);}\n | tBOXVIEW coordinates to coordinates ',' string_expression ',' string_expression ',' expression ',' string_expression {add_command(cBOXVIEW,NULL);}\n | tBOXVIEW tSET string_expression ',' string_expression ',' string_expression {add_command(cBOXVIEWSET,NULL);}\n | tTABVIEW coordinates to coordinates ',' string_expression ',' string_expression ',' string_expression {add_command(cTAB,NULL);}\n | tTABVIEW tSET string_expression ',' expression {add_command(cTABSET,NULL);}\n | tTABVIEW tADD string_expression ',' string_expression {add_command(cTABADD, NULL);}\n | tTABVIEW tREMOVE string_expression ',' expression {add_command(cTABDEL, NULL);}\n | tDRAW tDOT coordinates ',' string_expression {add_command(cDOT,NULL);}\n | tDRAW tLINE coordinates to coordinates ',' string_expression {add_command(cLINE,NULL);}\n | tDRAW tCIRCLE coordinates ',' expression ',' string_expression {add_command(cCIRCLE,NULL);}\n | tDRAW tELLIPSE coordinates ',' expression ',' expression ',' string_expression {add_command(cELLIPSE,NULL);}\n | tDRAW tCURVE coordinates ',' coordinates ',' coordinates ',' coordinates ',' string_expression {add_command(cCURVE,NULL);}\n | tSLIDER coordinates to coordinates ',' string_expression ',' string_expression ',' expression ',' expression ',' string_expression {add_command(cSLIDER1,NULL);}\n | tSLIDER coordinates to coordinates ',' string_expression ',' string_expression ',' expression ',' expression ',' string_expression ',' string_expression {add_command(cSLIDER2,NULL);}\n | tSLIDER tLABEL string_expression ',' string_expression ',' string_expression {add_command(cSLIDER3,NULL);}\n | tSLIDER tSET string_expression ',' string_expression ',' expression {add_command(cSLIDER4,NULL);}\n | tSLIDER tCOLOUR string_expression ',' string_expression ',' expression ',' expression ',' expression {add_command(cSLIDER5,NULL);}\n | tSLIDER tSET string_expression ',' expression {add_command(cSLIDER6,NULL);}\n | tLAUNCH string_expression {add_command(cLAUNCH,NULL);}\n | tOPTION tSET string_expression ',' string_expression ',' string_expression {add_command(cOPTION1,NULL);}\n | tOPTION tCOLOUR string_expression ',' string_expression ',' expression ',' expression ',' expression {add_command(cOPTION2,NULL);}\n \/*\n | tOPTION tRESIZE string_expression ',' coordinates to coordinates {add_command(cOPTION3,NULL);}\n *\/\n | tOPTION tSET string_expression ',' string_expression {add_command(cOPTION4,NULL);}\n | tOPTION tSET string_expression ',' string_expression ',' expression {add_command(cOPTION5,NULL);}\n | tOPTION tSET string_expression ',' string_expression ',' expression ',' expression {add_command(cOPTION3,NULL);}\n | tBITMAP coordinates ',' string_expression {add_command(cBITMAP,NULL);}\n | tBITMAP tGETNUM coordinates to coordinates ',' string_expression ',' string_expression {add_command(cBITMAPGET, NULL);}\n | tBITMAP tGETNUM expression ',' string_expression ',' string_expression {add_command(cBITMAPGET2, NULL);}\n | tBITMAP tGETNUM string_expression ',' string_expression ',' string_expression {add_command(cBITMAPGETICON, NULL);}\n | tDRAW tBITMAP coordinates ',' string_expression ',' string_expression ',' string_expression {add_command(cBITMAPDRAW,NULL);}\n | tDRAW tBITMAP coordinates to coordinates ',' string_expression ',' string_expression ',' string_expression {add_command(cBITMAPDRAW2,NULL);}\n \/*\n | tCANVAS tDRAG string_expression {add_command(cBITMAPDRAG,NULL);}\n *\/\n | tBITMAP tREMOVE string_expression {add_command(cBITMAPREMOVE,NULL);}\n | tSCREENSHOT coordinates to coordinates ',' string_expression {add_command(cSCREENSHOT,NULL);}\n | tCANVAS coordinates to coordinates ',' string_expression ',' string_expression {add_command(cCANVAS,NULL);}\n | tVIEW tDROPZONE string_expression {add_command(cDROPZONE,NULL);}\n | tCOLORCONTROL coordinates ',' string_expression ',' string_expression {add_command(cCOLORCONTROL1,NULL);}\n | tCOLORCONTROL tSET string_expression ',' expression ',' expression ',' expression {add_command(cCOLORCONTROL2,NULL);}\n | tTEXTCONTROL tSET string_expression ',' string_expression {add_command(cTEXTCONTROL2,NULL);}\n | tTEXTCONTROL tSET string_expression ',' expression {add_command(cTEXTCONTROL3,NULL);}\n | tTEXTCONTROL tSET string_expression ',' string_expression ',' string_expression {add_command(cTEXTCONTROL4,NULL);}\n | tTEXTCONTROL tCLEAR string_expression {add_command(cTEXTCONTROL5,NULL);}\n | tTREEBOX coordinates to coordinates ',' string_expression ',' expression ',' string_expression {add_command(cTREEBOX1,NULL);}\n | tTREEBOX tADD string_expression ',' string_expression {add_command(cTREEBOX2,NULL);}\n | tTREEBOX tADD string_expression ',' string_expression ',' string_expression ',' expression {add_command(cTREEBOX3,NULL);}\n | tTREEBOX tADD string_expression ',' string_expression ',' expression ',' expression ',' expression {add_command(cTREEBOX13,NULL);}\n | tTREEBOX tADD string_expression ',' string_expression ',' expression {add_command(cTREEBOX12,NULL);}\n | tTREEBOX tCLEAR string_expression {add_command(cTREEBOX4,NULL);}\n | tTREEBOX tREMOVE string_expression ',' string_expression {add_command(cTREEBOX5,NULL);}\n | tTREEBOX tSELECT string_expression ',' expression {add_command(cTREEBOX7,NULL);}\n | tTREEBOX tREMOVE string_expression ',' expression {add_command(cTREEBOX8,NULL);}\n | tTREEBOX tREMOVE string_expression ',' string_expression ',' string_expression {add_command(cTREEBOX9,NULL);}\n | tTREEBOX tEXPAND string_expression ',' string_expression {add_command(cTREEBOX10,NULL);}\n | tTREEBOX tCOLLAPSE string_expression ',' string_expression {add_command(cTREEBOX11,NULL);}\n | tBUTTON tIMAGE coordinates ',' string_expression ',' string_expression ',' string_expression ',' string_expression ',' string_expression {add_command(cBUTTONIMAGE,NULL);} \n | tCHECKBOX tIMAGE coordinates ',' string_expression ',' string_expression ',' string_expression ',' string_expression ',' string_expression ',' expression ',' string_expression {add_command(cCHECKBOXIMAGE,NULL);} \n | tCHECKBOX tSET string_expression ',' expression {add_command(cCHECKBOXSET,NULL);} \n | tRADIOBUTTON tSET string_expression ',' expression {add_command(cRADIOSET,NULL);} \n | tTOOLTIP string_expression ',' string_expression {add_command(cTOOLTIP,NULL);}\n | tTOOLTIP tCOLOUR string_expression ',' expression ',' expression ',' expression {add_command(cTOOLTIPCOLOR,NULL);}\n | tLISTBOX tSORT string_expression {add_command(cLISTSORT,NULL);}\n | tTREEBOX tSORT string_expression {add_command(cTREESORT,NULL);}\n | tCOLUMNBOX coordinates to coordinates ',' string_expression ',' expression ',' string_expression ',' string_expression {add_command(cFILEBOX,NULL);}\n | tCOLUMNBOX tADD string_expression ',' expression ',' expression ',' expression ',' string_expression {add_command(cCOLUMNBOXADD,NULL);}\n | tCOLUMNBOX tCOLUMN string_expression ',' string_expression ',' expression ',' expression ',' expression ',' expression ',' string_expression {add_command(cFILEBOXADD2,NULL);}\n | tCOLUMNBOX tCLEAR string_expression {add_command(cFILEBOXCLEAR,NULL);}\n | tCOLUMNBOX tREMOVE string_expression ',' expression {add_command(cCOLUMNBOXREMOVE,NULL);}\n | tCOLUMNBOX tSELECT string_expression ',' expression {add_command(cCOLUMNBOXSELECT,NULL);}\n | tCOLUMNBOX tCOLOUR string_expression ',' string_expression ',' expression ',' expression ',' expression {add_command(cCOLUMNBOXCOLOR,NULL);}\n | tCALENDAR coordinates ',' string_expression ',' string_expression ',' string_expression ',' string_expression {add_command(cCALENDAR,NULL);}\n | tCALENDAR tSET string_expression ',' string_expression {add_command(cCALENDARSET,NULL);}\n | tSCROLLBAR string_expression ',' expression ',' string_expression {add_command(cSCROLLBAR,NULL);}\n | tSCROLLBAR tSET string_expression ',' string_expression ',' expression {add_command(cSCROLLBARSET1,NULL);}\n | tSCROLLBAR tSET string_expression ',' string_expression ',' expression ',' expression {add_command(cSCROLLBARSET2,NULL);}\n | tSCROLLBAR tSET string_expression ',' string_expression {add_command(cSCROLLBARSET3,NULL);}\n | tDROPBOX tSELECT string_expression ',' expression {add_command(cDROPBOXSELECT,NULL);}\n | tMENU tSET string_expression ',' expression ',' string_expression {add_command(cMENU2,NULL);}\n | tMENU tSET string_expression ',' string_expression ',' string_expression ',' string_expression {add_command(cMENU3,NULL);}\n | tSUBMENU string_expression ',' string_expression ',' string_expression ',' string_expression ',' string_expression {add_command(cSUBMENU1,NULL);}\n | tSUBMENU tSET string_expression ',' string_expression ',' expression ',' string_expression {add_command(cSUBMENU2,NULL);}\n | tSUBMENU tSET string_expression ',' string_expression ',' string_expression ',' string_expression ',' string_expression {add_command(cSUBMENU3,NULL);}\n | tSTATUSBAR coordinates to coordinates ',' string_expression ',' string_expression ',' string_expression ',' string_expression {add_command(cSTATUSBAR,NULL);}\n | tSTATUSBAR tSET string_expression ',' string_expression ',' string_expression ',' expression {add_command(cSTATUSBARSET,NULL);}\n | tSTATUSBAR tSET string_expression ',' expression ',' expression ',' expression {add_command(cSTATUSBARSET3,NULL);}\n | tSPINCONTROL coordinates ',' string_expression ',' string_expression ',' expression ',' expression ',' expression ',' string_expression {add_command(cSPINCONTROL1,NULL);}\n | tSPINCONTROL tSET string_expression ',' expression {add_command(cSPINCONTROL2,NULL);}\n | tCLIPBOARD tCOPY string_expression {add_command(cCLIPBOARDCOPY,NULL);}\n | tPRINTER tSETUP string_expression {add_command(cPRINTERCONFIG,NULL);}\n | tMOUSE tSET string_expression {add_command(cMOUSESET,NULL);}\n | tSOUND tSTOP expression {add_command(cSOUNDSTOP,NULL);}\n | tSOUND tSTOP '(' expression ')' {add_command(cSOUNDSTOP,NULL);}\n | tSOUND tWAIT expression {add_command(cSOUNDWAIT,NULL);}\n | tSOUND tWAIT '(' expression ')' {add_command(cSOUNDWAIT,NULL);}\n | tSPLITVIEW coordinates to coordinates ',' string_expression ',' expression ',' expression ',' string_expression {add_command(cSPLITVIEW1,NULL);}\n | tSPLITVIEW tSET string_expression ',' string_expression ',' expression {add_command(cSPLITVIEW2,NULL);}\n | tSPLITVIEW tSET string_expression ',' string_expression ',' expression ',' expression {add_command(cSPLITVIEW3,NULL);}\n | tSTACKVIEW coordinates to coordinates ',' string_expression ',' expression ',' string_expression {add_command(cSTACKVIEW1,NULL);}\n | tSTACKVIEW tSET string_expression ',' expression {add_command(cSTACKVIEW2,NULL);}\n | tTEXTURL coordinates ',' string_expression ',' string_expression ',' string_expression ',' string_expression {add_command(cTEXTURL1, NULL);}\n | tTEXTURL tCOLOUR string_expression ',' string_expression ',' expression ',' expression ',' expression {add_command(cTEXTURL2, NULL);}\n | tATTRIBUTE tSET string_expression ',' string_expression ',' string_expression ',' string_expression {add_command(cATTRIBUTE1, NULL);}\n | tATTRIBUTE tCLEAR string_expression ',' string_expression {add_command(cATTRIBUTECLEAR, NULL);}\n | tPUTCHAR string_expression to expression ',' expression {add_command(cPUTCHAR,NULL);}\n | tCLEAR tSCREEN {add_command(cCLEARSCR,NULL);}\n | tWAIT expression {add_command(cWAIT,NULL);}\n | tBELL {add_command(cBELL,NULL);}\n | tINKEY {create_pushdbl(-1);create_function(fINKEY);add_command(cPOP,NULL);}\n | tINKEY '(' ')' {create_pushdbl(-1);create_function(fINKEY);add_command(cPOP,NULL);}\n | tINKEY '(' expression ')' {create_function(fINKEY);add_command(cPOP,NULL);}\n | tSYSTEM2 '(' string_expression ')' {create_function(fSYSTEM2);\n\tadd_command(cPOP,NULL);}\n | tPOKE string_expression ',' string_expression {create_poke('s');}\n | tPOKE string_expression ',' expression {create_poke('d');}\n | tPOKE hashed_number ',' string_expression {create_poke('S');}\n | tPOKE hashed_number ',' expression {create_poke('D');}\n | tEND {add_command(cEND,NULL);}\n | tEXIT {create_pushdbl(0);add_command(cEXIT,NULL);}\n | tEXIT expression {add_command(cEXIT,NULL);}\n | tDOCU {create_docu($1);}\n | tBIND string_expression {add_command(cBIND,NULL);}\n ;\n\n\/*\nclear_fill_clause: * empty * {drawmode=0;}\n | tCLEAR {drawmode=dmCLEAR;}\n | tFILL {drawmode=dmFILL;}\n | tCLEAR tFILL {drawmode=dmFILL+dmCLEAR;}\n | tFILL tCLEAR {drawmode=dmFILL+dmCLEAR;}\n ;*\/\n\n\nstring_assignment: tSTRSYM tEQU string_expression {add_command(cPOPSTRSYM,dotify($1,FALSE));}\n | tMID '(' string_scalar_or_array ',' expression ',' expression ')' tEQU string_expression {create_changestring(fMID);}\n | tMID '(' string_scalar_or_array ',' expression ')' tEQU string_expression {create_changestring(fMID2);}\n | tLEFT '(' string_scalar_or_array ',' expression ')' tEQU string_expression {create_changestring(fLEFT);}\n | tRIGHT '(' string_scalar_or_array ',' expression ')' tEQU string_expression {create_changestring(fRIGHT);}\n | stringfunction_or_array tEQU string_expression {create_doarray(dotify($1,FALSE),ASSIGNSTRINGARRAY);}\n ;\n\nto: ','\n | tTO\n ;\n\nopen_clause: tOPEN hashed_number ',' string_expression ',' string_expression {create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n | tOPEN hashed_number ',' string_expression {create_myopen(OPEN_HAS_STREAM);}\n\/* | tOPEN hashed_number ',' tPRINTER {create_myopen(OPEN_HAS_STREAM+OPEN_PRINTER);} *\/\n | tOPEN string_expression tFOR tREADING tAS hashed_number {add_command(cSWAP,NULL);create_pushstr(\"r\");create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n | tOPEN string_expression tFOR tWRITING tAS hashed_number {add_command(cSWAP,NULL);create_pushstr(\"w\");create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n ;\n\nseek_clause: tSEEK hashed_number ',' expression {add_command(cSEEK,NULL);}\n | tSEEK hashed_number ',' expression ',' string_expression {add_command(cSEEK2,NULL);}\n ;\n\nstring_scalar_or_array: tSTRSYM {add_command(cPUSHSTRPTR,dotify($1,FALSE));}\n | tSTRSYM '(' call_list ')' {create_doarray(dotify($1,FALSE),GETSTRINGPOINTER);} \n ;\n\nstring_expression: tSTRSYM {add_command(cPUSHSTRSYM,dotify($1,FALSE));}\n | string_function\n | stringfunction_or_array {add_command(cSTRINGFUNCTION_OR_ARRAY,$1);}\n | tSTRING {if ($1==NULL) {error(ERROR,\"String not terminated\");create_pushstr(\"\");} else {create_pushstr($1);}}\n | string_expression '+' string_expression {add_command(cCONCAT,NULL);}\n | '(' string_expression ')'\n ;\n\nstring_function: tLEFT '(' string_expression ',' expression ')' {create_function(fLEFT);}\n | tRIGHT '(' string_expression ',' expression ')' {create_function(fRIGHT);}\n | tMID '(' string_expression ',' expression ',' expression ')' {create_function(fMID);}\n | tMID '(' string_expression ',' expression ')' {create_function(fMID2);}\n | tSTR '(' expression ')' {create_function(fSTR);}\n | tSTR '(' expression ',' string_expression ')' {create_function(fSTR2);} \n | tSTR '(' expression ',' string_expression ',' string_expression ')' {create_function(fSTR3);} \n | tINKEY {create_pushdbl(-1);create_function(fINKEY);}\n | tINKEY '(' ')' {create_pushdbl(-1);create_function(fINKEY);}\n | tINKEY '(' expression ')' {create_function(fINKEY);}\n | tCHR '(' expression ')' {create_function(fCHR);}\n | tUPPER '(' string_expression ')' {create_function(fUPPER);}\n | tLOWER '(' string_expression ')' {create_function(fLOWER);}\n | tLTRIM '(' string_expression ')' {create_function(fLTRIM);}\n | tRTRIM '(' string_expression ')' {create_function(fRTRIM);}\n | tTRIM '(' string_expression ')' {create_function(fTRIM);}\n | tSYSTEM '(' string_expression ')' {create_function(fSYSTEM);}\n | tDATE {create_function(fDATE);}\n | tDATE '(' ')' {create_function(fDATE);}\n | tTIME {create_function(fTIME);}\n | tTIME '(' ')' {create_function(fTIME);}\n | tPEEK2 '(' string_expression ')' {create_function(fPEEK2);}\n | tPEEK2 '(' string_expression ',' string_expression ')' {create_function(fPEEK3);}\n | tTOKENALT '(' string_scalar_or_array ',' string_expression ')' {add_command(cTOKENALT2,NULL);}\n | tTOKENALT '(' string_scalar_or_array ')' {add_command(cTOKENALT,NULL);}\n | tSPLITALT '(' string_scalar_or_array ',' string_expression ')' {add_command(cSPLITALT2,NULL);}\n | tSPLITALT '(' string_scalar_or_array ')' {add_command(cSPLITALT,NULL);}\n | tGETCHAR '(' expression ',' expression to expression ',' expression ')' {create_function(fGETCHAR);}\n | tHEX '(' expression ')' {create_function(fHEX);}\n | tBIN '(' expression ')' {create_function(fBIN);}\n | tEXECUTE2 '(' call_list ')' {create_execute(1);add_command(cSWAP,NULL);add_command(cPOP,NULL);}\n | tMESSAGE {create_function(fMESSAGE);}\n | tMESSAGE '(' ')' {create_function(fMESSAGE);}\n | tMOUSE tMESSAGE {create_function(fMOUSEMOVE);}\n | tMOUSE tMESSAGE '(' ')' {create_function(fMOUSEMOVE);} \n | tTRANSLATE '(' string_expression ')' {create_function(fTRANSLATE);}\n | tMENU tTRANSLATE '(' string_expression ')' {create_function(fMENUTRANSLATE);}\n | tTEXTEDIT tGET string_expression {create_function(fTEXTGET);}\n | tTEXTEDIT tGET string_expression ',' expression {create_function(fTEXTGET3);}\n | tTEXTEDIT tGET string_expression ',' string_expression {create_function(fTEXTGET6);}\n | tTEXTCONTROL tGET string_expression {create_function(fTEXTCONTROLGET);}\n | tFILEPANEL string_expression ',' string_expression ',' string_expression {create_function(fLOAD);}\n | tFILEPANEL string_expression ',' string_expression ',' string_expression ',' string_expression {create_function(fSAVE);}\n | tMOUSE tMESSAGE string_expression {create_function(fMOUSE);}\n \/\/| tMOUSE tMESSAGE '(' string_expression ')' {create_function(fMOUSE);}\n | tKEYBOARD tMESSAGE string_expression {create_function(fKEYBOARD);}\n \/\/| tKEYBOARD tMESSAGE '(' string_expression ')' {create_function(fKEYBOARD);}\n | tCLIPBOARD tPASTE {create_function(fCLIPBOARDPASTE);}\n | tCOLUMNBOX tGET string_expression ',' expression ',' expression {create_function(fCOLUMNBOXGET);}\n | tCALENDAR tGET string_expression {create_function(fCALENDAR);}\n | tLISTBOX tGET string_expression ',' expression {create_function(fLISTBOXGET);}\n | tTREEBOX tGET string_expression ',' expression {create_function(fTREEBOXGET);}\n | tPOPUPMENU coordinates ',' string_expression ',' string_expression {create_function(fPOPUPMENU);}\n | tDROPBOX tGET string_expression ',' expression {create_function(fDROPBOXGET);}\n | tDRAW tGET string_expression {create_function(fDRAWGET3);}\n | tATTRIBUTE tGET string_expression ',' string_expression {create_function(fATTRIBUTEGET1);}\n ;\n\nassignment: tSYMBOL tEQU expression {add_command(cPOPDBLSYM,dotify($1,FALSE));} \n | function_or_array tEQU expression {create_doarray($1,ASSIGNARRAY);}\n ;\n\nexpression: expression tOR {add_command(cORSHORT,NULL);pushlabel();} expression {poplabel();create_boole('|');}\n | expression tAND {add_command(cANDSHORT,NULL);pushlabel();} expression {poplabel();create_boole('&');}\n | tNOT expression {create_boole('!');}\n | expression tEQU expression {create_dblrelop('=');}\n | expression tNEQ expression {create_dblrelop('!');}\n | expression tLTN expression {create_dblrelop('<');}\n | expression tLEQ expression {create_dblrelop('{');}\n | expression tGTN expression {create_dblrelop('>');}\n | expression tGEQ expression {create_dblrelop('}');}\n | tMYEOF '(' hashed_number ')' {add_command(cTESTEOF,NULL);}\n | tGLOB '(' string_expression ',' string_expression ')' {add_command(cGLOB,NULL);}\n | number {create_pushdbl($1);}\n | tARDIM '(' arrayref ')' {add_command(cARDIM,\"\");}\n | tARDIM '(' string_arrayref ')' {add_command(cARDIM,\"\");}\n | tARSIZE '(' arrayref ',' expression ')' {add_command(cARSIZE,\"\");}\n | tARSIZE '(' string_arrayref ',' expression ')' {add_command(cARSIZE,\"\");}\n | function_or_array {add_command(cFUNCTION_OR_ARRAY,$1);}\n | tSYMBOL {add_command(cPUSHDBLSYM,dotify($1,FALSE));}\n | expression '+' expression {create_dblbin('+');}\n | expression '-' expression {create_dblbin('-');}\n | expression '*' expression {create_dblbin('*');}\n | expression '\/' expression {create_dblbin('\/');}\n | expression tPOW expression {create_dblbin('^');}\n | '-' expression %prec UMINUS {add_command(cNEGATE,NULL);}\n | string_expression tEQU string_expression {create_strrelop('=');}\n | string_expression tNEQ string_expression {create_strrelop('!');}\n | string_expression tLTN string_expression {create_strrelop('<');}\n | string_expression tLEQ string_expression {create_strrelop('{');}\n | string_expression tGTN string_expression {create_strrelop('>');}\n | string_expression tGEQ string_expression {create_strrelop('}');}\n | function\n | '(' expression ')'\n ;\n\narrayref: tSYMBOL '(' ')' {create_pusharrayref(dotify($1,FALSE),stNUMBERARRAYREF);}\n ;\n\nstring_arrayref: tSTRSYM '(' ')' {create_pusharrayref(dotify($1,FALSE),stSTRINGARRAYREF);}\n ;\n\ncoordinates: expression ',' expression\n ;\n\nfunction: tSIN '(' expression ')' {create_function(fSIN);}\n | tASIN '(' expression ')' {create_function(fASIN);}\n | tCOS '(' expression ')' {create_function(fCOS);}\n | tACOS '(' expression ')' {create_function(fACOS);}\n | tTAN '(' expression ')' {create_function(fTAN);}\n | tATAN '(' expression ')' {create_function(fATAN);}\n | tATAN '(' expression ',' expression ')' {create_function(fATAN2);}\n | tEXP '(' expression ')' {create_function(fEXP);}\n | tLOG '(' expression ')' {create_function(fLOG);}\n | tLOG '(' expression ',' expression ')' {create_function(fLOG2);}\n | tSQRT '(' expression ')' {create_function(fSQRT);}\n | tSQR '(' expression ')' {create_function(fSQR);}\n | tINT '(' expression ')' {create_function(fINT);}\n | tFRAC '(' expression ')' {create_function(fFRAC);}\n | tABS '(' expression ')' {create_function(fABS);}\n | tSIG '(' expression ')' {create_function(fSIG);}\n | tMOD '(' expression ',' expression ')' {create_function(fMOD);}\n | tRAN '(' expression ')' {create_function(fRAN);}\n | tRAN '(' ')' {create_function(fRAN2);}\n | tMIN '(' expression ',' expression ')' {create_function(fMIN);}\n | tMAX '(' expression ',' expression ')' {create_function(fMAX);}\n | tLEN '(' string_expression ')' {create_function(fLEN);}\n | tVAL '(' string_expression ')' {create_function(fVAL);}\n | tASC '(' string_expression ')' {create_function(fASC);}\n | tDEC '(' string_expression ')' {create_function(fDEC);}\n | tDEC '(' string_expression ',' expression ')' {create_function(fDEC2);}\n | tINSTR '(' string_expression ',' string_expression ')' {if (check_compat) error(WARNING,\"instr() has changed in version 2.712\"); create_function(fINSTR);}\n | tINSTR '(' string_expression ',' string_expression ',' expression ')' {create_function(fINSTR2);}\n | tRINSTR '(' string_expression ',' string_expression ')' {create_function(fRINSTR);}\n | tRINSTR '(' string_expression ',' string_expression ',' expression ')' {create_function(fRINSTR2);}\n | tSYSTEM2 '(' string_expression ')' {create_function(fSYSTEM2);}\n | tPEEK '(' hashed_number ')' {create_function(fPEEK4);}\n | tPEEK '(' string_expression ')' {create_function(fPEEK);}\n\/*\n | tMOUSEX '(' string_expression ')' {create_function(fMOUSEX);}\n | tMOUSEX {create_pushstr(\"\");create_function(fMOUSEX);}\n | tMOUSEX '(' ')' {create_pushstr(\"\");create_function(fMOUSEX);}\n | tMOUSEY '(' string_expression ')' {create_function(fMOUSEY);}\n | tMOUSEY {create_pushstr(\"\");create_function(fMOUSEY);}\n | tMOUSEY '(' ')' {create_pushstr(\"\");create_function(fMOUSEY);}\n | tMOUSEB '(' string_expression ')' {create_function(fMOUSEB);}\n | tMOUSEB {create_pushstr(\"\");create_function(fMOUSEB);}\n | tMOUSEB '(' ')' {create_pushstr(\"\");create_function(fMOUSEB);}\n | tMOUSEMOD '(' string_expression ')' {create_function(fMOUSEMOD);}\n | tMOUSEMOD {create_pushstr(\"\");create_function(fMOUSEMOD);}\n | tMOUSEMOD '(' ')' {create_pushstr(\"\");create_function(fMOUSEMOD);}*\/\n | tAND '(' expression ',' expression ')' {create_function(fAND);}\n | tOR '(' expression ',' expression ')' {create_function(fOR);}\n | tEOR '(' expression ',' expression ')' {create_function(fEOR);}\n | tTELL '(' hashed_number ')' {create_function(fTELL);}\n | tTOKEN '(' string_expression ',' string_arrayref ',' string_expression ')' {add_command(cTOKEN2,NULL);}\n | tTOKEN '(' string_expression ',' string_arrayref ')' {add_command(cTOKEN,NULL);}\n | tSPLIT '(' string_expression ',' string_arrayref ',' string_expression ')' {add_command(cSPLIT2,NULL);}\n | tSPLIT '(' string_expression ',' string_arrayref ')' {add_command(cSPLIT,NULL);}\n | tEXECUTE '(' call_list ')' {create_execute(0);add_command(cSWAP,NULL);add_command(cPOP,NULL);}\n | tOPEN '(' string_expression ')' {create_myopen(0);}\n | tOPEN '(' string_expression ',' string_expression ')' {create_myopen(OPEN_HAS_MODE);}\n | tOPEN '(' hashed_number ',' string_expression ')' {create_myopen(OPEN_HAS_STREAM);}\n | tOPEN '(' hashed_number ',' string_expression ',' string_expression ')' {create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n | tDRAW tIMAGE expression ',' expression ',' string_expression ',' string_expression {create_function(fDRAWIMAGE);}\n | tDRAW tIMAGE coordinates to coordinates ',' string_expression ',' string_expression {create_function(fDRAWIMAGE2);}\n | tSVG coordinates to coordinates ',' string_expression ',' string_expression {create_function(fDRAWSVG);}\n | tWINDOW tCOUNT {create_function(fNUMWINDOWS);}\n \/\/ | tISMOUSEIN '(' string_expression ')' {create_function(fISMOUSEIN);}\n | tISMOUSEIN string_expression {create_function(fISMOUSEIN);}\n | tCOLUMNBOX tCOUNT string_expression {create_function(fCOLUMNBOXCOUNT);}\n | tWINDOW tGETNUM string_expression ',' string_expression {create_function(fWINDOWGET);}\n | tVIEW tGETNUM string_expression ',' string_expression {create_function(fVIEWGET);}\n | tALERT string_expression ',' string_expression ',' string_expression ',' string_expression ',' string_expression {create_function(fALERT);}\n | tLISTBOX tCOUNT string_expression {create_function(fLISTBOXCOUNT);}\n | tTREEBOX tCOUNT string_expression {create_function(fTREEBOXCOUNT);}\n | tSCROLLBAR tGETNUM string_expression ',' string_expression {create_function(fSCROLLBARGET);}\n | tSPLITVIEW tGETNUM string_expression ',' string_expression {create_function(fSPLITVIEWGET);}\n | tSTACKVIEW tGETNUM string_expression {create_function(fSTACKVIEWGET);}\n | tTABVIEW tGETNUM string_expression {create_function(fTABVIEWGET);}\n | tSPINCONTROL tGETNUM string_expression {create_function(fSPINCONTROLGET);}\n | tDROPBOX tCOUNT string_expression {create_function(fDROPBOXCOUNT);}\n | tSLIDER tGETNUM string_expression {create_function(fSLIDERGET);}\n | tCOLORCONTROL tGETNUM string_expression ',' string_expression {create_function(fCOLORCONTROLGET);}\n | tTEXTEDIT tGETNUM string_expression ',' string_expression {create_function(fTEXTGET2);}\n | tTEXTEDIT tGETNUM string_expression ',' string_expression ',' expression {create_function(fTEXTGET4);}\n | tTEXTEDIT tGETNUM string_expression ',' string_expression ',' string_expression {create_function(fTEXTGET5);}\n | tDRAW tGETNUM string_expression ',' string_expression ',' string_expression {create_function(fDRAWGET1);}\n | tDRAW tGETNUM string_expression ',' string_expression {create_function(fDRAWGET2);}\n | tDRAW tGETNUM coordinates ',' string_expression ',' string_expression {create_function(fDRAWGET4);}\n | tNUMMESSAGE tMSEND string_expression ',' string_expression {create_function(fMESSAGESEND);}\n | tTHREAD tREMOVE string_expression ',' expression {create_function(fTHREADKILL);}\n | tTHREAD tGETNUM string_expression ',' string_expression {create_function(fTHREADGET);}\n | tPRINTER string_expression ',' string_expression ',' string_expression {create_function(fPRINTER);}\n | tSOUND tPLAY string_expression {create_function(fSOUND);}\n | tISCOMPUTERON {create_function(fISCOMPUTERON);}\n | tLISTBOX tGETNUM string_expression {create_function(fLISTBOXGETNUM);}\n | tDROPBOX tGETNUM string_expression {create_function(fDROPBOXGETNUM);}\n | tTREEBOX tGETNUM string_expression {create_function(fTREEBOXGETNUM);}\n | tCOLUMNBOX tGETNUM string_expression {create_function(fCOLUMNBOXGETNUM);}\n | tTREEBOX tGETNUM string_expression ',' string_expression ',' expression {create_function(fTREEBOXGETOPT);}\n | tBITMAP tSAVE string_expression ',' string_expression ',' string_expression {create_function(fBITMAPSAVE);}\n | tBITMAP tIMAGE string_expression ',' string_expression {create_function(fBITMAPLOAD);}\n | tBITMAP tGETNUM string_expression ',' string_expression {create_function(fBITMAPGET);}\n | tBITMAP tCOLOUR expression ',' expression ',' string_expression ',' string_expression {create_function(fBITMAPCOLOR);}\n | tATTRIBUTE tGETNUM string_expression ',' string_expression {create_function(fATTRIBUTEGET2);}\n ;\n\nconst: number {$$=$1;}\n | '+' number {$$=$2;}\n | '-' number {$$=-$2;}\n ;\n\nnumber: tFNUM {$$=$1;}\n | tDIGITS {$$=strtod($1,NULL);}\n ;\n\nsymbol_or_lineno: tDIGITS {$$=my_strdup(dotify($1,FALSE));}\n | tSYMBOL {$$=my_strdup(dotify($1,FALSE));}\n ;\n\ndimlist: tSYMBOL '(' call_list ')' {create_dim(dotify($1,FALSE),'D');}\n | dimlist ',' tSYMBOL '(' call_list ')' {create_dim(dotify($3,FALSE),'D');}\n | tSTRSYM '(' call_list ')' {create_dim(dotify($1,FALSE),'S');}\n | dimlist ',' tSTRSYM '(' call_list ')' {create_dim(dotify($3,FALSE),'S');}\n ;\n\nfunction_or_array: tSYMBOL '(' call_list ')' {$$=my_strdup(dotify($1,FALSE));}\n ;\n\nstringfunction_or_array: tSTRSYM '(' call_list ')' {$$=my_strdup(dotify($1,FALSE));}\n ;\n\ncall_list: {add_command(cPUSHFREE,NULL);} calls\n ;\n\ncalls: \/* empty *\/\n | call_item\n | calls ',' call_item\n ;\n\ncall_item: string_expression\n | expression\n ;\n \nfunction_definition: export tSUB {missing_endsub++;missing_endsub_line=mylineno;pushlabel();report_missing(WARNING,\"do not define a function in a loop or an if-statement\");if (function_type!=ftNONE) {error(ERROR,\"nested functions not allowed\");YYABORT;}}\n\tfunction_name {if (exported) create_sublink($4); create_label($4,cUSER_FUNCTION);\n\t add_command(cPUSHSYMLIST,NULL);add_command(cCLEARREFS,NULL);firstref=lastref=lastcmd;\n\t\t create_numparam();}\n\t'(' paramlist ')' {create_require(stFREE);add_command(cPOP,NULL);}\n\tstatement_list\n\tendsub {add_command(cCLEARREFS,NULL);lastcmd->nextref=firstref;add_command(cPOPSYMLIST,NULL);create_retval(ftNONE,function_type);function_type=ftNONE;add_command(cRET_FROM_FUN,NULL);lastref=NULL;create_endfunction();poplabel();}\n ;\n\nendsub: tEOPROG {if (missing_endsub) {sprintf(string,\"%d end-sub(s) are missing (last at line %d)\",missing_endsub,missing_endsub_line);error(ERROR,string);} YYABORT;}\n | tENDSUB {missing_endsub--;}\n ;\n\nfunction_name: tSYMBOL {function_type=ftNUMBER;current_function=my_strdup(dotify($1,FALSE));$$=my_strdup(dotify($1,FALSE));}\n | tSTRSYM {function_type=ftSTRING;current_function=my_strdup(dotify($1,FALSE));$$=my_strdup(dotify($1,FALSE));}\n ;\n\nexport: \/* empty *\/ {exported=FALSE;}\n | tEXPORT {exported=TRUE;}\n | tRUNTIME_CREATED_SUB {exported=FALSE;}\n | tRUNTIME_CREATED_SUB tEXPORT {exported=TRUE;}\n ;\n\nlocal_list: local_item\n | local_list ',' local_item\n ;\n\nlocal_item: tSYMBOL {create_makelocal(dotify($1,FALSE),syNUMBER);}\n | tSTRSYM {create_makelocal(dotify($1,FALSE),sySTRING);}\n | tSYMBOL '(' call_list ')' {create_makelocal(dotify($1,FALSE),syARRAY);create_dim(dotify($1,FALSE),'d');}\n | tSTRSYM '(' call_list ')' {create_makelocal(dotify($1,FALSE),syARRAY);create_dim(dotify($1,FALSE),'s');}\n ;\n \nstatic_list: static_item\n | static_list ',' static_item\n ;\n\nstatic_item: tSYMBOL {create_makestatic(dotify($1,TRUE),syNUMBER);}\n | tSTRSYM {create_makestatic(dotify($1,TRUE),sySTRING);}\n | tSYMBOL '(' call_list ')' {create_makestatic(dotify($1,TRUE),syARRAY);create_dim(dotify($1,TRUE),'D');}\n | tSTRSYM '(' call_list ')' {create_makestatic(dotify($1,TRUE),syARRAY);create_dim(dotify($1,TRUE),'S');}\n ;\n \nparamlist: \/* empty *\/\n | paramitem\n | paramlist ',' paramitem\n ;\n \nparamitem: tSYMBOL {create_require(stNUMBER);create_makelocal(dotify($1,FALSE),syNUMBER);add_command(cPOPDBLSYM,dotify($1,FALSE));}\n | tSTRSYM {create_require(stSTRING);create_makelocal(dotify($1,FALSE),sySTRING);add_command(cPOPSTRSYM,dotify($1,FALSE));}\n | tSYMBOL '(' ')' {create_require(stNUMBERARRAYREF);create_arraylink(dotify($1,FALSE),stNUMBERARRAYREF);}\n | tSTRSYM '(' ')' {create_require(stSTRINGARRAYREF);create_arraylink(dotify($1,FALSE),stSTRINGARRAYREF);}\n ;\n\nfor_loop: tFOR {missing_next++;missing_next_line=mylineno;} tSYMBOL tEQU \n {pushname(dotify($3,FALSE)); \/* will be used by next_symbol to check equality *\/\n\t add_command(cRESETSKIPONCE,NULL);\n\t pushgoto();add_command(cCONTINUE_HERE,NULL);create_break_mark(0,1);}\n\t expression tTO expression \n\t step_part { \/* pushes another expression *\/\n\t add_command(cSKIPONCE,NULL);\n\t pushlabel();\n\t add_command(cSTARTFOR,NULL);\n\t add_command(cPOPDBLSYM,dotify($3,FALSE));\n\t poplabel();\n\t add_command(cPUSHDBLSYM,dotify($3,FALSE));\n\t add_command(cFORINCREMENT,NULL);\n\t add_command(cPOPDBLSYM,dotify($3,FALSE));\n\t add_command(cPUSHDBLSYM,dotify($3,FALSE));\n\t add_command(cFORCHECK,NULL);\n\t add_command(cDECIDE,NULL);\n pushlabel();}\n statement_list {\n swap();popgoto();poplabel();}\n next next_symbol {create_break_mark(0,-1);add_command(cBREAK_HERE,NULL);}\n ;\n\nnext: tEOPROG {if (missing_next) {sprintf(string,\"%d next(s) are missing (last at line %d)\",missing_next,missing_next_line);error(ERROR,string);} YYABORT;}\n | tNEXT {missing_next--;}\n ;\n\nstep_part: {create_pushdbl(1);} \/* can be omitted *\/\n | tSTEP expression\n ;\n\nnext_symbol: {pop(stSTRING);}\/* can be omitted *\/\n | tSYMBOL {if (strcmp(pop(stSTRING)->pointer,dotify($1,FALSE))) \n {error(ERROR,\"'for' and 'next' do not match\"); YYABORT;}\n }\n ;\n\nswitch_number_or_string: tSWITCH {push_switch_id();add_command(cPUSH_SWITCH_MARK,NULL);create_break_mark(0,1);\n\tadd_command(cCONTINUE_CORRECTION,NULL);} \n number_or_string sep_list case_list default tSEND {create_break_mark(-1,0);add_command(cBREAK_HERE,NULL);create_break_mark(0,-1);add_command(cBREAK_HERE,NULL);create_clean_switch_mark(0,FALSE);pop_switch_id();}\n ;\n\nsep_list: tSEP {if ($1>=0) mylineno+=$1;} \n | sep_list tSEP {if ($2>=0) mylineno+=$2;} \n ;\n\nnumber_or_string: expression\n | string_expression\n ;\n\n\ncase_list: \/* empty *\/\n | case_list tCASE {create_break_mark(-1,0);add_command(cBREAK_HERE,NULL);} number_or_string\n {add_command(cSWITCH_COMPARE,NULL);add_command(cDECIDE,NULL);add_command(cMINOR_BREAK,NULL);create_break_mark(1,0);} statement_list {add_command(cNEXT_CASE,NULL);}\n ;\n\n\ndefault: \/* empty *\/\n | tDEFAULT tSEP {if ($2>=0) mylineno+=$2; create_break_mark(-1,0);add_command(cBREAK_HERE,NULL);} statement_list\n ;\n\n\ndo_loop: tDO {add_command(cCONTINUE_HERE,NULL);create_break_mark(0,1);missing_loop++;missing_loop_line=mylineno;pushgoto();}\n\t statement_list\n loop\n ;\n\n\nloop: tEOPROG {if (missing_loop) {sprintf(string,\"%d loop(s) are missing (last at line %d)\",missing_loop,missing_loop_line);error(ERROR,string);} YYABORT;}\n | tLOOP {missing_loop--;popgoto();create_break_mark(0,-1);add_command(cBREAK_HERE,NULL);}\n ;\n\n\nwhile_loop: tWHILE {add_command(cCONTINUE_HERE,NULL);create_break_mark(0,1);missing_wend++;missing_wend_line=mylineno;pushgoto();} '(' expression ')'\n\t {add_command(cDECIDE,NULL);\n\t pushlabel();}\n\t statement_list\n wend\n ;\t \n\nwend: tEOPROG {if (missing_wend) {sprintf(string,\"%d wend(s) are missing (last at line %d)\",missing_wend,missing_wend_line);error(ERROR,string);} YYABORT;}\n | tWEND {missing_wend--;swap();popgoto();poplabel();create_break_mark(0,-1);add_command(cBREAK_HERE,NULL);}\n ;\n\n\nrepeat_loop: tREPEAT {add_command(cCONTINUE_HERE,NULL);create_break_mark(0,1);missing_until++;missing_until_line=mylineno;pushgoto();} \n\t statement_list\n\t until\n ;\n\nuntil: tEOPROG {if (missing_until) {sprintf(string,\"%d until(s) are missing (last at line %d)\",missing_until,missing_until_line);error(ERROR,string);} YYABORT;}\n | tUNTIL '(' expression ')'\n\t {missing_until--;add_command(cDECIDE,NULL);popgoto();create_break_mark(0,-1);add_command(cBREAK_HERE,NULL);}\n ;\n\nif_clause: tIF expression {add_command(cDECIDE,NULL);storelabel();pushlabel();}\n tTHEN {missing_endif++;missing_endif_line=mylineno;} statement_list {swap();matchgoto();swap();poplabel();}\n\t elsif_part\n else_part {poplabel();}\n endif\n ;\n\nendif: tEOPROG {if (missing_endif) {sprintf(string,\"%d endif(s) are missing (last at line %d)\",missing_endif,missing_endif_line);error(ERROR,string);} YYABORT;}\n | tENDIF {missing_endif--;}\n ;\n\nshort_if: tIF expression {fi_pending++;add_command(cDECIDE,NULL);pushlabel();}\n\tstatement_list tENDIF {poplabel();}\n ;\n\nelse_part: \/* can be omitted *\/\n | tELSE statement_list\n ;\n\nelsif_part: \/* can be omitted *\/\n | tELSIF expression maybe_then\n \t{add_command(cDECIDE,NULL);pushlabel();} \n statement_list \n\t{swap();matchgoto();swap();poplabel();} \n elsif_part\n ;\n\nmaybe_then: \/* can be omitted *\/\n | tTHEN\n ;\n\ninputlist: input\n | input ',' {add_command(cCHKPROMPT,NULL);} inputlist\n ;\n\ninput: tSYMBOL {create_myread('d',tileol);add_command(cPOPDBLSYM,dotify($1,FALSE));}\n | tSYMBOL '(' call_list ')' \n \t{create_myread('d',tileol);create_doarray(dotify($1,FALSE),ASSIGNARRAY);}\n | tSTRSYM {create_myread('s',tileol);add_command(cPOPSTRSYM,dotify($1,FALSE));}\n | tSTRSYM '(' call_list ')' \n \t{create_myread('s',tileol);create_doarray(dotify($1,FALSE),ASSIGNSTRINGARRAY);}\n ;\n\nreadlist: readitem\n | readlist ',' readitem\n ;\n\nreaditem: tSYMBOL {create_readdata('d');add_command(cPOPDBLSYM,dotify($1,FALSE));}\n | tSYMBOL '(' call_list ')' \n {create_readdata('d');create_doarray(dotify($1,FALSE),ASSIGNARRAY);}\n | tSTRSYM {create_readdata('s');add_command(cPOPSTRSYM,dotify($1,FALSE));}\n | tSTRSYM '(' call_list ')' \n {create_readdata('s');create_doarray(dotify($1,FALSE),ASSIGNSTRINGARRAY);}\n ;\n\ndatalist: tSTRING {create_strdata($1);}\n | const {create_dbldata($1);}\n | datalist ',' tSTRING {create_strdata($3);}\n | datalist ',' const {create_dbldata($3);}\n ;\n\nprintlist: \/* possible empty *\/\n | expression using\n | printlist ',' expression using\n | string_expression {create_print('s');} \n | printlist ',' string_expression {create_print('s');}\n ;\n\nusing: {create_print('d');} \/* possible empty *\/\n | tUSING string_expression {create_print('u');}\n | tUSING '(' string_expression ',' string_expression ')' {create_print('U');}\n ;\n\ninputbody: '#' tSYMBOL {add_command(cPUSHDBLSYM,dotify($2,FALSE));create_pps(cPUSHSTREAM,1);} inputlist {create_pps(cPOPSTREAM,0);}\n | '#' tDIGITS {create_pushdbl(atoi($2));create_pps(cPUSHSTREAM,1);} inputlist {create_pps(cPOPSTREAM,0);}\n | '#' '(' expression ')' {create_pps(cPUSHSTREAM,1);} inputlist {create_pps(cPOPSTREAM,0);}\n | tAT '(' expression ',' expression ')' {add_command(cMOVE,NULL);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,1);} prompt inputlist {create_pps(cPOPSTREAM,0);}\n | {create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,1);} prompt inputlist {create_pps(cPOPSTREAM,0);}\n ;\n\nprompt: \/* empty *\/ {create_pushstr(\"?\");create_print('s');} \n | tSTRING {create_pushstr($1);create_print('s');}\n ;\n\nprintintro: \/* may be empty *\/ {create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | '#' tSYMBOL {add_command(cPUSHDBLSYM,dotify($2,FALSE));create_pps(cPUSHSTREAM,0);}\n | '#' tDIGITS {create_pushdbl(atoi($2));create_pps(cPUSHSTREAM,0);}\n | '#' '(' expression ')' {create_pps(cPUSHSTREAM,0);}\n | tREVERSE {create_colour(1);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ')' {create_colour(2);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ',' string_expression ')' {create_colour(3);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tAT '(' expression ',' expression ')' {add_command(cMOVE,NULL);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tREVERSE tAT '(' expression ',' expression ')' {add_command(cMOVE,NULL);create_colour(1);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ')' tAT '(' expression ',' expression ')' {add_command(cMOVE,NULL);create_colour(2);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ',' string_expression ')' tAT '(' expression ',' expression ')' {add_command(cMOVE,NULL);create_colour(3);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tAT '(' expression ',' expression ')' tREVERSE {create_colour(1);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);add_command(cMOVE,NULL);}\n | tAT '(' expression ',' expression ')' tCOLOUR '(' string_expression ')' {create_colour(2);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);add_command(cMOVE,NULL);}\n | tAT '(' expression ',' expression ')' tCOLOUR '(' string_expression ',' string_expression ')' {create_colour(3);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);add_command(cMOVE,NULL);}\n ; \n\nhashed_number: '#' expression\n | expression;\n\ngoto_list: symbol_or_lineno {create_goto((function_type!=ftNONE)?dotify($1,TRUE):$1);add_command(cFINDNOP,NULL);}\n | goto_list ',' symbol_or_lineno {create_goto((function_type!=ftNONE)?dotify($3,TRUE):$3);add_command(cFINDNOP,NULL);}\n ;\n\ngosub_list: symbol_or_lineno {create_gosub((function_type!=ftNONE)?dotify($1,TRUE):$1);add_command(cFINDNOP,NULL);}\n | gosub_list ',' symbol_or_lineno {create_gosub((function_type!=ftNONE)?dotify($3,TRUE):$3);add_command(cFINDNOP,NULL);}\n ;\n\n","avg_line_length":58.6939426142,"max_line_length":317,"alphanum_fraction":0.7370498452} -{"size":566,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"spec_min_sep-09.hac\":9:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(process-prototype) [6:1..30]\n#STATE#\t{ [6:32]\n#STATE#\tkeyword: spec [7:1..4]\n#STATE#\t{ [7:6]\n#STATE#\tidentifier: min_sep [9:2..8]\n#STATE#\tlist<(expr)>: int: 13 ... [9:9..12]\n#STATE#\t( [9:13]\n#STATE#\tlist<(inst-ref-expr)>: (id-expr): q ... [9:14]\n#STATE#\t, [9:15]\n#STATE#\t{ [9:17]\n#STATE#\t{ [9:18]\nin state #STATE#, possible rules are:\n\tgrouped_reference: '{' . mandatory_member_index_expr_list '}' (#RULE#)\nacceptable tokens are: \n\tID (shift)\n\tSCOPE (shift)\n","avg_line_length":25.7272727273,"max_line_length":72,"alphanum_fraction":0.6307420495} -{"size":40660,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"%{\n\/*\n\n YABASIC --- a simple Basic Interpreter\n written by Marc Ihm 1995-2022\n more info at www.yabasic.de\n\n BISON part\n \n This file is part of yabasic and may be copied under the terms of\n MIT License which can be found in the file LICENSE.\n\n*\/\n\n\n#ifndef YABASIC_INCLUDED\n#include \"yabasic.h\" \/* definitions of yabasic *\/\n#endif\n\n#ifdef WINDOWS\n#include \n#else\n#ifdef HAVE_MALLOC_H\n#include \n#else\n#include \n#endif\n#endif\n\n#if HAVE_ALLOCA_H\n#ifndef WINDOWS\n#include \n#endif\n#endif\n\nvoid __yy_bcopy(char *,char *,int); \/* prototype missing *\/\n\nint tileol; \/* true, read should go to eon of line *\/\nint function_type=ftNONE; \/* contains function type while parsing function *\/\nchar *current_function=NULL; \/* name of currently parsed function *\/\nint exported=FALSE; \/* true, if function is exported *\/\nint yylex(void);\nextern struct library *current_library; \/* defined in main.c: name of currently parsed library *\/\nextern int yylineno; \/* defined in flex *\/\nint missing_endif=0;\nint missing_endif_line=0;\nint missing_endsub=0;\nint missing_endsub_line=0;\nint missing_next=0;\nint missing_next_line=0;\nint missing_wend=0;\nint missing_wend_line=0;\nint missing_until=0;\nint missing_until_line=0;\nint missing_loop=0;\nint missing_loop_line=0;\nint loop_nesting=0;\nint switch_nesting=0;\n\nvoid report_if_missing(char *text,int eof) {\n if (missing_loop || missing_endif || missing_next || missing_until || missing_wend) {\n if (eof) {\n error_without_position(sERROR,text);\n } else {\n error(sERROR,text);\n }\n collect_missing_clauses(string,-1);\n if (string[0]) {\n error_without_position(sERROR,string);\n }\n }\n}\n\nvoid report_conflicting_close(char *text,int missing) {\n error(sERROR,text);\n collect_missing_clauses(string,missing);\n error(sERROR,string);\n}\n\nvoid collect_missing_clauses(char *string, char exclude) {\n char buff[INBUFFLEN];\n \n string[0]='\\0';\n if (missing_endif && exclude!='e') {\n if (string[0]) strcat(string,\"; \");\n sprintf(buff,\"if-statement starting at line %d has seen no 'endif' yet\",missing_endif_line);\n strcat(string, buff);\n }\n\n if (missing_next && exclude!='n') {\n if (string[0]) strcat(string,\"; \");\n sprintf(buff,\"for-loop starting at line %d has seen no 'next' yet\",missing_next_line);\n strcat(string, buff);\n }\n\n if (missing_wend && exclude!='w') {\n if (string[0]) strcat(string,\"; \");\n sprintf(buff,\"while-loop starting at line %d has seen no 'wend' yet\",missing_wend_line);\n strcat(string, buff);\n }\n\n if (missing_until && exclude!='u') {\n if (string[0]) strcat(string,\"; \");\n sprintf(buff,\"repeat-loop starting at line %d has seen no 'until' yet\",missing_until_line);\n strcat(string, buff);\n }\n \n if (missing_loop && exclude!='l') {\n if (string[0]) strcat(string,\"; \");\n sprintf(buff,\"do-loop starting at line %d has seen no 'loop' yet\",missing_loop_line);\n strcat(string, buff);\n }\n}\n%}\n\n%locations\n%union {\n double fnum; \/* double number *\/\n int inum; \/* integer number *\/\n int token; \/* token of command *\/\n int nnl; \/* number of newlines *\/\n char *string; \/* quoted string *\/\n char *symbol; \/* general symbol *\/\n char *digits; \/* string of digits *\/\n char *docu;\t\t\/* embedded documentation *\/\n}\n\n%type const\n%type number\n%type symbol_or_lineno\n%type function_name\n%type function_or_array\n%type stringfunction_or_array\n%type tSEP\n\n%token tFNUM\n%token tSYMBOL\n%token tSTRSYM\n%token tDOCU\n%token tDIGITS\n%token tHEXDIGITS\n%token tBINDIGITS\n%token tSTRING\n\n%token tFOR tTO tSTEP tNEXT tWHILE tWEND tREPEAT tUNTIL tIMPORT\n%token tGOTO tGOSUB tLABEL tON tSUB tENDSUB tLOCAL tSTATIC tEXPORT tERROR \n%token tEXECUTE tEXECUTE2 tCOMPILE tRUNTIME_CREATED_SUB\n%token tINTERRUPT tBREAK tCONTINUE tSWITCH tSEND tCASE tDEFAULT tLOOP tDO tSEP tEOPROG\n%token tIF tTHEN tELSE tELSIF tENDIF tIMPLICITENDIF tUSING\n%token tPRINT tINPUT tRETURN tDIM tEND tEXIT tAT tSCREEN \n%token tREVERSE tCOLOUR tBACKCOLOUR\n%token tAND tOR tNOT tBITNOT tEOR tSHL tSHR\n%token tNEQ tLEQ tGEQ tLTN tGTN tEQU tEQU2 tPOW\n%token tREAD tDATA tRESTORE\n%token tOPEN tCLOSE tSEEK tTELL tAS tREADING tWRITING tORIGIN\n%token tWINDOW tDOT tLINE tCIRCLE tTRIANGLE tTEXT tCLEAR tFILL tPRINTER\n%token tWAIT tBELL tLET tARDIM tARSIZE tBIND\n%token tRECT tGETBIT tPUTBIT tGETCHAR tPUTCHAR tNEW tCURVE\n\n%token tSIN tASIN tCOS tACOS tTAN tATAN tEXP tLOG\n%token tSQRT tSQR tMYEOF tABS tSIG\n%token tINT tCEIL tFLOOR tFRAC tROUND tMOD tRAN tVAL tLEFT tRIGHT tMID tLEN tMIN tMAX\n%token tSTR tINKEY tCHR tASC tHEX tDEC tBIN tUPPER tLOWER tMOUSEX tMOUSEY tMOUSEB tMOUSEMOD\n%token tTRIM tLTRIM tRTRIM tINSTR tRINSTR tCHOMP\n%token tSYSTEM tSYSTEM2 tPEEK tPEEK2 tPOKE tFRNFN_CALL tFRNFN_CALL2 tFRNFN_SIZE\n%token tFRNBF_ALLOC tFRNBF_FREE tFRNBF_SIZE tFRNBF_DUMP tFRNBF_SET tFRNBF_GET tFRNBF_GET2\n%token tFRNBF_GET_BUFFER tFRNBF_SET_BUFFER\n%token tDATE tTIME tTOKEN tTOKENALT tSPLIT tSPLITALT tGLOB\n%token tSTART_PROGRAM tSTART_EXPRESSION tSTART_STRING_EXPRESSION tSTART_ASSIGNMENT tSTART_FUNCTION_DEFINITION\n%token tEVAL tEVAL2\n\n%start program_or_expression\n\n%left tOR\n%left tAND\n%left tNOT\n%left tNEQ\n%left tGEQ\n%left tLEQ\n%left tLTN\n%left tGTN\n%left tEQU\n%left tEQU2\n%left '-' '+'\n%left '*' '\/'\n%nonassoc UMINUS\n%left tPOW\n\n%%\n\nprogram_or_expression: tSTART_PROGRAM program\n | tSTART_EXPRESSION expression tEOPROG {YYACCEPT;}\n | tSTART_STRING_EXPRESSION string_expression tEOPROG {YYACCEPT;}\n | tSTART_ASSIGNMENT assignment tEOPROG {YYACCEPT;}\n | tSTART_FUNCTION_DEFINITION function_definition tEOPROG {YYACCEPT;}\n ;\n\nprogram: statement_list tEOPROG {YYACCEPT;}\n ;\n\nstatement_list: statement\n | statement_list {if (severity_so_far >= sERROR) {YYABORT;}} tSEP {if (in_short_if > 0 && $3 > 0) lyyerror(sERROR,\"short if-statement (i.e. without 'then' and ended by newline) does not contain any statements\");} statement\n ;\n\nassignment: string_assignment \n | tLET string_assignment \n | number_assignment\n | tLET number_assignment\n ;\n \nstatement: \/* empty *\/\n | assignment\n | tIMPORT {report_if_missing(\"can not import a library in a loop or an if-statement\",FALSE);}\n | tERROR string_expression {add_command(cERROR);}\n | for_loop \n | switch_number_or_string\n | repeat_loop\n | while_loop\n | do_loop\n | tBREAK {add_command(cPOP_MULTI);create_mybreak(1);if (!loop_nesting && !switch_nesting) lyyerror(sERROR,\"break outside loop or switch\");}\n | tBREAK tDIGITS {add_command(cPOP_MULTI);create_mybreak(atoi($2));if (!loop_nesting && !switch_nesting) lyyerror(sERROR,\"break outside loop or switch\");}\n | tCONTINUE {add_command(cPOP_MULTI);add_command_with_switch_state(cCONTINUE);if (!loop_nesting) lyyerror(sERROR,\"continue outside loop\");}\n | function_definition\n | function_or_array {create_call($1);add_command(cPOP);}\n | stringfunction_or_array {create_call($1);add_command(cPOP);}\n | tLOCAL {if (function_type==ftNONE) lyyerror(sERROR,\"no use for 'local' outside functions\");} local_list\n | tSTATIC {if (function_type==ftNONE) lyyerror(sERROR,\"no use for 'static' outside functions\");} static_list\n | if_clause\n | short_if\n | tGOTO symbol_or_lineno {create_goto((function_type!=ftNONE)?dotify($2,TRUE):$2);}\n | tGOSUB symbol_or_lineno {create_gosub((function_type!=ftNONE)?dotify($2,TRUE):$2);}\n | tON tINTERRUPT tBREAK {create_exception(TRUE);}\n | tON tINTERRUPT tCONTINUE {create_exception(FALSE);}\n | tON expression tGOTO {add_command(cSKIPPER);}\n goto_list {add_command(cNOP);}\n | tON expression tGOSUB {add_command(cSKIPPER);} \n gosub_list {add_command(cNOP);}\n | tLABEL symbol_or_lineno {create_label((function_type!=ftNONE)?dotify($2,TRUE):$2,cLABEL);}\n | open_clause {add_command(cCHECKOPEN);}\n | tCLOSE hashed_number {add_command(cCLOSE);}\n | seek_clause {add_command(cCHECKSEEK);}\n | tCOMPILE string_expression {add_command(cCOMPILE);}\n | tEXECUTE call_list {create_execute(0);add_command(cPOP);add_command(cPOP);}\n | tEXECUTE2 call_list {create_execute(1);add_command(cPOP);add_command(cPOP);}\n | tPRINT printintro printlist {create_colour(0);create_print('n');create_pps(cPOPSTREAM,0);} \n | tPRINT printintro printlist ';' {create_colour(0);create_pps(cPOPSTREAM,0);}\n | tPRINT printintro printlist ',' {create_colour(0);create_print('t');create_pps(cPOPSTREAM,0);}\n | tINPUT {tileol=FALSE;} inputbody\n | tLINE tINPUT {tileol=TRUE;} inputbody\n | tCOLOUR expression ',' expression ',' expression {add_command(cGCOLOUR);}\n | tCOLOUR string_expression {add_command(cGCOLOUR2);}\n | tBACKCOLOUR expression ',' expression ',' expression {add_command(cGBACKCOLOUR);}\n | tBACKCOLOUR string_expression {add_command(cGBACKCOLOUR2);}\n | tREAD readlist\n | tDATA datalist\n | tRESTORE {create_restore(\"\");}\n | tRESTORE symbol_or_lineno {create_restore((function_type!=ftNONE)?dotify($2,TRUE):$2);}\n | tRETURN {if (function_type!=ftNONE) {\n\t add_command(cCLEARSYMREFS);end_symref_chain();\n\t add_command(cPOPSYMLIST);\n create_check_return_value(ftNONE,function_type);\n add_command(cRETURN_FROM_CALL);\n } else {\n add_command(cRETURN_FROM_GOSUB);\n }}\n | tRETURN expression {if (function_type==ftNONE) {lyyerror(sERROR,\"a value can only be returned from a subroutine\"); YYABORT;} add_command(cCLEARSYMREFS);end_symref_chain();add_command(cPOPSYMLIST);create_check_return_value(ftNUMBER,function_type);add_command(cRETURN_FROM_CALL);}\n | tRETURN string_expression {if (function_type==ftNONE) {lyyerror(sERROR,\"can not return value\"); YYABORT;} add_command(cCLEARSYMREFS);end_symref_chain();add_command(cPOPSYMLIST);create_check_return_value(ftSTRING,function_type);add_command(cRETURN_FROM_CALL);}\n | tDIM dimlist\n | tOPEN tWINDOW expression ',' expression {create_openwin(FALSE);}\n | tOPEN tWINDOW expression ',' expression ',' string_expression \n {create_openwin(TRUE);}\n | tWINDOW tORIGIN string_expression {add_command(cMOVEORIGIN);}\n | tDOT coordinates {add_command(cDOT);}\n | tCLEAR tDOT coordinates {add_command(cDOT);putindrawmode(dmCLEAR);}\n | tLINE coordinates to coordinates {create_line(2);}\n | tCLEAR tLINE coordinates to coordinates {create_line(2);putindrawmode(dmCLEAR);}\n | tLINE tTO coordinates {create_line(1);}\n | tLINE coordinates {create_line(1);}\n | tCLEAR tLINE tTO coordinates {create_line(1);putindrawmode(dmCLEAR);}\n | tCLEAR tLINE coordinates {create_line(1);putindrawmode(dmCLEAR);}\n | tPUTBIT string_expression to expression ',' expression ',' string_expression {add_command(cPUTBIT);}\n | tPUTBIT string_expression to expression ',' expression {create_pushstr(\"solid\"); add_command(cPUTBIT);}\n | tPUTCHAR string_expression to expression ',' expression {add_command(cPUTCHAR);}\n | tNEW tCURVE {create_line(-1);}\n | tCLOSE tCURVE {create_line(0);}\n | clear_fill_clause tCIRCLE coordinates ',' expression {add_command(cCIRCLE);putindrawmode(0);}\n | clear_fill_clause tTRIANGLE coordinates to coordinates to coordinates {add_command(cTRIANGLE);putindrawmode(0);}\n | tTEXT coordinates ',' string_expression {add_command(cTEXT1);}\n | tTEXT coordinates ',' string_expression ',' string_expression {add_command(cTEXT2);}\n | tTEXT coordinates ',' string_expression ',' string_expression ',' string_expression {add_command(cTEXT3);}\n | clear_fill_clause tRECT coordinates to coordinates {add_command(cRECT);putindrawmode(0);}\n | tCLOSE tWINDOW {add_command(cCLOSEWIN);}\n | tCLEAR tWINDOW {add_command(cCLEARWIN);}\n | tCLEAR tSCREEN {add_command(cCLEARSCR);}\n | tOPEN tPRINTER {create_openprinter(0);}\n | tOPEN tPRINTER string_expression {create_openprinter(1);}\n | tCLOSE tPRINTER {add_command(cCLOSEPRN);}\n | tWAIT expression {add_command(cWAIT);}\n | tBELL {add_command(cBELL);}\n | tINKEY {create_pushdbl(-1);create_function(fINKEY);add_command(cPOP);}\n | tINKEY '(' ')' {create_pushdbl(-1);create_function(fINKEY);add_command(cPOP);}\n | tINKEY '(' expression ')' {create_function(fINKEY);add_command(cPOP);}\n | tSYSTEM '(' string_expression ')' {create_function(fSYSTEM);\n\tadd_command(cPOP);} \n | tPOKE string_expression ',' string_expression {create_poke('s');}\n | tPOKE string_expression ',' expression {create_poke('d');}\n | tPOKE hashed_number ',' string_expression {create_poke('S');}\n | tPOKE hashed_number ',' expression {create_poke('D');}\n | tEND {add_command(cEND);}\n | tEXIT {create_pushdbl(0);add_command(cEXIT);}\n | tEXIT expression {add_command(cEXIT);}\n | tDOCU {create_docu($1);}\n | tBIND string_expression {add_command(cBIND);}\n | tFRNBF_FREE string_expression {add_command(cFRNBF_FREE);}\n | tFRNBF_SET string_expression ',' expression ',' string_expression ',' expression {add_command(cFRNBF_SET_NUMBER);} \n | tFRNBF_SET string_expression ',' expression ',' string_expression {add_command(cFRNBF_SET_STRING);} \n | tFRNBF_SET_BUFFER string_expression ',' expression ',' string_expression {add_command(cFRNBF_SET_BUFFER);} \n ;\n\n\nclear_fill_clause: \/* empty *\/ {drawmode=0;}\n | tCLEAR {drawmode=dmCLEAR;}\n | tFILL {drawmode=dmFILL;}\n | tCLEAR tFILL {drawmode=dmFILL+dmCLEAR;}\n | tFILL tCLEAR {drawmode=dmFILL+dmCLEAR;}\n ;\n\n\nstring_assignment: tSTRSYM tEQU string_expression {add_command_with_sym_and_diag(cPOPSTRSYM,dotify($1,FALSE),NULL);}\n | tMID '(' string_scalar_or_array ',' expression ',' expression ')' tEQU string_expression {create_changestring(fMID);}\n | tMID '(' string_scalar_or_array ',' expression ')' tEQU string_expression {create_changestring(fMID2);}\n | tLEFT '(' string_scalar_or_array ',' expression ')' tEQU string_expression {create_changestring(fLEFT);}\n | tRIGHT '(' string_scalar_or_array ',' expression ')' tEQU string_expression {create_changestring(fRIGHT);}\n | stringfunction_or_array tEQU string_expression {create_doarray(dotify($1,FALSE),ASSIGNSTRINGARRAY);}\n ;\n\nto: ','\n | tTO\n ;\n\nopen_clause: tOPEN hashed_number ',' string_expression ',' string_expression {create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n | tOPEN hashed_number ',' string_expression {create_myopen(OPEN_HAS_STREAM);}\n | tOPEN hashed_number ',' tPRINTER {create_myopen(OPEN_HAS_STREAM+OPEN_PRINTER);}\n | tOPEN string_expression tFOR tREADING tAS hashed_number {add_command(cSWAP);create_pushstr(\"r\");create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n | tOPEN string_expression tFOR tWRITING tAS hashed_number {add_command(cSWAP);create_pushstr(\"w\");create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n ;\n\nseek_clause: tSEEK hashed_number ',' expression {add_command(cSEEK);}\n | tSEEK hashed_number ',' expression ',' string_expression {add_command(cSEEK2);}\n ;\n\nstring_scalar_or_array: tSTRSYM {add_command_with_sym_and_diag(cPUSHSTRPTR,dotify($1,FALSE),NULL);}\n | tSTRSYM '(' call_list ')' {create_doarray(dotify($1,FALSE),GETSTRINGPOINTER);} \n ;\n\nstring_expression: tSTRSYM {add_command_with_sym_and_diag(cPUSHSTRSYM,dotify($1,FALSE),NULL);}\n | string_function\n | stringfunction_or_array {add_command_with_sym_and_diag(cSTRINGFUNCTION_OR_ARRAY,$1,NULL);}\n | tSTRING {if ($1==NULL) {lyyerror(sERROR,\"String not terminated\");create_pushstr(\"\");} else {create_pushstr($1);}}\n | string_expression '+' string_expression {add_command(cCONCAT);}\n | '(' string_expression ')'\n ;\n\nstring_function: tLEFT '(' string_expression ',' expression ')' {create_function(fLEFT);}\n | tRIGHT '(' string_expression ',' expression ')' {create_function(fRIGHT);}\n | tMID '(' string_expression ',' expression ',' expression ')' {create_function(fMID);}\n | tMID '(' string_expression ',' expression ')' {create_function(fMID2);}\n | tSTR '(' expression ')' {create_function(fSTR);}\n | tSTR '(' expression ',' string_expression ')' {create_function(fSTR2);} \n | tSTR '(' expression ',' string_expression ',' string_expression ')' {create_function(fSTR3);} \n | tSTR '(' string_expression ')' {create_function(fSTR4);} \n | tINKEY {create_pushdbl(-1);create_function(fINKEY);}\n | tINKEY '(' ')' {create_pushdbl(-1);create_function(fINKEY);}\n | tINKEY '(' expression ')' {create_function(fINKEY);}\n | tCHR '(' expression ')' {create_function(fCHR);}\n | tUPPER '(' string_expression ')' {create_function(fUPPER);}\n | tLOWER '(' string_expression ')' {create_function(fLOWER);}\n | tLTRIM '(' string_expression ')' {create_function(fLTRIM);}\n | tRTRIM '(' string_expression ')' {create_function(fRTRIM);}\n | tTRIM '(' string_expression ')' {create_function(fTRIM);}\n | tCHOMP '(' string_expression ')' {create_function(fCHOMP);}\n | tSYSTEM2 '(' string_expression ')' {create_function(fSYSTEM2);}\n | tFRNFN_CALL2 '(' call_list ')' {create_function(fFRNFN_CALL2);}\n | tFRNBF_ALLOC '(' expression ')' {create_function(fFRNBF_ALLOC);}\n | tFRNBF_DUMP '(' string_expression ')' {create_function(fFRNBF_DUMP);}\n | tFRNBF_DUMP '(' string_expression ',' expression ')' {create_function(fFRNBF_DUMP2);}\n | tDATE {create_function(fDATE);}\n | tDATE '(' ')' {create_function(fDATE);}\n | tTIME {create_function(fTIME);}\n | tTIME '(' ')' {create_function(fTIME);}\n | tPEEK2 '(' string_expression ')' {create_function(fPEEK2);}\n | tPEEK2 '(' string_expression ',' string_expression ')' {create_function(fPEEK3);}\n | tTOKENALT '(' string_scalar_or_array ',' string_expression ')' {add_command(cTOKENALT2);}\n | tTOKENALT '(' string_scalar_or_array ')' {add_command(cTOKENALT);}\n | tSPLITALT '(' string_scalar_or_array ',' string_expression ')' {add_command(cSPLITALT2);}\n | tSPLITALT '(' string_scalar_or_array ')' {add_command(cSPLITALT);}\n | tGETBIT '(' coordinates to coordinates ')' {create_function(fGETBIT);}\n | tGETCHAR '(' expression ',' expression to expression ',' expression ')' {create_function(fGETCHAR);}\n | tHEX '(' expression ')' {create_function(fHEX);}\n | tBIN '(' expression ')' {create_function(fBIN);}\n | tEXECUTE2 '(' call_list ')' {create_execute(1);add_command(cSWAP);add_command(cPOP);}\n | tFRNBF_GET2 '(' string_expression ',' expression ',' expression ')' {create_function(fFRNBF_GET_STRING);} \n | tFRNBF_GET_BUFFER '(' string_expression ',' expression ')' {create_function(fFRNBF_GET_BUFFER);} \n | tEVAL2 '(' string_expression ')' {create_eval(evSTRING);}\n ;\n\nnumber_assignment: tSYMBOL tEQU expression {add_command_with_sym_and_diag(cPOPDBLSYM,dotify($1,FALSE),NULL);} \n | function_or_array tEQU expression {create_doarray($1,ASSIGNARRAY);}\n ;\n\nexpression: expression tOR {add_command(cORSHORT);pushlabel();} expression {poplabel();create_boole('|');}\n | expression tAND {add_command(cANDSHORT);pushlabel();} expression {poplabel();create_boole('&');}\n | tNOT expression {create_boole('!');}\n | expression tEQU expression {create_dblrelop('=');}\n | expression tEQU2 expression {create_dblrelop('=');}\n | expression tNEQ expression {create_dblrelop('!');}\n | expression tLTN expression {create_dblrelop('<');}\n | expression tLEQ expression {create_dblrelop('{');}\n | expression tGTN expression {create_dblrelop('>');}\n | expression tGEQ expression {create_dblrelop('}');}\n | tMYEOF '(' hashed_number ')' {add_command(cTESTEOF);}\n | tGLOB '(' string_expression ',' string_expression ')' {add_command(cGLOB);}\n | number {create_pushdbl($1);}\n | tARDIM '(' arrayref ')' {add_command_with_sym_and_diag(cARDIM,\"\",NULL);}\n | tARDIM '(' string_arrayref ')' {add_command_with_sym_and_diag(cARDIM,\"\",NULL);}\n | tARSIZE '(' arrayref ',' expression ')' {add_command_with_sym_and_diag(cARSIZE,\"\",NULL);}\n | tARSIZE '(' string_arrayref ',' expression ')' {add_command_with_sym_and_diag(cARSIZE,\"\",NULL);}\n | function_or_array {add_command_with_sym_and_diag(cFUNCTION_OR_ARRAY,$1,NULL);}\n | tSYMBOL {add_command_with_sym_and_diag(cPUSHDBLSYM,dotify($1,FALSE),NULL);}\n | expression '+' expression {create_dblbin('+');}\n | expression '-' expression {create_dblbin('-');}\n | expression '*' expression {create_dblbin('*');}\n | expression '\/' expression {create_dblbin('\/');}\n | expression tPOW expression {create_dblbin('^');}\n | '-' expression %prec UMINUS {add_command(cNEGATE);}\n | string_expression tEQU string_expression {create_strrelop('=');}\n | string_expression tEQU2 string_expression {create_strrelop('=');}\n | string_expression tNEQ string_expression {create_strrelop('!');}\n | string_expression tLTN string_expression {create_strrelop('<');}\n | string_expression tLEQ string_expression {create_strrelop('{');}\n | string_expression tGTN string_expression {create_strrelop('>');}\n | string_expression tGEQ string_expression {create_strrelop('}');}\n | function\n | '(' expression ')'\n ;\n\narrayref: tSYMBOL '(' ')' {create_pusharrayref(dotify($1,FALSE),stNUMBERARRAYREF);}\n ;\n\nstring_arrayref: tSTRSYM '(' ')' {create_pusharrayref(dotify($1,FALSE),stSTRINGARRAYREF);}\n ;\n\ncoordinates: expression ',' expression\n ;\n\nfunction: tSIN '(' expression ')' {create_function(fSIN);}\n | tASIN '(' expression ')' {create_function(fASIN);}\n | tCOS '(' expression ')' {create_function(fCOS);}\n | tACOS '(' expression ')' {create_function(fACOS);}\n | tTAN '(' expression ')' {create_function(fTAN);}\n | tATAN '(' expression ')' {create_function(fATAN);}\n | tATAN '(' expression ',' expression ')' {create_function(fATAN2);}\n | tEXP '(' expression ')' {create_function(fEXP);}\n | tLOG '(' expression ')' {create_function(fLOG);}\n | tLOG '(' expression ',' expression ')' {create_function(fLOG2);}\n | tSQRT '(' expression ')' {create_function(fSQRT);}\n | tSQR '(' expression ')' {create_function(fSQR);}\n | tINT '(' expression ')' {create_function(fINT);}\n | tROUND '(' expression ')' {create_function(fROUND);}\n | tCEIL '(' expression ')' {create_function(fCEIL);}\n | tFLOOR '(' expression ')' {create_function(fFLOOR);}\n | tFRAC '(' expression ')' {create_function(fFRAC);}\n | tABS '(' expression ')' {create_function(fABS);}\n | tSIG '(' expression ')' {create_function(fSIG);}\n | tMOD '(' expression ',' expression ')' {create_function(fMOD);}\n | tRAN '(' expression ')' {create_function(fRAN);}\n | tRAN '(' ')' {create_function(fRAN2);}\n | tMIN '(' expression ',' expression ')' {create_function(fMIN);}\n | tMAX '(' expression ',' expression ')' {create_function(fMAX);}\n | tLEN '(' string_expression ')' {create_function(fLEN);}\n | tVAL '(' string_expression ')' {create_function(fVAL);}\n | tASC '(' string_expression ')' {create_function(fASC);}\n | tDEC '(' string_expression ')' {create_function(fDEC);}\n | tDEC '(' string_expression ',' expression ')' {create_function(fDEC2);}\n | tINSTR '(' string_expression ',' string_expression ')' {if (check_compat) lyyerror(sWARNING,\"instr() has changed in version 2.712\"); create_function(fINSTR);}\n | tINSTR '(' string_expression ',' string_expression ',' expression ')' {create_function(fINSTR2);}\n | tRINSTR '(' string_expression ',' string_expression ')' {create_function(fRINSTR);}\n | tRINSTR '(' string_expression ',' string_expression ',' expression ')' {create_function(fRINSTR2);}\n | tSYSTEM '(' string_expression ')' {create_function(fSYSTEM);}\n | tFRNFN_CALL '(' call_list ')' {create_function(fFRNFN_CALL);}\n | tFRNFN_SIZE '(' string_expression ')' {create_function(fFRNFN_SIZE);}\n | tFRNBF_GET '(' string_expression ',' expression ',' string_expression ')' {create_function(fFRNBF_GET_NUMBER);} \n | tFRNBF_SIZE '(' string_expression ')' {create_function(fFRNBF_SIZE);} \n | tPEEK '(' hashed_number ')' {create_function(fPEEK4);}\n | tPEEK '(' string_expression ')' {create_function(fPEEK);}\n | tMOUSEX '(' string_expression ')' {create_function(fMOUSEX);}\n | tMOUSEX {create_pushstr(\"\");create_function(fMOUSEX);}\n | tMOUSEX '(' ')' {create_pushstr(\"\");create_function(fMOUSEX);}\n | tMOUSEY '(' string_expression ')' {create_function(fMOUSEY);}\n | tMOUSEY {create_pushstr(\"\");create_function(fMOUSEY);}\n | tMOUSEY '(' ')' {create_pushstr(\"\");create_function(fMOUSEY);}\n | tMOUSEB '(' string_expression ')' {create_function(fMOUSEB);}\n | tMOUSEB {create_pushstr(\"\");create_function(fMOUSEB);}\n | tMOUSEB '(' ')' {create_pushstr(\"\");create_function(fMOUSEB);}\n | tMOUSEMOD '(' string_expression ')' {create_function(fMOUSEMOD);}\n | tMOUSEMOD {create_pushstr(\"\");create_function(fMOUSEMOD);}\n | tMOUSEMOD '(' ')' {create_pushstr(\"\");create_function(fMOUSEMOD);}\n | tAND '(' expression ',' expression ')' {create_function(fAND);}\n | tOR '(' expression ',' expression ')' {create_function(fOR);}\n | tBITNOT '(' expression ')' {create_function(fBITNOT);}\n | tEOR '(' expression ',' expression ')' {create_function(fEOR);}\n | tSHL '(' expression ',' expression ')' {create_function(fSHL);}\n | tSHR '(' expression ',' expression ')' {create_function(fSHR);}\n | tTELL '(' hashed_number ')' {create_function(fTELL);}\n | tTOKEN '(' string_expression ',' string_arrayref ',' string_expression ')' {add_command(cTOKEN2);}\n | tTOKEN '(' string_expression ',' string_arrayref ')' {add_command(cTOKEN);}\n | tSPLIT '(' string_expression ',' string_arrayref ',' string_expression ')' {add_command(cSPLIT2);}\n | tSPLIT '(' string_expression ',' string_arrayref ')' {add_command(cSPLIT);}\n | tEXECUTE '(' call_list ')' {create_execute(0);add_command(cSWAP);add_command(cPOP);}\n | tOPEN '(' tPRINTER ')' {create_myopen(OPEN_PRINTER);}\n | tOPEN '(' string_expression ')' {create_myopen(0);}\n | tOPEN '(' string_expression ',' string_expression ')' {create_myopen(OPEN_HAS_MODE);}\n | tOPEN '(' hashed_number ',' tPRINTER ')' {create_myopen(OPEN_PRINTER+OPEN_HAS_STREAM);}\n | tOPEN '(' hashed_number ',' string_expression ')' {create_myopen(OPEN_HAS_STREAM);}\n | tOPEN '(' hashed_number ',' string_expression ',' string_expression ')' {create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n | tEVAL '(' string_expression ')' {create_eval(evNUMBER);}\n ;\n\nconst: number {$$=$1;}\n | '+' number {$$=$2;}\n | '-' number {$$=-$2;}\n ;\n\nnumber: tFNUM {$$=$1;}\n | tDIGITS {$$=strtod($1,NULL);}\n | tHEXDIGITS {$$=(double)strtoul($1,NULL,16);}\n | tBINDIGITS {$$=(double)strtoul($1,NULL,2);}\n ;\n\nsymbol_or_lineno: tDIGITS {$$=my_strdup(dotify($1,FALSE));}\n | tSYMBOL {$$=my_strdup(dotify($1,FALSE));}\n ;\n\ndimlist: tSYMBOL '(' call_list ')' {create_dim(dotify($1,FALSE),'D');}\n | dimlist ',' tSYMBOL '(' call_list ')' {create_dim(dotify($3,FALSE),'D');}\n | tSTRSYM '(' call_list ')' {create_dim(dotify($1,FALSE),'S');}\n | dimlist ',' tSTRSYM '(' call_list ')' {create_dim(dotify($3,FALSE),'S');}\n ;\n\nfunction_or_array: tSYMBOL '(' call_list ')' {$$=my_strdup(dotify($1,FALSE));}\n ;\n\nstringfunction_or_array: tSTRSYM '(' call_list ')' {$$=my_strdup(dotify($1,FALSE));}\n ;\n\ncall_list: {add_command(cPUSHFREE);} calls\n ;\n\ncalls: \/* empty *\/\n | call_item\n | calls ',' call_item\n ;\n\ncall_item: string_expression\n | expression\n ;\n \nfunction_definition: export tSUB {missing_endsub++;missing_endsub_line=yylineno;pushlabel();report_if_missing(\"can not define a function in a loop or an if-statement\",FALSE);if (function_type!=ftNONE) {lyyerror(sERROR,\"nested functions not allowed\");YYABORT;}}\n\tfunction_name {if (exported) create_subr_link($4); create_label($4,cUSER_FUNCTION);\n\t add_command(cPUSHSYMLIST);add_command(cCLEARSYMREFS);start_symref_chain();\n\t\t create_count_params();}\n\t'(' paramlist ')' {create_require(stFREE);add_command(cPOP);}\n\tstatement_list\n\tendsub {add_command(cCLEARSYMREFS);end_symref_chain();add_command(cPOPSYMLIST);create_check_return_value(ftNONE,function_type);function_type=ftNONE;add_command(cRETURN_FROM_CALL);create_endfunction();poplabel();}\n ;\n\nendsub: tEOPROG {if (missing_endsub) {sprintf(string,\"subroutine starting at line %d has seen no 'end sub' at end of program\",missing_endsub_line);error_without_position(sERROR,string);} YYABORT;}\n | tENDSUB {missing_endsub--;}\n ;\n\nfunction_name: tSYMBOL {function_type=ftNUMBER;current_function=my_strdup(dotify($1,FALSE));$$=my_strdup(dotify($1,FALSE));}\n | tSTRSYM {function_type=ftSTRING;current_function=my_strdup(dotify($1,FALSE));$$=my_strdup(dotify($1,FALSE));}\n ;\n\nexport: \/* empty *\/ {exported=FALSE;}\n | tEXPORT {exported=TRUE;}\n | tRUNTIME_CREATED_SUB {exported=FALSE;}\n | tRUNTIME_CREATED_SUB tEXPORT {exported=TRUE;}\n ;\n\nlocal_list: local_item\n | local_list ',' local_item\n ;\n\nlocal_item: tSYMBOL {create_makelocal(dotify($1,FALSE),syNUMBER);}\n | tSTRSYM {create_makelocal(dotify($1,FALSE),sySTRING);}\n | tSYMBOL '(' call_list ')' {create_makelocal(dotify($1,FALSE),syARRAY);create_dim(dotify($1,FALSE),'d');}\n | tSTRSYM '(' call_list ')' {create_makelocal(dotify($1,FALSE),syARRAY);create_dim(dotify($1,FALSE),'s');}\n ;\n \nstatic_list: static_item\n | static_list ',' static_item\n ;\n\nstatic_item: tSYMBOL {create_makestatic(dotify($1,TRUE),syNUMBER);}\n | tSTRSYM {create_makestatic(dotify($1,TRUE),sySTRING);}\n | tSYMBOL '(' call_list ')' {create_makestatic(dotify($1,TRUE),syARRAY);create_dim(dotify($1,TRUE),'D');}\n | tSTRSYM '(' call_list ')' {create_makestatic(dotify($1,TRUE),syARRAY);create_dim(dotify($1,TRUE),'S');}\n ;\n \nparamlist: \/* empty *\/\n | paramitem\n | paramlist ',' paramitem\n ;\n \nparamitem: tSYMBOL {create_require(stNUMBER);create_makelocal(dotify($1,FALSE),syNUMBER);add_command_with_sym_and_diag(cPOPDBLSYM,dotify($1,FALSE),NULL);}\n | tSTRSYM {create_require(stSTRING);create_makelocal(dotify($1,FALSE),sySTRING);add_command_with_sym_and_diag(cPOPSTRSYM,dotify($1,FALSE),NULL);}\n | tSYMBOL '(' ')' {create_require(stNUMBERARRAYREF);create_arraylink(dotify($1,FALSE),stNUMBERARRAYREF);}\n | tSTRSYM '(' ')' {create_require(stSTRINGARRAYREF);create_arraylink(dotify($1,FALSE),stSTRINGARRAYREF);}\n ;\n\nfor_loop: tFOR {loop_nesting++;add_command(cBEGIN_LOOP_MARK);missing_next++;missing_next_line=yylineno;} tSYMBOL tEQU \n {pushname(dotify($3,FALSE)); \/* will be used by next_symbol to check equality,NULL *\/\n\t add_command(cRESETSKIPONCE);\n\t add_command(cRESETSKIPONCE2);\n\t pushgoto();add_command_with_switch_state(cCONTINUE_HERE);}\n\t expression tTO expression \n\t step_part { \/* pushes another expression *\/\n\t add_command(cSKIPONCE);\n\t pushlabel();\n\t add_command(cSTARTFOR);\n\t add_command_with_sym_and_diag(cPOPDBLSYM,dotify($3,FALSE),NULL);\n\t poplabel();\n\n\t add_command_with_sym_and_diag(cPUSHDBLSYM,dotify($3,FALSE),NULL);\n\t add_command(cSKIPONCE);\n\t add_command(cFORINCREMENT);\n\t add_command_with_sym_and_diag(cPOPDBLSYM,dotify($3,FALSE),NULL);\n\t add_command_with_sym_and_diag(cPUSHDBLSYM,dotify($3,FALSE),NULL);\n\t add_command(cFORCHECK);\n\t add_command(cDECIDE);\n pushlabel();}\n statement_list {\n swap();popgoto();poplabel();}\n next next_symbol {add_command(cBREAK_HERE);add_command(cEND_LOOP_MARK);loop_nesting--;}\n ;\n\nnext: tEOPROG {if (missing_next) {sprintf(string,\"for-loop starting at line %d has seen no 'next' at end of program\",missing_next_line);error_without_position(sERROR,string);} YYABORT;}\n | tNEXT {missing_next--;}\n | tENDIF {report_conflicting_close(\"a closing next is expected before endif\",'e');}\n | tWEND {report_conflicting_close(\"a closing next is expected before wend\",'w');}\n | tUNTIL {report_conflicting_close(\"a closing next is expected before until\",'l');}\n | tLOOP {report_conflicting_close(\"a closing next is expected before loop\",'l');}\n ;\n\nstep_part: {create_pushdbl(1);} \/* can be omitted *\/\n | tSTEP expression\n ;\n\nnext_symbol: {pop(stSTRING);}\/* can be omitted *\/\n | tSYMBOL {if (strcmp(pop(stSTRING)->pointer,dotify($1,FALSE))) \n {lyyerror(sERROR,\"'for' and 'next' do not match\"); YYABORT;}\n }\n ;\n\nswitch_number_or_string: tSWITCH {push_switch_id();add_command(cBEGIN_SWITCH_MARK);} \n number_or_string sep_list case_list default tSEND {add_command(cBREAK_HERE);add_command(cPOP);add_command(cEND_SWITCH_MARK);pop_switch_id();}\n ;\n\nsep_list: tSEP \n | sep_list tSEP \n ;\n\nnumber_or_string: expression\n | string_expression\n ;\n\n\ncase_list: \/* empty *\/\n | case_list tCASE number_or_string\n {add_command(cSWITCH_COMPARE);add_command(cDECIDE);add_command(cNEXT_CASE);} statement_list {add_command(cNEXT_CASE_HERE);}\n ;\n\n\ndefault: \/* empty *\/\n | tDEFAULT tSEP {add_command(cNEXT_CASE_HERE);} statement_list\n ;\n\n\ndo_loop: tDO {loop_nesting++;add_command(cBEGIN_LOOP_MARK);add_command_with_switch_state(cCONTINUE_HERE);missing_loop++;missing_loop_line=yylineno;pushgoto();}\n\t statement_list\n loop\n ;\n\n\nloop: tEOPROG {if (missing_loop) {sprintf(string,\"do-loop starting at at line %d has seen no 'loop' at end of program\",missing_loop_line);error_without_position(sERROR,string);} YYABORT;}\n | tLOOP {missing_loop--;popgoto();add_command(cBREAK_HERE);add_command(cEND_LOOP_MARK);loop_nesting--;}\n | tENDIF {report_conflicting_close(\"a closing loop is expected before endif\",'e');}\n | tWEND {report_conflicting_close(\"a closing loop is expected before wend\",'w');}\n | tUNTIL {report_conflicting_close(\"a closing loop is expected before until\",'l');}\n | tNEXT {report_conflicting_close(\"a closing loop is expected before next\",'n');}\n ;\n\n\nwhile_loop: tWHILE {loop_nesting++;add_command(cBEGIN_LOOP_MARK);add_command_with_switch_state(cCONTINUE_HERE);missing_wend++;missing_wend_line=yylineno;pushgoto();} expression\n\t {add_command(cDECIDE);\n\t pushlabel();}\n\t statement_list\n wend\n ;\t \n\nwend: tEOPROG {if (missing_wend) {sprintf(string,\"while-loop starting at line %d has seen no 'wend' at end of program\",missing_wend_line);error_without_position(sERROR,string);} YYABORT;}\n | tWEND {missing_wend--;swap();popgoto();poplabel();add_command(cBREAK_HERE);add_command(cEND_LOOP_MARK);loop_nesting--;}\n ;\n\n\nrepeat_loop: tREPEAT {loop_nesting++;add_command(cBEGIN_LOOP_MARK);add_command_with_switch_state(cCONTINUE_HERE);missing_until++;missing_until_line=yylineno;pushgoto();} \n\t statement_list\n\t until\n ;\n\nuntil: tEOPROG {if (missing_until) {sprintf(string,\"repeat-loop starting at line %d has seen no 'until' at end of program\",missing_until_line);error_without_position(sERROR,string);} YYABORT;}\n | tUNTIL expression {missing_until--;add_command(cDECIDE);popgoto();add_command(cBREAK_HERE);add_command(cEND_LOOP_MARK);loop_nesting--;}\n | tENDIF {report_conflicting_close(\"a closing until is expected before endif\",'e');}\n | tWEND {report_conflicting_close(\"a closing until is expected before wend\",'w');}\n | tLOOP {report_conflicting_close(\"a closing until is expected before loop\",'l');}\n | tNEXT {report_conflicting_close(\"a closing until is expected before next\",'n');}\n ;\n\nif_clause: tIF expression {add_command(cDECIDE);storelabel();pushlabel();}\n tTHEN {missing_endif++;missing_endif_line=yylineno;} statement_list {swap();matchgoto();swap();poplabel();}\n\t elsif_part\n else_part {poplabel();}\n endif\n ;\n\nendif: tEOPROG {if (missing_endif) {sprintf(string,\"if-clause starting at line %d has seen no 'fi' at end of program\",missing_endif_line);error_without_position(sERROR,string);} YYABORT;}\n | tENDIF {missing_endif--;}\n | tWEND {report_conflicting_close(\"a closing endif is expected before wend\",'w');}\n | tUNTIL {report_conflicting_close(\"a closing endif is expected before until\",'l');}\n | tLOOP {report_conflicting_close(\"a closing endif is expected before loop\",'l');}\n | tNEXT {report_conflicting_close(\"a closing endif is expected before next\",'n');}\n ;\n\nshort_if: tIF expression {in_short_if++;add_command(cDECIDE);pushlabel();}\n statement_list\n\t end_of_if\n ;\n\nend_of_if: tENDIF {error(sERROR,\"short if-statement (i.e. without 'then') does not allow 'endif'\");}\n | tIMPLICITENDIF {poplabel();}\n ;\n\nelse_part: \/* can be omitted *\/\n | tELSE statement_list\n ;\n\nelsif_part: \/* can be omitted *\/\n | tELSIF expression maybe_then\n \t{add_command(cDECIDE);pushlabel();} \n statement_list \n\t{swap();matchgoto();swap();poplabel();} \n elsif_part\n ;\n\nmaybe_then: \/* can be omitted *\/\n | tTHEN\n ;\n\ninputlist: input\n | input ',' {add_command(cCHKPROMPT);} inputlist\n ;\n\ninput: tSYMBOL {create_myread('d',tileol);add_command_with_sym_and_diag(cPOPDBLSYM,dotify($1,FALSE),NULL);}\n | tSYMBOL '(' call_list ')' \n \t{create_myread('d',tileol);create_doarray(dotify($1,FALSE),ASSIGNARRAY);}\n | tSTRSYM {create_myread('s',tileol);add_command_with_sym_and_diag(cPOPSTRSYM,dotify($1,FALSE),NULL);}\n | tSTRSYM '(' call_list ')' \n \t{create_myread('s',tileol);create_doarray(dotify($1,FALSE),ASSIGNSTRINGARRAY);}\n ;\n\nreadlist: readitem\n | readlist ',' readitem\n ;\n\nreaditem: tSYMBOL {create_readdata('d');add_command_with_sym_and_diag(cPOPDBLSYM,dotify($1,FALSE),NULL);}\n | tSYMBOL '(' call_list ')' \n {create_readdata('d');create_doarray(dotify($1,FALSE),ASSIGNARRAY);}\n | tSTRSYM {create_readdata('s');add_command_with_sym_and_diag(cPOPSTRSYM,dotify($1,FALSE),NULL);}\n | tSTRSYM '(' call_list ')' \n {create_readdata('s');create_doarray(dotify($1,FALSE),ASSIGNSTRINGARRAY);}\n ;\n\ndatalist: tSTRING {create_strdata($1);}\n | const {create_dbldata($1);}\n | datalist ',' tSTRING {create_strdata($3);}\n | datalist ',' const {create_dbldata($3);}\n ;\n\nprintlist: \/* possible empty *\/\n | expression using\n | printlist ',' expression using\n | string_expression {create_print('s');} \n | printlist ',' string_expression {create_print('s');}\n ;\n\nusing: {create_print('d');} \/* possible empty *\/\n | tUSING string_expression {create_print('u');}\n | tUSING '(' string_expression ',' string_expression ')' {create_print('U');}\n ;\n\ninputbody: '#' tSYMBOL {add_command_with_sym_and_diag(cPUSHDBLSYM,dotify($2,FALSE),NULL);create_pps(cPUSHSTREAM,1);} inputlist {create_pps(cPOPSTREAM,0);}\n | '#' tDIGITS {create_pushdbl(atoi($2));create_pps(cPUSHSTREAM,1);} inputlist {create_pps(cPOPSTREAM,0);}\n | '#' '(' expression ')' {create_pps(cPUSHSTREAM,1);} inputlist {create_pps(cPOPSTREAM,0);}\n | tAT '(' expression ',' expression ')' {add_command(cMOVE);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,1);} prompt inputlist {create_pps(cPOPSTREAM,0);}\n | {create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,1);} prompt inputlist {create_pps(cPOPSTREAM,0);}\n ;\n\nprompt: \/* empty *\/ {create_pushstr(\"?\");create_print('s');} \n | tSTRING {create_pushstr($1);create_print('s');}\n ;\n\nprintintro: \/* may be empty *\/ {create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | '#' tSYMBOL {add_command_with_sym_and_diag(cPUSHDBLSYM,dotify($2,FALSE),NULL);create_pps(cPUSHSTREAM,0);}\n | '#' tDIGITS {create_pushdbl(atoi($2));create_pps(cPUSHSTREAM,0);}\n | '#' '(' expression ')' {create_pps(cPUSHSTREAM,0);}\n | tREVERSE {create_colour(1);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ')' {create_colour(2);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ',' string_expression ')' {create_colour(3);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tAT '(' expression ',' expression ')' {add_command(cMOVE);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tREVERSE tAT '(' expression ',' expression ')' {add_command(cMOVE);create_colour(1);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ')' tAT '(' expression ',' expression ')' {add_command(cMOVE);create_colour(2);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ',' string_expression ')' tAT '(' expression ',' expression ')' {add_command(cMOVE);create_colour(3);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tAT '(' expression ',' expression ')' tREVERSE {create_colour(1);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);add_command(cMOVE);}\n | tAT '(' expression ',' expression ')' tCOLOUR '(' string_expression ')' {create_colour(2);add_command(cMOVE);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tAT '(' expression ',' expression ')' tCOLOUR '(' string_expression ',' string_expression ')' {create_colour(3);add_command(cMOVE);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n ; \n\nhashed_number: '#' expression\n | expression;\n\ngoto_list: symbol_or_lineno {create_goto((function_type!=ftNONE)?dotify($1,TRUE):$1);add_command(cFINDNOP);}\n | goto_list ',' symbol_or_lineno {create_goto((function_type!=ftNONE)?dotify($3,TRUE):$3);add_command(cFINDNOP);}\n ;\n\ngosub_list: symbol_or_lineno {create_gosub((function_type!=ftNONE)?dotify($1,TRUE):$1);add_command(cFINDNOP);}\n | gosub_list ',' symbol_or_lineno {create_gosub((function_type!=ftNONE)?dotify($3,TRUE):$3);add_command(cFINDNOP);}\n ;\n\n%code {\nvoid\nyyerror(char *message) {\n error(sERROR,message);\n}\n\nvoid\nlyyerror(int severity, char *message) {\n error(severity,message);\n}\n};\n","avg_line_length":47.2241579559,"max_line_length":282,"alphanum_fraction":0.7192080669} -{"size":312,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"string-003.hac\":6:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(array-concatenation) [4:53]\n#STATE#\t$end\nin state #STATE#, possible rules are:\n\tnonempty_alias_list: complex_aggregate_reference . '=' complex_aggregate_reference (#RULE#)\nacceptable tokens are: \n\t'=' (shift)\n","avg_line_length":26.0,"max_line_length":93,"alphanum_fraction":0.7371794872} -{"size":896,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"028.hac\":6:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (instance-decl) ... [5:1..6]\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t] [6:1]\nin state #STATE#, possible rules are:\n\ttype_alias: optional_export optional_template_specification . TYPEDEF physical_type_ref ID ';' (#RULE#)\n\tdeclare_proc_proto: optional_export optional_template_specification . def_or_proc ID optional_port_formal_decl_list_in_parens (#RULE#)\n\tdeclare_datatype_proto: optional_export optional_template_specification . DEFTYPE ID DEFINEOP data_type_ref optional_port_formal_decl_list_in_parens (#RULE#)\n\tdeclare_chan_proto: optional_export optional_template_specification . DEFCHAN ID DEFINEOP base_chan_type optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\tDEFINE (shift)\n\tDEFPROC (shift)\n\tDEFCHAN (shift)\n\tDEFTYPE (shift)\n\tTYPEDEF (shift)\n","avg_line_length":42.6666666667,"max_line_length":159,"alphanum_fraction":0.7957589286} -{"size":418,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"008.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [3:1..7]\n#STATE#\tidentifier: barbar [3:9..14]\n#STATE#\t< [3:15]\nin state #STATE#, possible rules are:\n\tdeclare_proc_proto: optional_export optional_template_specification def_or_proc ID . optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":27.8666666667,"max_line_length":136,"alphanum_fraction":0.7344497608} -{"size":449,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"size-02.hac\":6:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(process-prototype) [4:1..29]\n#STATE#\t{ [4:31]\n#STATE#\tkeyword: prs [5:1..3]\n#STATE#\t(null) \n#STATE#\t{ [5:5]\n#STATE#\t(prs-literal) [6:2]\n#STATE#\t=> [6:4]\n#STATE#\t(prs-literal) [6:7]\n#STATE#\t< [6:8]\nin state #STATE#, possible rules are:\n\tsingle_prs: prs_expr prs_arrow prs_literal_base . dir (#RULE#)\nacceptable tokens are: \n\t'+' (shift)\n\t'-' (shift)\n","avg_line_length":22.45,"max_line_length":64,"alphanum_fraction":0.6369710468} -{"size":676,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"062.hac\":8:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(process-prototype) [3:1..47]\n#STATE#\t{ [3:49]\n#STATE#\tlist<(def-body-item)>: (instance-decl) ... [4:1..12]\n#STATE#\tkeyword: chp [5:1..3]\n#STATE#\t{ [5:5]\n#STATE#\t*[ [6:2]\n#STATE#\t(chp-det-sel) [6:5--7:19]\n#STATE#\t[] [8:2]\n#STATE#\tkeyword: else [8:5..8]\nin state #STATE#, possible rules are:\n\tchp_unmatched_det_guarded_command_list: chp_unmatched_det_guarded_command_list THICKBAR . chp_guarded_command (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n\t'#' (shift)\n\t'-' (shift)\n\t'~' (shift)\n\tID (shift)\n\tFLOAT (shift)\n\tINT (shift)\n\tSCOPE (shift)\n\tBOOL_TRUE (shift)\n\tBOOL_FALSE (shift)\n","avg_line_length":24.1428571429,"max_line_length":120,"alphanum_fraction":0.6582840237} -{"size":1947,"ext":"bison","lang":"Bison","max_stars_count":8.0,"content":"%lex\n\n%%\n\\s+ \/* skip *\/\n^[^\\d\\W]\\w* return 'IDENTIFIER';\n[0-9]+(\".\"[0-9]+)?\\b return 'NUMBER';\n\"-\" return \"-\";\n\"+\" return \"+\";\n\"\/\" return \"\/\";\n\"*\" return \"*\";\n\"(\" return \"(\";\n\")\" return \")\";\n\"=\" return \"=\";\n\"TOKEN_INDENT\" return \"INDENT\";\n\"TOKEN_DEDENT\" return \"DEDENT\";\n<> return \"EOF\";\n\n\/lex\n\n\/* Operator Precedence *\/\n\n%left '='\n%left '+' '-'\n%left '\/' '*'\n%left '^'\n\n%start expressions\n\n%%\n\nexpressions \n : e EOF { return $1; };\n\ne : e[l] \"+\" e[r]\n { $$ = { ast: { kind: '+', l: $l, r: $r }, range: { start: {row: @l.first_line, column: @l.first_column}, end: {row: @r.last_line, column: @r.last_column} } } }\n | e[l] \"-\" e[r] \n { $$ = { ast: { kind: '-', l: $l, r: $r }, range: { start: {row: @l.first_line, column: @l.first_column}, end: {row: @r.last_line, column: @r.last_column} } } }\n | e[l] \"*\" e[r]\n { $$ = { ast: { kind: '*', l: $l, r: $r }, range: { start: {row: @l.first_line, column: @l.first_column}, end: {row: @r.last_line, column: @r.last_column} } } }\n | e[l] \"\/\" e[r] \n { $$ = { ast: { kind: '\/', l: $l, r: $r }, range: { start: {row: @l.first_line, column: @l.first_column}, end: {row: @r.last_line, column: @r.last_column} } } }\n | e[l] \"=\" e[r]\n { $$ = { ast: { kind: '=', l: $l, r: $r }, range: { start: {row: @l.first_line, column: @l.first_column}, end: {row: @r.last_line, column: @r.last_column} } } }\n | '(' e[exp] ')'\n { $$ = $exp; }\n | IDENTIFIER\n { $$ = {ast: { kind: 'id', value: yytext }, range: { start: {row: @0.first_line, column: @0.first_column}, end: {row: @0.last_line, column: @0.last_column} } } }\n | NUMBER\n { $$ = {ast: { kind: 'float', value: Number(yytext) }, range: { start: {row: @0.first_line, column: @0.first_column}, end: {row: @0.last_line, column: @0.last_column} } } };","avg_line_length":39.7346938776,"max_line_length":177,"alphanum_fraction":0.4663585003} -{"size":418,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"006.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [3:1..7]\n#STATE#\tidentifier: barbar [3:9..14]\n#STATE#\t< [3:15]\nin state #STATE#, possible rules are:\n\tdeclare_proc_proto: optional_export optional_template_specification def_or_proc ID . optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":27.8666666667,"max_line_length":136,"alphanum_fraction":0.7344497608} -{"size":454,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"top-level-03.hac\":12:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (namespace-body: foo) ... [7:1--9:1]\n#STATE#\tkeyword: prs [11:1..3]\n#STATE#\t(null) \n#STATE#\t{ [11:5]\n#STATE#\t(prs-literal) [12:2..4]\n#STATE#\t:: [12:5]\nin state #STATE#, possible rules are:\n\tsingle_prs: prs_expr . prs_arrow prs_literal_base dir (#RULE#)\nacceptable tokens are: \n\tIMPLIES (shift)\n\tRARROW (shift)\n\tHASH_ARROW (shift)\n","avg_line_length":25.2222222222,"max_line_length":64,"alphanum_fraction":0.6718061674} -{"size":297,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"018.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tkeyword: enum [3:1..4]\n#STATE#\t; [3:5]\nin state #STATE#, possible rules are:\n\tdeclare_enum: ENUM . ID (#RULE#)\n\tdefenum: ENUM . ID '{' enum_member_list '}' (#RULE#)\nacceptable tokens are: \n\tID (shift)\n","avg_line_length":22.8461538462,"max_line_length":54,"alphanum_fraction":0.6599326599} -{"size":312,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"string-002.hac\":7:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(array-concatenation) [5:63]\n#STATE#\t$end\nin state #STATE#, possible rules are:\n\tnonempty_alias_list: complex_aggregate_reference . '=' complex_aggregate_reference (#RULE#)\nacceptable tokens are: \n\t'=' (shift)\n","avg_line_length":26.0,"max_line_length":93,"alphanum_fraction":0.7371794872} -{"size":521,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"057.hac\":9:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (instance-decl) ... [6:1--7:6]\n#STATE#\t(type-ref) [9:1..4]\n#STATE#\tlist<(declaration-id)>: (declaration-array): identifier: zlist<(range)>: (range) ... ... [9:6..8]\n#STATE#\t= [9:11]\nin state #STATE#, possible rules are:\n\ttype_instance_declaration: type_id instance_id_list . ';' (#RULE#)\n\tinstance_id_list: instance_id_list . ',' instance_id_item (#RULE#)\nacceptable tokens are: \n\t',' (shift)\n\t';' (shift)\n","avg_line_length":32.5625,"max_line_length":105,"alphanum_fraction":0.6621880998} -{"size":1163,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: rhyme $end\n\n 1 rhyme: sound place\n\n 2 sound: DING DONG\n\n 3 place: DELL\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\nerror (256)\nDING (258) 2\nDONG (259) 2\nDELL (260) 3\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (6)\n vlevo: 0\nrhyme (7)\n vlevo: 1, vpravo: 0\nsound (8)\n vlevo: 2, vpravo: 1\nplace (9)\n vlevo: 3, vpravo: 1\n\n\nState 0\n\n 0 $accept: . rhyme $end\n 1 rhyme: . sound place\n 2 sound: . DING DONG\n\n DING posunout a p\u0159ej\u00edt do stavu 1\n\n rhyme p\u0159ej\u00edt do stavu 2\n sound p\u0159ej\u00edt do stavu 3\n\n\nState 1\n\n 2 sound: DING . DONG\n\n DONG posunout a p\u0159ej\u00edt do stavu 4\n\n\nState 2\n\n 0 $accept: rhyme . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 5\n\n\nState 3\n\n 1 rhyme: sound . place\n 3 place: . DELL\n\n DELL posunout a p\u0159ej\u00edt do stavu 6\n\n place p\u0159ej\u00edt do stavu 7\n\n\nState 4\n\n 2 sound: DING DONG .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (sound)\n\n\nState 5\n\n 0 $accept: rhyme $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 6\n\n 3 place: DELL .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (place)\n\n\nState 7\n\n 1 rhyme: sound place .\n\n $v\u00fdchoz\u00ed reduce using rule 1 (rhyme)\n","avg_line_length":12.2421052632,"max_line_length":46,"alphanum_fraction":0.6130696475} -{"size":3495,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Stav 1 conflicts: 1 reduce\/reduce\n\n\nGramatika\n\n 0 $accept: def $end\n\n 1 def: param_spec return_spec ','\n\n 2 param_spec: type\n 3 | name_list ':' type\n\n 4 return_spec: type\n 5 | name ':' type\n\n 6 type: id\n\n 7 name: id\n\n 8 name_list: name\n 9 | name ',' name_list\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n',' (44) 1 9\n':' (58) 3 5\nerror (256)\nid (258) 6 7\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (6)\n vlevo: 0\ndef (7)\n vlevo: 1, vpravo: 0\nparam_spec (8)\n vlevo: 2 3, vpravo: 1\nreturn_spec (9)\n vlevo: 4 5, vpravo: 1\ntype (10)\n vlevo: 6, vpravo: 2 3 4 5\nname (11)\n vlevo: 7, vpravo: 5 8 9\nname_list (12)\n vlevo: 8 9, vpravo: 3 9\n\n\nState 0\n\n 0 $accept: . def $end\n 1 def: . param_spec return_spec ','\n 2 param_spec: . type\n 3 | . name_list ':' type\n 6 type: . id\n 7 name: . id\n 8 name_list: . name\n 9 | . name ',' name_list\n\n id posunout a p\u0159ej\u00edt do stavu 1\n\n def p\u0159ej\u00edt do stavu 2\n param_spec p\u0159ej\u00edt do stavu 3\n type p\u0159ej\u00edt do stavu 4\n name p\u0159ej\u00edt do stavu 5\n name_list p\u0159ej\u00edt do stavu 6\n\n\nState 1\n\n 6 type: id . [id, ',']\n 7 name: id . [',', ':']\n\n ',' reduce using rule 6 (type)\n ',' [reduce using rule 7 (name)]\n ':' reduce using rule 7 (name)\n $v\u00fdchoz\u00ed reduce using rule 6 (type)\n\n\nState 2\n\n 0 $accept: def . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 7\n\n\nState 3\n\n 1 def: param_spec . return_spec ','\n 4 return_spec: . type\n 5 | . name ':' type\n 6 type: . id\n 7 name: . id\n\n id posunout a p\u0159ej\u00edt do stavu 1\n\n return_spec p\u0159ej\u00edt do stavu 8\n type p\u0159ej\u00edt do stavu 9\n name p\u0159ej\u00edt do stavu 10\n\n\nState 4\n\n 2 param_spec: type .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (param_spec)\n\n\nState 5\n\n 8 name_list: name . [':']\n 9 | name . ',' name_list\n\n ',' posunout a p\u0159ej\u00edt do stavu 11\n\n $v\u00fdchoz\u00ed reduce using rule 8 (name_list)\n\n\nState 6\n\n 3 param_spec: name_list . ':' type\n\n ':' posunout a p\u0159ej\u00edt do stavu 12\n\n\nState 7\n\n 0 $accept: def $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 8\n\n 1 def: param_spec return_spec . ','\n\n ',' posunout a p\u0159ej\u00edt do stavu 13\n\n\nState 9\n\n 4 return_spec: type .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (return_spec)\n\n\nState 10\n\n 5 return_spec: name . ':' type\n\n ':' posunout a p\u0159ej\u00edt do stavu 14\n\n\nState 11\n\n 7 name: . id\n 8 name_list: . name\n 9 | . name ',' name_list\n 9 | name ',' . name_list\n\n id posunout a p\u0159ej\u00edt do stavu 15\n\n name p\u0159ej\u00edt do stavu 5\n name_list p\u0159ej\u00edt do stavu 16\n\n\nState 12\n\n 3 param_spec: name_list ':' . type\n 6 type: . id\n\n id posunout a p\u0159ej\u00edt do stavu 17\n\n type p\u0159ej\u00edt do stavu 18\n\n\nState 13\n\n 1 def: param_spec return_spec ',' .\n\n $v\u00fdchoz\u00ed reduce using rule 1 (def)\n\n\nState 14\n\n 5 return_spec: name ':' . type\n 6 type: . id\n\n id posunout a p\u0159ej\u00edt do stavu 17\n\n type p\u0159ej\u00edt do stavu 19\n\n\nState 15\n\n 7 name: id .\n\n $v\u00fdchoz\u00ed reduce using rule 7 (name)\n\n\nState 16\n\n 9 name_list: name ',' name_list .\n\n $v\u00fdchoz\u00ed reduce using rule 9 (name_list)\n\n\nState 17\n\n 6 type: id .\n\n $v\u00fdchoz\u00ed reduce using rule 6 (type)\n\n\nState 18\n\n 3 param_spec: name_list ':' type .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (param_spec)\n\n\nState 19\n\n 5 return_spec: name ':' type .\n\n $v\u00fdchoz\u00ed reduce using rule 5 (return_spec)\n","avg_line_length":15.2620087336,"max_line_length":47,"alphanum_fraction":0.5670958512} -{"size":505,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"034.hac\":13:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (process-definition) ... [7:1--10:1]\n#STATE#\t(process-prototype) [12:1..44]\n#STATE#\t{ [12:46]\n#STATE#\tlist<(def-body-item)>: ... [0:0]\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tdatatype: bool [13:2..5]\nin state #STATE#, possible rules are:\n\tdefdatatype: declare_datatype_proto '{' optional_datatype_body set_body_optional get_body_optional . '}' (#RULE#)\nacceptable tokens are: \n\t'}' (shift)\n","avg_line_length":29.7058823529,"max_line_length":115,"alphanum_fraction":0.6792079208} -{"size":501,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"after-01.hac\":7:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(process-prototype) [4:1..20]\n#STATE#\t{ [4:22]\n#STATE#\tlist<(def-body-item)>: (instance-decl) ... [5:1..9]\n#STATE#\tkeyword: prs [6:1..3]\n#STATE#\t(null) \n#STATE#\t{ [6:5]\n#STATE#\t(prs-literal) [7:1..5]\n#STATE#\tint: 12 [7:7]\nin state #STATE#, possible rules are:\n\tsingle_prs: prs_expr . prs_arrow prs_literal_base dir (#RULE#)\nacceptable tokens are: \n\tIMPLIES (shift)\n\tRARROW (shift)\n\tHASH_ARROW (shift)\n","avg_line_length":25.05,"max_line_length":64,"alphanum_fraction":0.6626746507} -{"size":13770,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"%{\n #include \n #include \n #include \n #include \"scanner.h\"\n #include \"ast.h\"\n #define YYERROR_VERBOSE 1\n #define YYDEBUG 1 \n \n class node_name_decl;\n \n node_program *ast; \n node_var_list *var_list;\n node_func_list *func_list;\n extern char* yytext;\n extern int yyparse();\n extern int column;\n void yyerror(char *s) { \n fflush(stdout);\n\t printf(\"\\n%*s\\n%*s\\n\", column, \"^\", column, s);\n }\n \n void insertVar(node_name_decl* var){\n if(var_list == NULL){\n var_list = new node_var_list(var,NULL,0);\n return;\n }\n \n node_var_list* aux = var_list;\n while(aux->attr_var_list != NULL){\n aux = aux->attr_var_list;\n }\n aux->attr_var_list = new node_var_list(var,NULL,0);\n }\n \n%}\n\n%union {\n\tchar* str;\n\tint token;\n void* Nprogram; \/\/ h\u00e1 um problema com node_program\n node_expr* NExp;\n node_op_multiplication* Nmult;\n node_expr* Nadd;\n node* Nstmt; \n node_name_decl* Nnamedecl;\n node_type* Ntype;\n \n} \n\n\n%token T_EOF \n%token T_BREAK \n%token T_CASE \n%token T_CHAR \n%token T_CONTINUE \n%token T_DEFAULT \n%token T_DOUBLE \n%token T_ELSE \n%token T_FLOAT \n%token T_FOR \n%token T_IF \n%token T_INT \n%token T_RETURN \n%token T_SIZEOF \n%token T_SWITCH \n%token T_STRUCT \n%token T_ADD_ASSIGN \n%token T_ADD \n%token T_SUB_ASSIGN\n%token T_SUB \n%token T_MULT_ASSIGN \n%token T_MULT \n%token T_DIV \n%token T_DIV_ASSIGN \n%token T_MOD \n%token T_MOD_ASSIGN \n%token T_INC \n%token T_DEC \n%token T_PTR \n%token T_AND \n%token T_OR \n%token T_BEGIN \n%token T_END \n%token T_COMMA \n%token T_SEMICOLON \n%token T_QUEST \n%token T_LESS \n%token T_LESS_EQ\n%token T_GREATER\n%token T_GREATER_EQ\n%token T_EQUAL \n%token T_NOT_EQUAL\n%token T_DOT\n%token T_BRACKET_L\n%token T_BRACKET_R\n%token T_PARENT_L\n%token T_PARENT_R\n%token T_WHILE\n%token T_VOID\n%token T_LITERAL\n%token T_CONSTANT \n%token T_ID\n%token T_ENUM\n%token T_SHORT\n%token T_SIGNED\n%token T_UNSIGNED\n%token T_STRING_LITERAL\n%token T_LONG\n%token T_STATIC\n%token T_TYPEDEF\n%token T_UNION \n%token T_DO\n%token T_ADDRESS\n%token T_DOT_DOUBLE\n%token T_NEG\n%token T_ASSIGN\n%token T_PIPE\n%token T_XOR\n%token T_LEFT\n%token T_RIGHT\n\n\n%type type_specifier \n%type unary_operator \n%type struct_or_union_specifier\n%type struct_or_union\n%type primary_expression\n%type direct_declarator\n%type declarator\n%type init_declarator\n%type init_declarator_list\n%type declaration_specifiers \/\/ trocar para Ntype\n%type conditional_expression\n%type assignment_expression\n%type equality_expression\n%type initializer\n%type multiplicative_expression\n%type additive_expression\n%type shift_expression\n%type relational_expression\n%type logical_or_expression\n%type and_expression\n%type exclusive_or_expression\n%type inclusive_or_expression\n%type logical_and_expression\n%type assignment_operator\n\n\n\n%start translation_unit\n%%\n\ntranslation_unit\n\t: external_declaration {\n if(!ast){\n ast = new node_program(var_list,func_list,0);\n }\n }\n\t| translation_unit external_declaration \n\t;\n\nprimary_expression\n\t: T_ID { $$ = 0 }\n\t| T_CONSTANT {$$ = 0}\n\t| T_STRING_LITERAL { $$ = 0 }\n\t| T_PARENT_L expression T_PARENT_R { $$ = 0 }\n\t;\n\npostfix_expression\n\t: primary_expression\n\t| postfix_expression T_BRACKET_L expression T_BRACKET_R\n\t| postfix_expression T_PARENT_L T_PARENT_R\n\t| postfix_expression T_PARENT_L argument_expression_list T_PARENT_R\n\t| postfix_expression T_DOT T_ID\n\t| postfix_expression T_PTR T_ID\n\t| postfix_expression T_INC\n\t| postfix_expression T_DEC\n\t;\n\nargument_expression_list\n\t: assignment_expression\n\t| argument_expression_list T_COMMA assignment_expression\n\t;\n\nunary_expression\n\t: postfix_expression\n\/\/\t| T_INC unary_expression {}\n\/\/\t| T_DEC unary_expression\n\t| unary_operator cast_expression\n\/\/\t| T_SIZEOF unary_expression\n\/\/\t| T_SIZEOF T_PARENT_L type_name T_PARENT_R\n\t;\n\nunary_operator\n\t: T_ADDRESS { $$ = T_ADDRESS}\n\t| T_MULT { $$ = T_MULT}\n\t| T_ADD { $$ = T_ADD}\n\t| T_SUB { $$ = T_SUB}\n\t| T_NEG { $$ = T_NEG}\n\t;\n\ncast_expression\n\t: unary_expression \n\t| T_PARENT_L type_name T_PARENT_R cast_expression\n\t;\n\nmultiplicative_expression\n\t: cast_expression { $$ = new node_op_multiplication(0,NULL,NULL,0); } \n\t| multiplicative_expression T_MULT cast_expression { $$ = new node_op_multiplication(T_MULT,NULL,NULL,0) }\n\t| multiplicative_expression T_DIV cast_expression { $$ = new node_op_multiplication(T_DIV,NULL,NULL,0) }\n\t| multiplicative_expression T_MOD cast_expression { $$ = new node_op_multiplication(T_MOD,NULL,NULL,0) }\n\t;\n\nadditive_expression\n\t: multiplicative_expression { $$ = $1}\n\t| additive_expression T_ADD multiplicative_expression { $$ = new node_op_addition(T_ADD,NULL,NULL,0) }\n\t| additive_expression T_SUB multiplicative_expression { $$ = new node_op_addition(T_SUB,NULL,NULL,0) }\n\t;\n\nshift_expression\n\t: additive_expression { $$ = NULL } \n\t| shift_expression T_LEFT additive_expression { $$ = NULL } \n\t| shift_expression T_RIGHT additive_expression { $$ = NULL } \n\t;\n\nrelational_expression\n\t: shift_expression { $$ = NULL } \n\t| relational_expression T_GREATER shift_expression { $$ = NULL } \n\t| relational_expression T_LESS shift_expression { $$ = NULL } \n\t| relational_expression T_LESS_EQ shift_expression { $$ = NULL } \n\t| relational_expression T_GREATER_EQ shift_expression { $$ = NULL } \n\t;\n\nequality_expression\n\t: relational_expression { $$ = NULL } \n\t| equality_expression T_EQUAL relational_expression { $$ = NULL }\n\t| equality_expression T_NOT_EQUAL relational_expression { $$ = NULL }\n\t;\n\nand_expression\n\t: equality_expression { $$ = $1}\n\t| and_expression T_ADDRESS equality_expression { $$ = new node_op_boolean(T_AND,NULL,NULL,0) }\n\t;\n\nexclusive_or_expression\n\t: and_expression { $$ = $1 }\n\t| exclusive_or_expression T_XOR and_expression { $$ = new node_op_boolean(T_XOR,NULL,NULL,0) }\n\t;\n\ninclusive_or_expression\n\t: exclusive_or_expression { $$ = $1}\n\t| inclusive_or_expression T_PIPE exclusive_or_expression { $$ = new node_op_boolean(T_OR,NULL,NULL,0) }\n\t;\n\nlogical_and_expression\n\t: inclusive_or_expression { $$ = $1}\n\t| logical_and_expression T_AND inclusive_or_expression { $$ = new node_op_boolean(T_AND,NULL,NULL,0) }\n\t;\n\nlogical_or_expression\n\t: logical_and_expression {$$ = $1}\n\t| logical_or_expression T_OR logical_and_expression { $$ = new node_op_boolean(T_OR,NULL,NULL,0) }\n\t;\n\nconditional_expression\n\t: logical_or_expression {$$ = $1}\n\t| logical_or_expression T_QUEST expression T_DOT_DOUBLE conditional_expression { $$ = NULL } \n\t;\n\nassignment_expression\n\t: conditional_expression {$$ = $1 } \n\t| unary_expression assignment_operator assignment_expression {\n \/\/$$ = new node_assign(NULL,$3,0);\n $$ = $3;\n }\n\t;\n\nassignment_operator\n\t: T_ASSIGN {$$ = T_ASSIGN }\n\t| T_MULT_ASSIGN {$$ = T_MULT_ASSIGN }\n\t| T_DIV_ASSIGN {$$ = T_DIV_ASSIGN }\n\t| T_MOD_ASSIGN {$$ = T_MOD_ASSIGN }\n\t| T_ADD_ASSIGN {$$ = T_ADD_ASSIGN }\n\t| T_SUB_ASSIGN {$$ = T_SUB_ASSIGN }\n\t;\n\nexpression\n\t: assignment_expression\n\t| expression T_COMMA assignment_expression\n\t;\n\nconstant_expression\n\t: conditional_expression\n\t;\n\ndeclaration\n\t: declaration_specifiers T_SEMICOLON\n\t| declaration_specifiers init_declarator_list T_SEMICOLON { \n node_name_decl* aux = $2;\n node_type* type = $1 ; \/\/new node_type($1,0);\n insertVar( new node_name_decl(type,aux->attr_id,aux->attr_assign,0) ); \n }\n\t;\n\ndeclaration_specifiers\n\t: storage_class_specifier {$$ = 0}\n\t| storage_class_specifier declaration_specifiers {$$ = 0}\n\t| type_specifier {$$ = new node_type($1,0);}\n\t| type_specifier declaration_specifiers {$$ = new node_type(1,0);}\n\t;\n\ninit_declarator_list\n\t: init_declarator {$$ = $1}\n\t| init_declarator_list T_COMMA init_declarator {$$ = $1}\n\t;\n\ninit_declarator\n\t: declarator {$$ = $1}\n\t| declarator T_ASSIGN initializer {\n node_name_decl* aux = $1;\n if(typeid($2) == typeid(node_assign*)){\n aux->attr_assign = $2;\n }else{\n aux->attr_assign = new node_assign(NULL,$2,0);\n }\n $$ = aux;\n }\n\t;\n\nstorage_class_specifier\n\t: T_TYPEDEF\n\t| T_STATIC\n\t;\n\ntype_specifier\n\t: T_VOID {$$ = T_VOID} \n\t| T_CHAR {$$ = T_CHAR}\n\t| T_SHORT {$$ = T_SHORT}\n\t| T_INT {$$ = T_INT}\n\t| T_LONG {$$ = T_LONG}\n\t| T_FLOAT {$$ = T_FLOAT}\n\t| T_DOUBLE {$$ = T_DOUBLE}\n\t| T_SIGNED {$$ = T_SIGNED}\n\t| T_UNSIGNED {$$ = T_UNSIGNED}\n\t| struct_or_union_specifier {$$ = 0}\n\t| enum_specifier {$$ = 0}\n\t;\n\nstruct_or_union_specifier\n\t: struct_or_union T_ID T_BEGIN struct_declaration_list T_END { $$ = 0 }\n\t| struct_or_union T_BEGIN struct_declaration_list T_END { $$ = 0 }\n\t| struct_or_union T_ID { $$ = 0 }\n\t;\n\nstruct_or_union\n\t: T_STRUCT {$$ = T_STRUCT}\n | T_UNION {$$ = T_UNION}\n\t;\n\nstruct_declaration_list\n\t: struct_declaration\n\t| struct_declaration_list struct_declaration\n\t;\n\nstruct_declaration\n\t: specifier_qualifier_list struct_declarator_list T_SEMICOLON\n\t;\n\nspecifier_qualifier_list\n\t: type_specifier specifier_qualifier_list\n\t| type_specifier\n\t;\n\nstruct_declarator_list\n\t: struct_declarator\n\t| struct_declarator_list T_COMMA struct_declarator\n\t;\n\nstruct_declarator\n\t: declarator\n\t| T_DOT_DOUBLE constant_expression\n\t| declarator T_DOT_DOUBLE constant_expression\n\t;\n\nenum_specifier\n\t: T_ENUM T_BEGIN enumerator_list T_END \n\t| T_ENUM T_ID T_BEGIN enumerator_list T_END \n\t| T_ENUM T_ID\n\t;\n\nenumerator_list\n\t: enumerator \n\t| enumerator_list T_COMMA enumerator\n\t;\n\nenumerator\n\t: T_ID \n\t| T_ID T_ASSIGN constant_expression\n\t;\n\ndeclarator\n\t: pointer direct_declarator {$$ = $2}\n\t| direct_declarator {$$ = $1}\n\t;\n\ndirect_declarator\n\t: T_ID { $$ = new node_name_decl(0,new Symbol_id(yytext),0)}\n\t| T_PARENT_L declarator T_PARENT_R { $$ = new node_name_decl(0,NULL,0)}\n\t| direct_declarator T_BRACKET_L constant_expression T_BRACKET_R { $$ = new node_name_decl(0,NULL,0)}\n\t| direct_declarator T_BRACKET_L T_BRACKET_R { $$ = new node_name_decl(0,NULL,0)}\n\t| direct_declarator T_PARENT_L parameter_type_list T_PARENT_R { $$ = new node_name_decl(0,NULL,0)}\n\t| direct_declarator T_PARENT_L identifier_list T_PARENT_R { $$ = new node_name_decl(0,NULL,0)}\n\t| direct_declarator T_PARENT_L T_PARENT_R { $$ = new node_name_decl(0,NULL,0)}\n\t;\n\npointer\n\t: T_MULT\n\t| T_MULT pointer\n\t;\n\nparameter_type_list\n\t: parameter_list\n\t;\n\nparameter_list\n\t: parameter_declaration\n\t| parameter_list T_COMMA parameter_declaration\n\t;\n\nparameter_declaration\n\t: declaration_specifiers declarator\n\t| declaration_specifiers abstract_declarator\n\t| declaration_specifiers\n\t;\n\nidentifier_list\n\t: T_ID\n\t| identifier_list T_COMMA T_ID\n\t;\n\ntype_name\n\t: specifier_qualifier_list\n\t| specifier_qualifier_list abstract_declarator\n\t;\n\nabstract_declarator\n\t: pointer\n\t| direct_abstract_declarator\n\t| pointer direct_abstract_declarator\n\t;\n\ndirect_abstract_declarator\n\t: T_PARENT_L abstract_declarator T_PARENT_R\n\t| T_BRACKET_L T_BRACKET_R\n\t| T_BRACKET_L constant_expression T_BRACKET_R\n\t| direct_abstract_declarator T_BRACKET_L T_BRACKET_R\n\t| direct_abstract_declarator T_BRACKET_L constant_expression T_BRACKET_R\n\t| T_PARENT_L T_PARENT_R\n\t| T_PARENT_L parameter_type_list T_PARENT_R\n\t| direct_abstract_declarator T_PARENT_L T_PARENT_R\n\t| direct_abstract_declarator T_PARENT_L parameter_type_list T_PARENT_R\n\t;\n\ninitializer\n\t: assignment_expression {$$ = $1}\n\t| T_BEGIN initializer_list T_END { $$ = NULL }\n\t| T_BEGIN initializer_list T_COMMA T_END { $$ = NULL }\n\t;\n\ninitializer_list\n\t: initializer\n\t| initializer_list T_COMMA initializer\n\t;\n\nstatement\n\t: labeled_statement\n\t| compound_statement\n\t| expression_statement\n\t| selection_statement\n\t| iteration_statement\n\t| jump_statement\n\t;\n\nlabeled_statement\n\t: T_ID T_DOT_DOUBLE statement\n\t| T_CASE constant_expression T_DOT_DOUBLE statement\n\t| T_DEFAULT T_DOT_DOUBLE statement\n\t;\n\ncompound_statement\n\t: T_BEGIN T_END\n\t| T_BEGIN statement_list T_END\n\t| T_BEGIN declaration_list T_END\n\t| T_BEGIN declaration_list statement_list T_END\n\t;\n\ndeclaration_list\n\t: declaration\n\t| declaration_list declaration\n\t;\n\nstatement_list\n\t: statement\n\t| statement_list statement\n\t;\n\nexpression_statement\n\t: T_SEMICOLON\n\t| expression T_SEMICOLON\n\t;\n\nselection_statement\n\t: T_IF T_PARENT_L expression T_PARENT_R statement\n\t| T_IF T_PARENT_L expression T_PARENT_R statement T_ELSE statement\n\t| T_SWITCH T_PARENT_L expression T_PARENT_R statement\n\t;\n\niteration_statement\n\t: T_WHILE T_PARENT_L expression T_PARENT_R statement\n\t| T_DO statement T_WHILE T_PARENT_L expression T_PARENT_R T_SEMICOLON\n\t| T_FOR T_PARENT_L expression_statement expression_statement T_PARENT_R statement\n\t| T_FOR T_PARENT_L expression_statement expression_statement expression T_PARENT_R statement\n\t;\n\njump_statement\n\t: T_CONTINUE T_SEMICOLON\n\t| T_BREAK T_SEMICOLON\n\t| T_RETURN T_SEMICOLON\n\t| T_RETURN expression T_SEMICOLON\n\t;\n\n\n\nexternal_declaration\n\t: function_definition \n\t| declaration \n\t;\n\nfunction_definition\n\t: declaration_specifiers declarator declaration_list compound_statement\n\t| declaration_specifiers declarator compound_statement\n\t| declarator declaration_list compound_statement\n\t| declarator compound_statement\n\t;\n\n%%\n","avg_line_length":25.1277372263,"max_line_length":107,"alphanum_fraction":0.7360203341} -{"size":2092,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Rules useless in parser due to conflicts\n\n 6 F: 'e'\n\n\nStav 4 conflicts: 2 reduce\/reduce\n\n\nGramatika\n\n 0 $accept: S $end\n\n 1 S: 'a' E 'c'\n 2 | 'a' F 'd'\n 3 | 'b' F 'c'\n 4 | 'b' E 'd'\n\n 5 E: 'e'\n\n 6 F: 'e'\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'a' (97) 1 2\n'b' (98) 3 4\n'c' (99) 1 3\n'd' (100) 2 4\n'e' (101) 5 6\nerror (256)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (8)\n vlevo: 0\nS (9)\n vlevo: 1 2 3 4, vpravo: 0\nE (10)\n vlevo: 5, vpravo: 1 4\nF (11)\n vlevo: 6, vpravo: 2 3\n\n\nState 0\n\n 0 $accept: . S $end\n 1 S: . 'a' E 'c'\n 2 | . 'a' F 'd'\n 3 | . 'b' F 'c'\n 4 | . 'b' E 'd'\n\n 'a' posunout a p\u0159ej\u00edt do stavu 1\n 'b' posunout a p\u0159ej\u00edt do stavu 2\n\n S p\u0159ej\u00edt do stavu 3\n\n\nState 1\n\n 1 S: 'a' . E 'c'\n 2 | 'a' . F 'd'\n 5 E: . 'e'\n 6 F: . 'e'\n\n 'e' posunout a p\u0159ej\u00edt do stavu 4\n\n E p\u0159ej\u00edt do stavu 5\n F p\u0159ej\u00edt do stavu 6\n\n\nState 2\n\n 3 S: 'b' . F 'c'\n 4 | 'b' . E 'd'\n 5 E: . 'e'\n 6 F: . 'e'\n\n 'e' posunout a p\u0159ej\u00edt do stavu 4\n\n E p\u0159ej\u00edt do stavu 7\n F p\u0159ej\u00edt do stavu 8\n\n\nState 3\n\n 0 $accept: S . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 9\n\n\nState 4\n\n 5 E: 'e' . ['c', 'd']\n 6 F: 'e' . ['c', 'd']\n\n 'c' reduce using rule 5 (E)\n 'c' [reduce using rule 6 (F)]\n 'd' reduce using rule 5 (E)\n 'd' [reduce using rule 6 (F)]\n $v\u00fdchoz\u00ed reduce using rule 5 (E)\n\n\nState 5\n\n 1 S: 'a' E . 'c'\n\n 'c' posunout a p\u0159ej\u00edt do stavu 10\n\n\nState 6\n\n 2 S: 'a' F . 'd'\n\n 'd' posunout a p\u0159ej\u00edt do stavu 11\n\n\nState 7\n\n 4 S: 'b' E . 'd'\n\n 'd' posunout a p\u0159ej\u00edt do stavu 12\n\n\nState 8\n\n 3 S: 'b' F . 'c'\n\n 'c' posunout a p\u0159ej\u00edt do stavu 13\n\n\nState 9\n\n 0 $accept: S $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 10\n\n 1 S: 'a' E 'c' .\n\n $v\u00fdchoz\u00ed reduce using rule 1 (S)\n\n\nState 11\n\n 2 S: 'a' F 'd' .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (S)\n\n\nState 12\n\n 4 S: 'b' E 'd' .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (S)\n\n\nState 13\n\n 3 S: 'b' F 'c' .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (S)\n","avg_line_length":12.6024096386,"max_line_length":46,"alphanum_fraction":0.482791587} -{"size":1521,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: E $end\n\n 1 E: E '*' B\n 2 | E '+' B\n 3 | B\n\n 4 B: '0'\n 5 | '1'\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'*' (42) 1\n'+' (43) 2\n'0' (48) 4\n'1' (49) 5\nerror (256)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (7)\n vlevo: 0\nE (8)\n vlevo: 1 2 3, vpravo: 0 1 2\nB (9)\n vlevo: 4 5, vpravo: 1 2 3\n\n\nState 0\n\n 0 $accept: . E $end\n 1 E: . E '*' B\n 2 | . E '+' B\n 3 | . B\n 4 B: . '0'\n 5 | . '1'\n\n '0' posunout a p\u0159ej\u00edt do stavu 1\n '1' posunout a p\u0159ej\u00edt do stavu 2\n\n E p\u0159ej\u00edt do stavu 3\n B p\u0159ej\u00edt do stavu 4\n\n\nState 1\n\n 4 B: '0' .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (B)\n\n\nState 2\n\n 5 B: '1' .\n\n $v\u00fdchoz\u00ed reduce using rule 5 (B)\n\n\nState 3\n\n 0 $accept: E . $end\n 1 E: E . '*' B\n 2 | E . '+' B\n\n $end posunout a p\u0159ej\u00edt do stavu 5\n '*' posunout a p\u0159ej\u00edt do stavu 6\n '+' posunout a p\u0159ej\u00edt do stavu 7\n\n\nState 4\n\n 3 E: B .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (E)\n\n\nState 5\n\n 0 $accept: E $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 6\n\n 1 E: E '*' . B\n 4 B: . '0'\n 5 | . '1'\n\n '0' posunout a p\u0159ej\u00edt do stavu 1\n '1' posunout a p\u0159ej\u00edt do stavu 2\n\n B p\u0159ej\u00edt do stavu 8\n\n\nState 7\n\n 2 E: E '+' . B\n 4 B: . '0'\n 5 | . '1'\n\n '0' posunout a p\u0159ej\u00edt do stavu 1\n '1' posunout a p\u0159ej\u00edt do stavu 2\n\n B p\u0159ej\u00edt do stavu 9\n\n\nState 8\n\n 1 E: E '*' B .\n\n $v\u00fdchoz\u00ed reduce using rule 1 (E)\n\n\nState 9\n\n 2 E: E '+' B .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (E)\n","avg_line_length":12.2661290323,"max_line_length":46,"alphanum_fraction":0.4911242604} -{"size":40,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"%%\n\n\nBufferRelatedType\n :Int8Array\n ;\n","avg_line_length":5.7142857143,"max_line_length":17,"alphanum_fraction":0.65} -{"size":1740,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: File $end\n\n 1 $@1: %empty\n\n 2 File: PackageDecl $@1 Imports\n\n 3 PackageDecl: 'P' Symbol ';'\n\n 4 Imports: 'I'\n\n 5 Symbol: 'S'\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n';' (59) 3\n'I' (73) 4\n'P' (80) 3\n'S' (83) 5\nerror (256)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (7)\n vlevo: 0\nFile (8)\n vlevo: 2, vpravo: 0\n$@1 (9)\n vlevo: 1, vpravo: 2\nPackageDecl (10)\n vlevo: 3, vpravo: 2\nImports (11)\n vlevo: 4, vpravo: 2\nSymbol (12)\n vlevo: 5, vpravo: 3\n\n\nState 0\n\n 0 $accept: . File $end\n 2 File: . PackageDecl $@1 Imports\n 3 PackageDecl: . 'P' Symbol ';'\n\n 'P' posunout a p\u0159ej\u00edt do stavu 1\n\n File p\u0159ej\u00edt do stavu 2\n PackageDecl p\u0159ej\u00edt do stavu 3\n\n\nState 1\n\n 3 PackageDecl: 'P' . Symbol ';'\n 5 Symbol: . 'S'\n\n 'S' posunout a p\u0159ej\u00edt do stavu 4\n\n Symbol p\u0159ej\u00edt do stavu 5\n\n\nState 2\n\n 0 $accept: File . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 6\n\n\nState 3\n\n 1 $@1: . %empty\n 2 File: PackageDecl . $@1 Imports\n\n $v\u00fdchoz\u00ed reduce using rule 1 ($@1)\n\n $@1 p\u0159ej\u00edt do stavu 7\n\n\nState 4\n\n 5 Symbol: 'S' .\n\n $v\u00fdchoz\u00ed reduce using rule 5 (Symbol)\n\n\nState 5\n\n 3 PackageDecl: 'P' Symbol . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 8\n\n\nState 6\n\n 0 $accept: File $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 7\n\n 2 File: PackageDecl $@1 . Imports\n 4 Imports: . 'I'\n\n 'I' posunout a p\u0159ej\u00edt do stavu 9\n\n Imports p\u0159ej\u00edt do stavu 10\n\n\nState 8\n\n 3 PackageDecl: 'P' Symbol ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (PackageDecl)\n\n\nState 9\n\n 4 Imports: 'I' .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (Imports)\n\n\nState 10\n\n 2 File: PackageDecl $@1 Imports .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (File)\n","avg_line_length":13.2824427481,"max_line_length":47,"alphanum_fraction":0.5810344828} -{"size":485,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"001.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [3:1..7]\n#STATE#\tidentifier: empty [3:9..13]\n#STATE#\t( [3:14]\n#STATE#\t(chan-type) [3:15..19]\n#STATE#\t( [3:20]\n#STATE#\tlist<(type-ref)>: ... [0:0]\n#STATE#\tkeyword: chan [3:21..24]\nin state #STATE#, possible rules are:\n\tdata_type_ref_list_optional_in_parens: '(' data_type_ref_list_optional . ')' (#RULE#)\nacceptable tokens are: \n\t')' (shift)\n","avg_line_length":25.5263157895,"max_line_length":87,"alphanum_fraction":0.6556701031} -{"size":2112,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: E $end\n\n 1 E: E '*' E\n 2 | E '+' E\n 3 | B\n\n 4 B: '0'\n 5 | '1'\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'*' (42) 1\n'+' (43) 2\n'0' (48) 4\n'1' (49) 5\nerror (256)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (7)\n vlevo: 0\nE (8)\n vlevo: 1 2 3, vpravo: 0 1 2\nB (9)\n vlevo: 4 5, vpravo: 3\n\n\nState 0\n\n 0 $accept: . E $end\n 1 E: . E '*' E\n 2 | . E '+' E\n 3 | . B\n 4 B: . '0'\n 5 | . '1'\n\n '0' posunout a p\u0159ej\u00edt do stavu 1\n '1' posunout a p\u0159ej\u00edt do stavu 2\n\n E p\u0159ej\u00edt do stavu 3\n B p\u0159ej\u00edt do stavu 4\n\n\nState 1\n\n 4 B: '0' .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (B)\n\n\nState 2\n\n 5 B: '1' .\n\n $v\u00fdchoz\u00ed reduce using rule 5 (B)\n\n\nState 3\n\n 0 $accept: E . $end\n 1 E: E . '*' E\n 2 | E . '+' E\n\n $end posunout a p\u0159ej\u00edt do stavu 5\n '+' posunout a p\u0159ej\u00edt do stavu 6\n '*' posunout a p\u0159ej\u00edt do stavu 7\n\n\nState 4\n\n 3 E: B .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (E)\n\n\nState 5\n\n 0 $accept: E $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 6\n\n 1 E: . E '*' E\n 2 | . E '+' E\n 2 | E '+' . E\n 3 | . B\n 4 B: . '0'\n 5 | . '1'\n\n '0' posunout a p\u0159ej\u00edt do stavu 1\n '1' posunout a p\u0159ej\u00edt do stavu 2\n\n E p\u0159ej\u00edt do stavu 8\n B p\u0159ej\u00edt do stavu 4\n\n\nState 7\n\n 1 E: . E '*' E\n 1 | E '*' . E\n 2 | . E '+' E\n 3 | . B\n 4 B: . '0'\n 5 | . '1'\n\n '0' posunout a p\u0159ej\u00edt do stavu 1\n '1' posunout a p\u0159ej\u00edt do stavu 2\n\n E p\u0159ej\u00edt do stavu 9\n B p\u0159ej\u00edt do stavu 4\n\n\nState 8\n\n 1 E: E . '*' E\n 2 | E . '+' E\n 2 | E '+' E . [$end, '+']\n\n '*' posunout a p\u0159ej\u00edt do stavu 7\n\n $v\u00fdchoz\u00ed reduce using rule 2 (E)\n\n Conflict between rule 2 and token '+' resolved as reduce (%left '+').\n Conflict between rule 2 and token '*' resolved as shift ('+' < '*').\n\n\nState 9\n\n 1 E: E . '*' E\n 1 | E '*' E . [$end, '+', '*']\n 2 | E . '+' E\n\n $v\u00fdchoz\u00ed reduce using rule 1 (E)\n\n Conflict between rule 1 and token '+' resolved as reduce ('+' < '*').\n Conflict between rule 1 and token '*' resolved as reduce (%left '*').\n","avg_line_length":14.6666666667,"max_line_length":73,"alphanum_fraction":0.4805871212} -{"size":501,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"035.hac\":10:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (process-definition) ... [7:1..21]\n#STATE#\t(process-prototype) [9:1..44]\n#STATE#\t{ [9:46]\n#STATE#\tlist<(def-body-item)>: ... [0:0]\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tdatatype: bool [10:2..5]\nin state #STATE#, possible rules are:\n\tdefdatatype: declare_datatype_proto '{' optional_datatype_body set_body_optional get_body_optional . '}' (#RULE#)\nacceptable tokens are: \n\t'}' (shift)\n","avg_line_length":29.4705882353,"max_line_length":115,"alphanum_fraction":0.6786427146} -{"size":423,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"008.hac\":9:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(process-prototype) [3:1..34]\n#STATE#\t{ [3:36]\n#STATE#\tlist<(def-body-item)>: (prs-body) ... [4:1--7:1]\n#STATE#\t(array-concatenation) [8:1..11]\n#STATE#\t} [9:1]\nin state #STATE#, possible rules are:\n\tnonempty_alias_list: complex_aggregate_reference . '=' complex_aggregate_reference (#RULE#)\nacceptable tokens are: \n\t'=' (shift)\n","avg_line_length":28.2,"max_line_length":93,"alphanum_fraction":0.6808510638} -{"size":531,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"076.hac\":10:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (process-prototype) ... [3:1--8:7]\n#STATE#\t(type-ref) [10:1..9]\n#STATE#\tlist<(declaration-id)>: (declaration-array): identifier: plist<(range)>: (range) ... ... [10:11..16]\n#STATE#\t( [10:18]\nin state #STATE#, possible rules are:\n\ttype_instance_declaration: type_id instance_id_list . ';' (#RULE#)\n\tinstance_id_list: instance_id_list . ',' instance_id_item (#RULE#)\nacceptable tokens are: \n\t',' (shift)\n\t';' (shift)\n","avg_line_length":33.1875,"max_line_length":108,"alphanum_fraction":0.6685499058} -{"size":501,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"032.hac\":7:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (process-prototype) ... [3:1--5:33]\n#STATE#\t(type-ref) [7:1..6]\n#STATE#\tlist<(declaration-id)>: (declaration-id): identifier: load ... [7:8..11]\n#STATE#\t. [7:12]\nin state #STATE#, possible rules are:\n\ttype_instance_declaration: type_id instance_id_list . ';' (#RULE#)\n\tinstance_id_list: instance_id_list . ',' instance_id_item (#RULE#)\nacceptable tokens are: \n\t',' (shift)\n\t';' (shift)\n","avg_line_length":31.3125,"max_line_length":80,"alphanum_fraction":0.6726546906} -{"size":18462,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"%{\n\/* all code in this file is original, and was written by:\n* \n* PAYTON JAMES SHALTIS\n* COMPLETED MAY 4TH, 2021\n*\n*\t\t\tfor\n*\n*\tB-MINOR COMPILER, v1.0\n*\n*\n* in CSC-425: \"Compilers and Interpreters\" taught by Professor John DeGood,\n* over the course of the Spring 2021 semester. I understand that keeping this\n* code in a public repository may allow other students to have access. In the\n* event that the course is taught again, with a similar project component, this \n* code is NOT to be used in place of another student's work.\n*\n*\n*\n* 'parser.bison'\n* --------------\n* This file defines the rules for the grammar of B-Minor. Bison uses this file to \n* generate 'parser.c', the source-code for a complete LR parser. Rules use terminal\n* tokens and nonterminals in order to parse a '.bminor' file during compilation.\n*\n*\/\n\n#include \n#include \n#include \n\n#include \"decl.h\" \n#include \"expr.h\"\n#include \"param_list.h\"\n#include \"stmt.h\"\n#include \"type.h\"\n\n\/\/ variables used within the parsing process\nextern char* yytext;\t\t\t\t\/\/ pointer the the actual text of a literal or variable name (SOURCE: 'scanner.c')\nextern int yylex();\t\t\t\t\t\/\/ function to perform lexical analysis (scanning) (SOURCE: 'scanner.c')\nextern int yyerror(char* str);\t\t\/\/ function that emits a parse error (SOURCE: 'parser.bison', ??unsure why external??)\nextern int yylineno;\t\t\t\t\/\/ the line number of the current scan\/parse position; used to print errors (SOURCE: 'scanner.c')\nstruct decl* parser_result = 0;\t\t\/\/ this is the root of the abstract syntax tree after a successful parse \n\n%}\n\n\/\/ the different token types used in grammar rules\n%token TOKEN_ARRAY\n%token TOKEN_BOOLEAN\n%token TOKEN_CHAR\n%token TOKEN_ELSE\n%token TOKEN_FALSE\n%token TOKEN_FOR\n%token TOKEN_FUNCTION\n%token TOKEN_IF\n%token TOKEN_INTEGER\n%token TOKEN_PRINT\n%token TOKEN_RETURN\n%token TOKEN_STRING\n%token TOKEN_TRUE\n%token TOKEN_VOID\n%token TOKEN_COLON\n%token TOKEN_SEMICOLON\n%token TOKEN_COMMA\n%token TOKEN_LBRACKET\n%token TOKEN_RBRACKET\n%token TOKEN_LCURLY\n%token TOKEN_RCURLY\n%token TOKEN_LPAREN\n%token TOKEN_RPAREN\n%token TOKEN_ASSIGN\n%token TOKEN_CARET\n%token TOKEN_PLUS\n%token TOKEN_MINUS\n%token TOKEN_INCREMENT\n%token TOKEN_DECREMENT\n%token TOKEN_MULTIPLY\n%token TOKEN_DIVIDE\n%token TOKEN_MOD\n%token TOKEN_EQUAL\n%token TOKEN_GE\n%token TOKEN_LE\n%token TOKEN_LESS\n%token TOKEN_GREATER\n%token TOKEN_NEQUAL\n%token TOKEN_IDENT\n%token TOKEN_INTLIT\n%token TOKEN_CHARLIT\n%token TOKEN_STRINGLIT\n%token TOKEN_OR\n%token TOKEN_AND\n%token TOKEN_NOT\n%token TOKEN_ERROR\n\n\/\/ unioning the different AST nodes, words, letters, and numbers\n%union {\n\tstruct decl* decl;\n\tstruct type* type;\n\tstruct stmt* stmt;\n\tstruct expr* expr;\n\tstruct param_list* param_list;\n\tchar* word;\n\tint number;\n\tchar letter;\n\n}\n\n\/\/ a single union element with each nonterminal that falls into that category\n%type program programlist decl global proto function stddecl cstdecl expdecl\n%type type array sizearr nosizearr\n%type stmtlist unbalanced balanced otherstmt\n%type atomic group incdec unary expon multdiv addsub comparison logand logor expr exprfor exprlist bracket\n%type paramslist \n%type ident string\n%type value true false\n%type char\n\n%%\n\n\/* ========================= HIGHEST LEVEL PRODUCTIONS ========================= *\/\n\n\/\/a program consists of a list of declarations\nprogram\t\t\t: programlist\t\t{parser_result = $1;}\n\t\t\t\t| \t\t\t\t\t{parser_result = NULL;}\n\t\t\t\t;\n\n\/\/this list of declarations may contain one or more declaration\nprogramlist\t\t: decl programlist\t{$$ = $1, $1->next = $2;}\n\t\t\t\t| decl\t\t\t\t{$$ = $1;}\n\t\t\t\t;\n\n\/\/a declaration can be one of the following\ndecl\t\t\t: global\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\/\/ global variables that may optionally be initialized\n\t\t\t\t| proto\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\/\/ function prototypes that contain no body of code\n\t\t\t\t| function\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\/\/ function implementations that contain a body of code\n\t\t\t\t;\n\n\/* ========================= GLOBALS, PROTOTYPES, FUNCTION DECLARATIONS ========================= *\/\n\n\/\/global variables may be declared in one of two ways\nglobal\t\t\t: stddecl TOKEN_SEMICOLON\t{$$ = $1;}\n\t\t\t\t| cstdecl TOKEN_SEMICOLON\t{$$ = $1;}\n\t\t\t\t;\n\n\/\/function prototypes, declared with or without parameters\nproto\t\t\t: ident TOKEN_COLON TOKEN_FUNCTION type TOKEN_LPAREN TOKEN_RPAREN TOKEN_SEMICOLON\t\t\t\t\t{$$ = decl_create($1, type_create(TYPE_PROTOTYPE, $4, 0, 0), 0, 0, 0);}\n\t\t\t\t| ident TOKEN_COLON TOKEN_FUNCTION type TOKEN_LPAREN paramslist TOKEN_RPAREN TOKEN_SEMICOLON\t\t{$$ = decl_create($1, type_create(TYPE_PROTOTYPE, $4, $6, 0), 0, 0, 0);}\n\t\t\t\t;\n\n\/\/function implementations, defined with or without parameters and contain a body of statements (or none in the case of a void return)\nfunction\t\t: ident TOKEN_COLON TOKEN_FUNCTION type TOKEN_LPAREN TOKEN_RPAREN TOKEN_ASSIGN TOKEN_LCURLY stmtlist TOKEN_RCURLY\t\t\t\t\t{$$ = decl_create($1, type_create(TYPE_FUNCTION, $4, 0, 0), 0, $9, 0);}\n\t\t\t\t| ident TOKEN_COLON TOKEN_FUNCTION type TOKEN_LPAREN paramslist TOKEN_RPAREN TOKEN_ASSIGN TOKEN_LCURLY stmtlist TOKEN_RCURLY\t\t{$$ = decl_create($1, type_create(TYPE_FUNCTION, $4, $6, 0), 0, $10, 0);}\n\t\t\t\t| ident TOKEN_COLON TOKEN_FUNCTION type TOKEN_LPAREN TOKEN_RPAREN TOKEN_ASSIGN TOKEN_LCURLY TOKEN_RCURLY\t\t\t\t\t\t\t{$$ = decl_create($1, type_create(TYPE_FUNCTION, $4, 0, 0), 0, 0, 0);}\n\t\t\t\t| ident TOKEN_COLON TOKEN_FUNCTION type TOKEN_LPAREN paramslist TOKEN_RPAREN TOKEN_ASSIGN TOKEN_LCURLY TOKEN_RCURLY\t\t\t\t\t{$$ = decl_create($1, type_create(TYPE_FUNCTION, $4, $6, 0), 0, 0, 0);}\n\t\t\t\t;\n\n\/* ========================= STANDARD, CONSTANT, AND EXPRESSION DECLARATIONS ========================= *\/\n\n\/\/standard declarations do not involve variable initialization\nstddecl\t\t\t: ident TOKEN_COLON type \t\t\t\t\t\t\t\t\t\t\t{$$ = decl_create($1, $3, 0, 0, 0);}\t\t\t\t\t\t\t\t\t\/\/ may declare a basic type\n\t\t\t\t| ident TOKEN_COLON sizearr\t\t\t\t\t\t\t\t\t\t\t{$$ = decl_create($1, $3, 0, 0, 0);}\t\t\t\t\t\t\t\t\t\/\/ may declare an array\n\t\t\t\t;\n\n\/\/constant declarations involve variable initialization with a constant value\ncstdecl\t\t\t: ident TOKEN_COLON type TOKEN_ASSIGN value\t\t\t\t\t\t\t{$$ = decl_create($1, $3, expr_create_integer_literal($5), 0, 0);}\t\t\t\t\t\t\t\t\t\t\/\/ positive integers\n\t\t\t\t| ident TOKEN_COLON type TOKEN_ASSIGN TOKEN_MINUS value\t\t\t\t{$$ = decl_create($1, $3, expr_create(EXPR_NEG, expr_create_integer_literal($6), 0), 0, 0);}\t\t\t\/\/ accounts for negative integers\n\t\t\t\t| ident TOKEN_COLON type TOKEN_ASSIGN string\t\t\t\t\t\t{$$ = decl_create($1, $3, expr_create_string_literal($5), 0, 0);}\n\t\t\t\t| ident TOKEN_COLON type TOKEN_ASSIGN char\t\t\t\t\t\t\t{$$ = decl_create($1, $3, expr_create_char_literal($5), 0, 0);}\n\t\t\t\t| ident TOKEN_COLON type TOKEN_ASSIGN true\t\t\t\t\t\t\t{$$ = decl_create($1, $3, expr_create_boolean_literal($5), 0, 0);}\n\t\t\t\t| ident TOKEN_COLON type TOKEN_ASSIGN false\t\t\t\t\t\t\t{$$ = decl_create($1, $3, expr_create_boolean_literal($5), 0, 0);}\n\t\t\t\t| ident TOKEN_COLON sizearr TOKEN_ASSIGN expr\t\t\t\t\t\t{$$ = decl_create($1, $3, $5, 0, 0);}\n\t\t\t\t;\n\n\/\/expression declarations involve variable initialization with an expression or a constant\nexpdecl\t\t\t: ident TOKEN_COLON type TOKEN_ASSIGN expr\t\t\t\t\t\t\t{$$ = decl_create($1, $3, $5, 0, 0);}\n\t\t\t\t| ident TOKEN_COLON array TOKEN_ASSIGN expr\t\t\t\t\t\t\t{$$ = decl_create($1, $3, $5, 0, 0);}\n\t\t\t\t;\n\n\/* ========================= STATEMENT PRODUCTION RULES ========================= *\/\n\n\/\/list of both balanced and unbalanced statements\nstmtlist\t\t: balanced stmtlist\t\t\t{$$ = $1, $1->next = $2;}\t\n\t\t\t\t| unbalanced stmtlist\t\t{$$ = $1, $1->next = $2;}\n\t\t\t\t| balanced\t\t\t\t\t{$$ = $1;}\n\t\t\t\t| unbalanced\t\t\t\t{$$ = $1;}\n\t\t\t\t;\n\n\/\/all of the possible unbalanced statements (if\/else\/for)\nunbalanced\t\t: TOKEN_FOR TOKEN_LPAREN exprfor TOKEN_SEMICOLON exprfor TOKEN_SEMICOLON exprfor TOKEN_RPAREN unbalanced\t{$$ = stmt_create(STMT_FOR, 0, $3, $5, $7, $9, 0, 0);}\t\t\/\/ for() with an unbalanced statement following it \n\t\t\t\t| TOKEN_IF TOKEN_LPAREN expr TOKEN_RPAREN balanced\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{$$ = stmt_create(STMT_IF, 0, 0, $3, 0, $5, 0, 0);}\t\t\t\/\/ lone if statement is automatically unbalanced\n\t\t\t\t| TOKEN_IF TOKEN_LPAREN expr TOKEN_RPAREN unbalanced\t\t\t\t\t\t\t\t\t\t\t\t\t\t{$$ = stmt_create(STMT_IF, 0, 0, $3, 0, $5, 0, 0);}\t\t\t\/\/ lone if statement is automatically unbalanced\n\t\t\t\t| TOKEN_IF TOKEN_LPAREN expr TOKEN_RPAREN balanced TOKEN_ELSE unbalanced\t\t\t\t\t\t\t\t\t{$$ = stmt_create(STMT_IF_ELSE, 0, 0, $3, 0, $5, $7, 0);}\t\/\/ if-else statement with only one balanced statement\n\t\t\t\t;\n\t\t\t\t\n\/\/all of the possible balanced statements (if\/else\/for)\nbalanced\t\t: TOKEN_FOR TOKEN_LPAREN exprfor TOKEN_SEMICOLON exprfor TOKEN_SEMICOLON exprfor TOKEN_RPAREN balanced\t\t{$$ = stmt_create(STMT_FOR, 0, $3, $5, $7, $9, 0, 0);}\t\t\/\/ for(expr) with a balanced statement following it\n\t\t\t\t| TOKEN_IF TOKEN_LPAREN expr TOKEN_RPAREN balanced TOKEN_ELSE balanced\t\t\t\t\t\t\t\t\t\t{$$ = stmt_create(STMT_IF_ELSE, 0, 0, $3, 0, $5, $7, 0);}\t\/\/ if statement that is balanced (both statements)\n\t\t\t\t| otherstmt\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ any one of the balanced statements below\n\t\t\t\t;\n\n\/\/the non-if\/else\/for statements that are by definition balanced\notherstmt\t\t: TOKEN_RETURN TOKEN_SEMICOLON\t\t\t\t{$$ = stmt_create(STMT_RETURN, 0, 0, 0, 0, 0, 0, 0);}\t\t\t\t\/\/ return nothing statement \n\t\t\t\t| TOKEN_RETURN expr TOKEN_SEMICOLON\t\t\t{$$ = stmt_create(STMT_RETURN, 0, 0, $2, 0, 0, 0, 0);}\t\t\t\t\/\/ return expression statement \n\t\t\t\t| TOKEN_PRINT TOKEN_SEMICOLON\t\t\t\t{$$ = stmt_create(STMT_PRINT, 0, 0, 0, 0, 0, 0, 0);}\t\t\t\t\/\/ print nothing statement\n\t\t\t\t| TOKEN_PRINT exprlist TOKEN_SEMICOLON\t\t{$$ = stmt_create(STMT_PRINT, 0, 0, $2, 0, 0, 0, 0);}\t\t\t\t\/\/ print expressions statement \n\t\t\t\t| stddecl TOKEN_SEMICOLON\t\t\t\t\t{$$ = stmt_create(STMT_DECL, $1, 0, 0, 0, 0, 0, 0);}\t\t\t\t\/\/ standard declaration statement \n\t\t\t\t| expdecl TOKEN_SEMICOLON\t\t\t\t\t{$$ = stmt_create(STMT_DECL, $1, 0, 0, 0, 0, 0, 0);}\t\t\t\t\/\/ expression declaration statement\n\t\t\t\t| expr TOKEN_SEMICOLON\t\t\t\t\t\t{$$ = stmt_create(STMT_EXPR, 0, 0, $1, 0, 0, 0, 0);}\t\t\t\t\/\/ expression statement\n\t\t\t\t| TOKEN_LCURLY stmtlist TOKEN_RCURLY\t\t{$$ = stmt_create(STMT_BLOCK, 0, 0, 0, 0, $2, 0, 0);}\t\t\t\t\/\/ block statement of 'stmtlists'\n\t\t\t\t;\n\n\/* ========================= TYPE PRODUCTION RULES ========================= *\/\n\n\/\/basic types used for declaring variables and functions\ntype\t\t\t: TOKEN_INTEGER\t\t{$$ = type_create(TYPE_INTEGER, 0, 0, 0);}\n\t\t\t\t| TOKEN_STRING\t\t{$$ = type_create(TYPE_STRING, 0, 0, 0);}\n\t\t\t\t| TOKEN_CHAR\t\t{$$ = type_create(TYPE_CHAR, 0, 0, 0);}\n\t\t\t\t| TOKEN_BOOLEAN\t\t{$$ = type_create(TYPE_BOOLEAN, 0, 0, 0);}\n\t\t\t\t| TOKEN_VOID\t\t{$$ = type_create(TYPE_VOID, 0, 0, 0);}\t\t\t\/\/ must later typecheck to make sure only functions are of type void\n\t\t\t\t;\n\n\/\/the array type; split from the 'type' production since it is more specialized\narray\t\t\t: sizearr\t\t\t{$$ = $1;}\n\t\t\t\t| nosizearr\t\t\t{$$ = $1;}\n\t\t\t\t;\n\n\/\/array with a given size\nsizearr \t\t: TOKEN_ARRAY TOKEN_LBRACKET value TOKEN_RBRACKET type\t\t\t\t{$$ = type_create(TYPE_ARRAY, $5, 0, $3);}\t\t\/\/ this production describes a one-dimensional array of type 'type'\n\t\t\t\t| TOKEN_ARRAY TOKEN_LBRACKET value TOKEN_RBRACKET sizearr\t\t\t{$$ = type_create(TYPE_ARRAY, $5, 0, $3);}\t\t\/\/ this production describes n-dimensional arrays, must eventually take a 'type'\n\t\t\t\t;\n\n\/\/array without a given size\nnosizearr\t\t: TOKEN_ARRAY TOKEN_LBRACKET TOKEN_RBRACKET type\t\t\t\t\t{$$ = type_create(TYPE_ARRAY, $4, 0, 0);}\t\t\/\/ this production describes a one-dimensional array of type 'type'\n\t\t\t\t| TOKEN_ARRAY TOKEN_LBRACKET TOKEN_RBRACKET nosizearr\t\t\t\t{$$ = type_create(TYPE_ARRAY, $4, 0, 0);}\t\t\/\/ this production describes n-dimensional arrays, must eventually take a 'type'\n\t\t\t\t;\n\n\/* ========================= EXPRESSION PRODUCTION RULES ========================= *\/\n\n\/\/highest priority, an expression itself\nexpr\t\t\t: expr TOKEN_ASSIGN logor\t\t\t\t\t\t\t{$$ = expr_create(EXPR_ASSIGN, $1, $3);}\t\t\t\t\t\t\t\/\/ multiple assignments on 'logors'\t\t\t\t\t\t\t\n\t\t\t\t| logor\t\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ an expression can be anything below; they bubble up\n\t\t\t\t;\n\n\/\/next highest priority after logical and\nlogor\t\t\t: logor TOKEN_OR logand\t\t\t\t\t\t\t\t{$$ = expr_create(EXPR_OR, $1, $3);}\t\t\t\t\t\t\t\t\/\/ multiple or operations on 'logands'\n\t\t\t\t| logand\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ can just be a 'logand'\n\t\t\t\t;\n\n\/\/next highest priority after comparison operators\nlogand\t\t\t: logand TOKEN_AND comparison\t\t\t\t\t\t{$$ = expr_create(EXPR_AND, $1, $3);}\t\t\t\t\t\t\t\t\/\/ multiple and operations on 'comparisons'\n\t\t\t\t| comparison\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ can just be a 'comparison'\n\t\t\t\t;\n\n\/\/next highest priority after add and subtract\ncomparison\t\t: comparison TOKEN_LESS addsub\t\t\t\t\t\t{$$ = expr_create(EXPR_LESS, $1, $3);}\t\t\t\t\t\t\t\t\/\/ multiple less comparisons on 'addsubs'\n\t\t\t\t| comparison TOKEN_LE addsub\t\t\t\t\t\t{$$ = expr_create(EXPR_LE, $1, $3);}\t\t\t\t\t\t\t\t\/\/ multiple lequal comparisons on 'addsubs'\n\t\t\t\t| comparison TOKEN_GREATER addsub\t\t\t\t\t{$$ = expr_create(EXPR_GREATER, $1, $3);}\t\t\t\t\t\t\t\/\/ multiple greater comparisons on 'addsubs'\n\t\t\t\t| comparison TOKEN_GE addsub\t\t\t\t\t\t{$$ = expr_create(EXPR_GE, $1, $3);}\t\t\t\t\t\t\t\t\/\/ multiple gequal comparisons on 'addsubs'\n\t\t\t\t| comparison TOKEN_EQUAL addsub\t\t\t\t\t\t{$$ = expr_create(EXPR_EQUAL, $1, $3);}\t\t\t\t\t\t\t\t\/\/ multiple equal comparisons on 'addsubs'\n\t\t\t\t| comparison TOKEN_NEQUAL addsub\t\t\t\t\t{$$ = expr_create(EXPR_NEQUAL, $1, $3);}\t\t\t\t\t\t\t\/\/ multiple nequals comparisons on 'addsubs'\n\t\t\t\t| addsub\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ can just be an 'addsub'\n\t\t\t\t;\n\n\/\/next highest priority after mult, div, and mod\naddsub\t\t\t: addsub TOKEN_PLUS multdiv\t\t\t\t\t\t\t{$$ = expr_create(EXPR_ADD, $1, $3);}\t\t\t\t\t\t\t\t\/\/ adds multiple 'multdivs'\n\t\t\t\t| addsub TOKEN_MINUS multdiv\t\t\t\t\t\t{$$ = expr_create(EXPR_SUB, $1, $3);}\t\t\t\t\t\t\t\t\/\/ subtracts multiple 'multdivs'\n\t\t\t\t| multdiv \t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ can just be a 'multdiv'\n\t\t\t\t;\n\n\/\/next highest priority after exponentiation\nmultdiv\t\t\t: multdiv TOKEN_MULTIPLY expon\t\t\t\t\t\t{$$ = expr_create(EXPR_MULT, $1, $3);}\t\t\t\t\t\t\t\t\/\/ multiplies multiple 'expons'\n\t\t\t\t| multdiv TOKEN_DIVIDE expon\t\t\t\t\t\t{$$ = expr_create(EXPR_DIV, $1, $3);}\t\t\t\t\t\t\t\t\/\/ divides multiple 'expons'\n\t\t\t\t| multdiv TOKEN_MOD expon\t\t\t\t\t\t\t{$$ = expr_create(EXPR_MOD, $1, $3);}\t\t\t\t\t\t\t\t\/\/ modulos multiple 'expons'\n\t\t\t\t| expon\t\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ can just be an 'expon'\n\t\t\t\t;\n\n\/\/next highest priority after unary operations\nexpon\t\t\t: expon TOKEN_CARET unary\t\t\t\t\t\t\t{$$ = expr_create(EXPR_EXPON, $1, $3);}\t\t\t\t\t\t\t\t\/\/ exponentiates multiple 'unaries'\n\t\t\t\t| unary\t\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ can just be a 'unary'\n\t\t\t\t;\n\n\/\/next highest priority after increment and decrement\nunary\t\t\t: TOKEN_MINUS unary\t\t\t\t\t\t\t\t\t{$$ = expr_create(EXPR_NEG, $2, 0);}\t\t\t\t\t\t\t\t\/\/ unary minus\n\t\t\t\t| TOKEN_NOT unary\t\t\t\t\t\t\t\t\t{$$ = expr_create(EXPR_NOT, $2, 0);}\t\t\t\t\t\t\t\t\/\/ unary not \n\t\t\t\t| incdec\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ can just be an 'incdec'\n\t\t\t\t;\n\n\/\/next highest priority after groups\nincdec\t\t\t: incdec TOKEN_INCREMENT\t\t\t\t\t\t\t{$$ = expr_create(EXPR_INC, $1, 0);}\t\t\t\t\t\t\t\t\/\/ incrementing a 'group' \n\t\t\t\t| incdec TOKEN_DECREMENT\t\t\t\t\t\t\t{$$ = expr_create(EXPR_DEC, $1, 0);}\t\t\t\t\t\t\t\t\/\/ decrementing a 'group' \n\t\t\t\t| group\t\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ can just be a 'group'\n\t\t\t\t;\n\n\/\/next highest priority after atomics\ngroup\t\t\t: TOKEN_LPAREN expr TOKEN_RPAREN \t\t\t\t\t{$$ = expr_create(EXPR_GROUP, $2, 0);}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ an expresison within parentheses\n\t\t\t\t| ident bracket\t\t\t\t\t\t\t\t\t\t{$$ = expr_create(EXPR_ARRIND, expr_create_name($1), $2);}\t\t\t\t\t\t\t\t\t\t\/\/ indexing an element of an array \n\t\t\t\t| ident TOKEN_LPAREN exprlist TOKEN_RPAREN\t\t\t{$$ = expr_create(EXPR_FCALL, expr_create_name($1), expr_create(EXPR_ARGS, $3, 0));}\t\t\t\/\/ result of a function call (with parameters)\n\t\t\t\t| ident TOKEN_LPAREN TOKEN_RPAREN\t\t\t\t\t{$$ = expr_create(EXPR_FCALL, expr_create_name($1), 0);}\t\t\t\t\t\t\t\t\t\t\/\/ result of a function call (without parameters)\n\t\t\t\t| TOKEN_LCURLY exprlist TOKEN_RCURLY\t\t\t\t{$$ = expr_create(EXPR_CURLS, $2, 0);}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ used in array initializer lists\n\t\t\t\t| atomic\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ can just be an 'atomic'\n\t\t\t\t;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\/\/identifier that is declared with a type\nident \t\t\t: TOKEN_IDENT\t\t\t\t\t\t\t\t\t\t{$$ = strdup(yytext);}\n\t\t\t\t;\n\n\/\/integer literal that is declared with a type\nvalue\t\t\t: TOKEN_INTLIT\t\t\t\t\t\t\t\t\t\t{$$ = atoi(yytext);}\n\t\t\t\t;\n\n\/\/string literal that is declared with a type\nstring\t\t\t: TOKEN_STRINGLIT\t\t\t\t\t\t\t\t\t{$$ = strdup(yytext);}\n\t\t\t\t;\n\n\/\/char literal that is declared with a type\nchar\t\t\t: TOKEN_CHARLIT\t\t\t\t\t\t\t\t\t\t{if(yytext[1] == '\\\\') { if(yytext[2] == 'n') {$$ = 10;} else if(yytext[2] == '0') {$$ = 0;} else {$$ = yytext[2];} } else {$$ = yytext[1];} }\n\t\t\t\t;\n\n\/\/true literal that is declared with a type\ntrue\t\t\t: TOKEN_TRUE\t\t\t\t\t\t\t\t\t\t{$$ = 1;}\n\t\t\t\t;\n\n\/\/false literal that is declared with a type\nfalse\t\t\t: TOKEN_FALSE\t\t\t\t\t\t\t\t\t\t{$$ = 0;}\n\t\t\t\t;\n\n\/\/the atomic types used in an expression\natomic\t\t\t: ident\t\t\t\t\t\t\t\t\t\t\t\t{$$ = expr_create_name($1);}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t| value\t\t\t\t\t\t\t\t\t\t\t\t{$$ = expr_create_integer_literal($1);}\n\t\t\t\t| string\t\t\t\t\t\t\t\t\t\t\t{$$ = expr_create_string_literal($1);}\n\t\t\t\t| char\t\t\t\t\t\t\t\t\t\t\t\t{$$ = expr_create_char_literal($1);}\n\t\t\t\t| true\t\t\t\t\t\t\t\t\t\t\t\t{$$ = expr_create_boolean_literal($1);}\n\t\t\t\t| false\t\t\t\t\t\t\t\t\t\t\t\t{$$ = expr_create_boolean_literal($1);}\n\t\t\t\t;\n\n\/* ========================= MISCELLANEOUS PRODUCTION RULES ========================= *\/\n\n\/\/expressions in for-loop fields may be expressions or omitted\nexprfor\t\t\t: expr\t\t\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\n\t\t\t\t|\t\t\t\t\t\t\t\t\t\t\t\t\t\t{$$ = 0;}\n\t\t\t\t;\n\n\/\/possibly multiple brackets used for indexing an array\nbracket\t\t\t: TOKEN_LBRACKET expr TOKEN_RBRACKET bracket\t\t\t{$$ = expr_create(EXPR_BRACKET, $2, $4);}\n\t\t\t\t| TOKEN_LBRACKET expr TOKEN_RBRACKET\t\t\t\t\t{$$ = $2;}\n\t\t\t\t;\n\n\n\n\/\/list of expressions for print statement and function call\nexprlist\t\t: expr TOKEN_COMMA exprlist\t\t\t\t\t\t\t\t{$$ = expr_create(EXPR_ARGS, $1, $3);}\n\t\t\t\t| expr\t\t\t\t\t\t\t\t\t\t\t\t\t{$$ = $1;}\n\t\t\t\t;\n\n\/\/list of parameters that can be used to declare a function\nparamslist\t\t: ident TOKEN_COLON type TOKEN_COMMA paramslist\t\t\t{$$ = param_list_create($1, $3, $5);}\t\n\t\t\t\t| ident TOKEN_COLON type\t\t\t\t\t\t\t\t{$$ = param_list_create($1, $3, 0);}\n\t\t\t\t| ident TOKEN_COLON nosizearr TOKEN_COMMA paramslist\t{$$ = param_list_create($1, $3, $5);}\n\t\t\t\t| ident TOKEN_COLON nosizearr\t\t\t\t\t\t\t{$$ = param_list_create($1, $3, 0);}\n\t\t\t\t;\n\n%%\n\/\/ in the case of a failed parse, emit an error message along with estimated line number\nint yyerror(char* str) {\n\tprintf(\"\\033[0;31mERROR\\033[0;0m: parse failed near line %d\\n\", yylineno);\n\treturn 1;\n}","avg_line_length":50.3051771117,"max_line_length":224,"alphanum_fraction":0.6360632651} -{"size":492,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"file-expand-02.hac\":6:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(imported-root-list) [4:1..19]\n#STATE#\t(type-ref) [6:1..4]\n#STATE#\tlist<(declaration-id)>: (declaration-id): identifier: error ... [6:6..10]\n#STATE#\tidentifier: here [6:12..15]\nin state #STATE#, possible rules are:\n\ttype_instance_declaration: type_id instance_id_list . ';' (#RULE#)\n\tinstance_id_list: instance_id_list . ',' instance_id_item (#RULE#)\nacceptable tokens are: \n\t',' (shift)\n\t';' (shift)\n","avg_line_length":32.8,"max_line_length":81,"alphanum_fraction":0.6910569106} -{"size":236,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"026.hac\":6:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\tlist<(root_item)>: ... [5:1..6]\n#STATE#\t} [6:1]\nin state #STATE#, possible rules are:\n\t$accept: module . $end (#RULE#)\nacceptable tokens are: \n\t$end (shift)\n","avg_line_length":21.4545454545,"max_line_length":39,"alphanum_fraction":0.6525423729} -{"size":418,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"007.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [3:1..7]\n#STATE#\tidentifier: barbar [3:9..14]\n#STATE#\t< [3:15]\nin state #STATE#, possible rules are:\n\tdeclare_proc_proto: optional_export optional_template_specification def_or_proc ID . optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":27.8666666667,"max_line_length":136,"alphanum_fraction":0.7344497608} -{"size":506,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"023.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: template [3:1..8]\n#STATE#\t< [3:10]\n#STATE#\tlist<(template-formal-decl)>: (template-formal-decl) ... [3:11..24]\n#STATE#\t; [3:25]\n#STATE#\tparamtype: pbool [3:27..31]\n#STATE#\tidentifier: water [3:33..37]\n#STATE#\t[ [3:38]\n#STATE#\t(id-expr): H [3:39]\n#STATE#\t, [3:40]\nin state #STATE#, possible rules are:\n\tbracketed_dense_range: '[' expr . ']' (#RULE#)\nacceptable tokens are: \n\t']' (shift)\n","avg_line_length":25.3,"max_line_length":75,"alphanum_fraction":0.6324110672} -{"size":613,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"050.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: template [3:1..8]\n#STATE#\tlist<(template-formal-decl)>: ... [3:10..11]\n#STATE#\t< [3:12]\n#STATE#\tlist<(template-formal-decl)>: (template-formal-decl) ... [3:13..21]\n#STATE#\t= [3:22]\nin state #STATE#, possible rules are:\n\ttemplate_formal_decl_nodefault_list_in_angles: '<' template_formal_decl_nodefault_list . '>' (#RULE#)\n\ttemplate_formal_decl_nodefault_list: template_formal_decl_nodefault_list . ';' template_formal_decl_nodefault (#RULE#)\nacceptable tokens are: \n\t'>' (shift)\n\t';' (shift)\n","avg_line_length":34.0555555556,"max_line_length":120,"alphanum_fraction":0.7112561175} -{"size":420,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"003.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [3:1..7]\n#STATE#\tidentifier: bad_fang [3:9..16]\n#STATE#\t< [3:18]\nin state #STATE#, possible rules are:\n\tdeclare_proc_proto: optional_export optional_template_specification def_or_proc ID . optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":28.0,"max_line_length":136,"alphanum_fraction":0.7357142857} -{"size":492,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"file-expand-01.hac\":6:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(imported-root-list) [4:1..19]\n#STATE#\t(type-ref) [6:1..4]\n#STATE#\tlist<(declaration-id)>: (declaration-id): identifier: error ... [6:6..10]\n#STATE#\tidentifier: here [6:12..15]\nin state #STATE#, possible rules are:\n\ttype_instance_declaration: type_id instance_id_list . ';' (#RULE#)\n\tinstance_id_list: instance_id_list . ',' instance_id_item (#RULE#)\nacceptable tokens are: \n\t',' (shift)\n\t';' (shift)\n","avg_line_length":32.8,"max_line_length":81,"alphanum_fraction":0.6910569106} -{"size":1066,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: S $end\n\n 1 S: T\n\n 2 T: A B\n\n 3 A: 'A'\n\n 4 B: 'B'\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'A' (65) 3\n'B' (66) 4\nerror (256)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (5)\n vlevo: 0\nS (6)\n vlevo: 1, vpravo: 0\nT (7)\n vlevo: 2, vpravo: 1\nA (8)\n vlevo: 3, vpravo: 2\nB (9)\n vlevo: 4, vpravo: 2\n\n\nState 0\n\n 0 $accept: . S $end\n 1 S: . T\n 2 T: . A B\n 3 A: . 'A'\n\n 'A' posunout a p\u0159ej\u00edt do stavu 1\n\n S p\u0159ej\u00edt do stavu 2\n T p\u0159ej\u00edt do stavu 3\n A p\u0159ej\u00edt do stavu 4\n\n\nState 1\n\n 3 A: 'A' .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (A)\n\n\nState 2\n\n 0 $accept: S . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 5\n\n\nState 3\n\n 1 S: T .\n\n $v\u00fdchoz\u00ed reduce using rule 1 (S)\n\n\nState 4\n\n 2 T: A . B\n 4 B: . 'B'\n\n 'B' posunout a p\u0159ej\u00edt do stavu 6\n\n B p\u0159ej\u00edt do stavu 7\n\n\nState 5\n\n 0 $accept: S $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 6\n\n 4 B: 'B' .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (B)\n\n\nState 7\n\n 2 T: A B .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (T)\n","avg_line_length":10.66,"max_line_length":46,"alphanum_fraction":0.5243902439} -{"size":516,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"035.hac\":4:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [4:1..7]\n#STATE#\tidentifier: sum_diff [4:9..16]\n#STATE#\t( [4:17]\n#STATE#\t(chan-type) [4:18..27]\n#STATE#\tlist<(port-formal-id)>: (port-formal-id): identifier: L1 ... [4:29..30]\n#STATE#\t, [4:31]\n#STATE#\tkeyword: chan [4:33..36]\nin state #STATE#, possible rules are:\n\tport_formal_id_list: port_formal_id_list ',' . port_formal_id (#RULE#)\nacceptable tokens are: \n\tID (shift)\n","avg_line_length":27.1578947368,"max_line_length":79,"alphanum_fraction":0.6647286822} -{"size":374,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"oper-05.hac\":8:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (instance-decl) ... [5:1--6:10]\n#STATE#\t[ [8:1]\n#STATE#\t(id-expr): N [8:3]\n#STATE#\t= [8:4]\nin state #STATE#, possible rules are:\n\tguarded_instance_management: expr . RARROW instance_management_list_optional (#RULE#)\nacceptable tokens are: \n\tRARROW (shift)\n","avg_line_length":26.7142857143,"max_line_length":87,"alphanum_fraction":0.692513369} -{"size":450,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"018.hac\":6:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(template-formal-decl-list-pair) [3:10..41]\n#STATE#\tkeyword: defproc [4:1..7]\n#STATE#\tidentifier: barbar [4:9..14]\n#STATE#\t$end\nin state #STATE#, possible rules are:\n\tdeclare_proc_proto: optional_export optional_template_specification def_or_proc ID . optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":30.0,"max_line_length":136,"alphanum_fraction":0.7422222222} -{"size":667,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"042.hac\":7:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (instance-decl) ... [4:1--6:8]\n#STATE#\t(array-concatenation) [7:1]\n#STATE#\t= [7:3]\n#STATE#\t{ [7:5]\n#STATE#\tlist<(expr)>: (array-concatenation) ... [7:6]\n#STATE#\t, [7:7]\n#STATE#\t} [7:9]\nin state #STATE#, possible rules are:\n\tmandatory_complex_aggregate_reference_list: mandatory_complex_aggregate_reference_list ',' . complex_aggregate_reference (#RULE#)\nacceptable tokens are: \n\t'{' (shift)\n\t'(' (shift)\n\t'-' (shift)\n\t'~' (shift)\n\t'!' (shift)\n\tID (shift)\n\tFLOAT (shift)\n\tINT (shift)\n\tSTRING (shift)\n\tSCOPE (shift)\n\tBOOL_TRUE (shift)\n\tBOOL_FALSE (shift)\n","avg_line_length":23.8214285714,"max_line_length":131,"alphanum_fraction":0.664167916} -{"size":418,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"011.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [3:1..7]\n#STATE#\tidentifier: barbar [3:9..14]\n#STATE#\t< [3:15]\nin state #STATE#, possible rules are:\n\tdeclare_proc_proto: optional_export optional_template_specification def_or_proc ID . optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":27.8666666667,"max_line_length":136,"alphanum_fraction":0.7344497608} -{"size":40364,"ext":"bison","lang":"Bison","max_stars_count":59.0,"content":"%{\n\/*\n\n YABASIC --- a simple Basic Interpreter\n written by Marc Ihm 1995-2021\n more info at www.yabasic.de\n\n BISON part\n \n This file is part of yabasic and may be copied under the terms of\n MIT License which can be found in the file LICENSE.\n\n*\/\n\n\n#ifndef YABASIC_INCLUDED\n#include \"yabasic.h\" \/* definitions of yabasic *\/\n#endif\n\n#ifdef WINDOWS\n#include \n#else\n#ifdef HAVE_MALLOC_H\n#include \n#else\n#include \n#endif\n#endif\n\n#if HAVE_ALLOCA_H\n#ifndef WINDOWS\n#include \n#endif\n#endif\n\nvoid __yy_bcopy(char *,char *,int); \/* prototype missing *\/\n\nint tileol; \/* true, read should go to eon of line *\/\nint function_type=ftNONE; \/* contains function type while parsing function *\/\nchar *current_function=NULL; \/* name of currently parsed function *\/\nint exported=FALSE; \/* true, if function is exported *\/\nint yylex(void);\nextern struct library *current_library; \/* defined in main.c: name of currently parsed library *\/\nextern int yylineno; \/* defined in flex *\/\nint missing_endif=0;\nint missing_endif_line=0;\nint missing_endsub=0;\nint missing_endsub_line=0;\nint missing_next=0;\nint missing_next_line=0;\nint missing_wend=0;\nint missing_wend_line=0;\nint missing_until=0;\nint missing_until_line=0;\nint missing_loop=0;\nint missing_loop_line=0;\nint loop_nesting=0;\nint switch_nesting=0;\n\nvoid report_if_missing(char *text,int eof) {\n if (missing_loop || missing_endif || missing_next || missing_until || missing_wend) {\n if (eof) {\n error_without_position(sERROR,text);\n } else {\n error(sERROR,text);\n }\n collect_missing_clauses(string,-1);\n if (string[0]) {\n error_without_position(sERROR,string);\n }\n }\n}\n\nvoid report_conflicting_close(char *text,int missing) {\n error(sERROR,text);\n collect_missing_clauses(string,missing);\n error(sERROR,string);\n}\n\nvoid collect_missing_clauses(char *string, char exclude) {\n char buff[INBUFFLEN];\n \n string[0]='\\0';\n if (missing_endif && exclude!='e') {\n if (string[0]) strcat(string,\"; \");\n sprintf(buff,\"if-statement starting at line %d has seen no 'endif' yet\",missing_endif_line);\n strcat(string, buff);\n }\n\n if (missing_next && exclude!='n') {\n if (string[0]) strcat(string,\"; \");\n sprintf(buff,\"for-loop starting at line %d has seen no 'next' yet\",missing_next_line);\n strcat(string, buff);\n }\n\n if (missing_wend && exclude!='w') {\n if (string[0]) strcat(string,\"; \");\n sprintf(buff,\"while-loop starting at line %d has seen no 'wend' yet\",missing_wend_line);\n strcat(string, buff);\n }\n\n if (missing_until && exclude!='u') {\n if (string[0]) strcat(string,\"; \");\n sprintf(buff,\"repeat-loop starting at line %d has seen no 'until' yet\",missing_until_line);\n strcat(string, buff);\n }\n \n if (missing_loop && exclude!='l') {\n if (string[0]) strcat(string,\"; \");\n sprintf(buff,\"do-loop starting at line %d has seen no 'loop' yet\",missing_loop_line);\n strcat(string, buff);\n }\n}\n%}\n\n%locations\n%union {\n double fnum; \/* double number *\/\n int inum; \/* integer number *\/\n int token; \/* token of command *\/\n int sep; \/* number of newlines *\/\n char *string; \/* quoted string *\/\n char *symbol; \/* general symbol *\/\n char *digits; \/* string of digits *\/\n char *docu;\t\t\/* embedded documentation *\/\n}\n\n%type const\n%type number\n%type symbol_or_lineno\n%type function_name\n%type function_or_array\n%type stringfunction_or_array\n%type tSEP sep_list\n\n%token tFNUM\n%token tSYMBOL\n%token tSTRSYM\n%token tDOCU\n%token tDIGITS\n%token tHEXDIGITS\n%token tBINDIGITS\n%token tSTRING\n\n%token tFOR tTO tSTEP tNEXT tWHILE tWEND tREPEAT tUNTIL tIMPORT\n%token tGOTO tGOSUB tLABEL tON tSUB tENDSUB tLOCAL tSTATIC tEXPORT tERROR \n%token tEXECUTE tEXECUTE2 tCOMPILE tRUNTIME_CREATED_SUB\n%token tINTERRUPT tBREAK tCONTINUE tSWITCH tSEND tCASE tDEFAULT tLOOP tDO tSEP tEOPROG\n%token tIF tTHEN tELSE tELSIF tENDIF tIMPLICITENDIF tUSING\n%token tPRINT tINPUT tRETURN tDIM tEND tEXIT tAT tSCREEN \n%token tREVERSE tCOLOUR tBACKCOLOUR\n%token tAND tOR tNOT tBITNOT tEOR tSHL tSHR\n%token tNEQ tLEQ tGEQ tLTN tGTN tEQU tPOW\n%token tREAD tDATA tRESTORE\n%token tOPEN tCLOSE tSEEK tTELL tAS tREADING tWRITING tORIGIN\n%token tWINDOW tDOT tLINE tCIRCLE tTRIANGLE tTEXT tCLEAR tFILL tPRINTER\n%token tWAIT tBELL tLET tARDIM tARSIZE tBIND\n%token tRECT tGETBIT tPUTBIT tGETCHAR tPUTCHAR tNEW tCURVE\n\n%token tSIN tASIN tCOS tACOS tTAN tATAN tEXP tLOG\n%token tSQRT tSQR tMYEOF tABS tSIG\n%token tINT tCEIL tFLOOR tFRAC tROUND tMOD tRAN tVAL tLEFT tRIGHT tMID tLEN tMIN tMAX\n%token tSTR tINKEY tCHR tASC tHEX tDEC tBIN tUPPER tLOWER tMOUSEX tMOUSEY tMOUSEB tMOUSEMOD\n%token tTRIM tLTRIM tRTRIM tINSTR tRINSTR tCHOMP\n%token tSYSTEM tSYSTEM2 tPEEK tPEEK2 tPOKE tFRNFN_CALL tFRNFN_CALL2 tFRNFN_SIZE\n%token tFRNBF_ALLOC tFRNBF_FREE tFRNBF_SIZE tFRNBF_DUMP tFRNBF_SET tFRNBF_GET tFRNBF_GET2\n%token tFRNBF_GET_BUFFER tFRNBF_SET_BUFFER\n%token tDATE tTIME tTOKEN tTOKENALT tSPLIT tSPLITALT tGLOB\n%token tSTART_PROGRAM tSTART_EXPRESSION tSTART_STRING_EXPRESSION tSTART_ASSIGNMENT tSTART_FUNCTION_DEFINITION\n%token tEVAL tEVAL2\n\n%start program_or_expression\n\n%left tOR\n%left tAND\n%left tNOT\n%left tNEQ\n%left tGEQ\n%left tLEQ\n%left tLTN\n%left tGTN\n%left tEQU\n%left '-' '+'\n%left '*' '\/'\n%nonassoc UMINUS\n%left tPOW\n\n%%\n\nprogram_or_expression: tSTART_PROGRAM program\n | tSTART_EXPRESSION expression tEOPROG {YYACCEPT;}\n | tSTART_STRING_EXPRESSION string_expression tEOPROG {YYACCEPT;}\n | tSTART_ASSIGNMENT assignment tEOPROG {YYACCEPT;}\n | tSTART_FUNCTION_DEFINITION function_definition tEOPROG {YYACCEPT;}\n ;\n\nprogram: statement_list tEOPROG {YYACCEPT;}\n ;\n\nstatement_list: statement\n | statement_list {if (severity_so_far >= sERROR) {YYABORT;}} \n tSEP statement\n ;\n\nassignment: string_assignment \n | tLET string_assignment \n | number_assignment\n | tLET number_assignment\n ;\n \nstatement: \/* empty *\/\n | assignment\n | tIMPORT {report_if_missing(\"can not import a library in a loop or an if-statement\",FALSE);}\n | tERROR string_expression {add_command(cERROR);}\n | for_loop \n | switch_number_or_string\n | repeat_loop\n | while_loop\n | do_loop\n | tBREAK {add_command(cPOP_MULTI);create_mybreak(1);if (!loop_nesting && !switch_nesting) lyyerror(sERROR,\"break outside loop or switch\");}\n | tBREAK tDIGITS {add_command(cPOP_MULTI);create_mybreak(atoi($2));if (!loop_nesting && !switch_nesting) lyyerror(sERROR,\"break outside loop or switch\");}\n | tCONTINUE {add_command(cPOP_MULTI);add_command_with_switch_state(cCONTINUE);if (!loop_nesting) lyyerror(sERROR,\"continue outside loop\");}\n | function_definition\n | function_or_array {create_call($1);add_command(cPOP);}\n | stringfunction_or_array {create_call($1);add_command(cPOP);}\n | tLOCAL {if (function_type==ftNONE) lyyerror(sERROR,\"no use for 'local' outside functions\");} local_list\n | tSTATIC {if (function_type==ftNONE) lyyerror(sERROR,\"no use for 'static' outside functions\");} static_list\n | if_clause\n | short_if\n | tGOTO symbol_or_lineno {create_goto((function_type!=ftNONE)?dotify($2,TRUE):$2);}\n | tGOSUB symbol_or_lineno {create_gosub((function_type!=ftNONE)?dotify($2,TRUE):$2);}\n | tON tINTERRUPT tBREAK {create_exception(TRUE);}\n | tON tINTERRUPT tCONTINUE {create_exception(FALSE);}\n | tON expression tGOTO {add_command(cSKIPPER);}\n goto_list {add_command(cNOP);}\n | tON expression tGOSUB {add_command(cSKIPPER);} \n gosub_list {add_command(cNOP);}\n | tLABEL symbol_or_lineno {create_label((function_type!=ftNONE)?dotify($2,TRUE):$2,cLABEL);}\n | open_clause {add_command(cCHECKOPEN);}\n | tCLOSE hashed_number {add_command(cCLOSE);}\n | seek_clause {add_command(cCHECKSEEK);}\n | tCOMPILE string_expression {add_command(cCOMPILE);}\n | tEXECUTE call_list {create_execute(0);add_command(cPOP);add_command(cPOP);}\n | tEXECUTE2 call_list {create_execute(1);add_command(cPOP);add_command(cPOP);}\n | tPRINT printintro printlist {create_colour(0);create_print('n');create_pps(cPOPSTREAM,0);} \n | tPRINT printintro printlist ';' {create_colour(0);create_pps(cPOPSTREAM,0);}\n | tPRINT printintro printlist ',' {create_colour(0);create_print('t');create_pps(cPOPSTREAM,0);}\n | tINPUT {tileol=FALSE;} inputbody\n | tLINE tINPUT {tileol=TRUE;} inputbody\n | tCOLOUR expression ',' expression ',' expression {add_command(cGCOLOUR);}\n | tCOLOUR string_expression {add_command(cGCOLOUR2);}\n | tBACKCOLOUR expression ',' expression ',' expression {add_command(cGBACKCOLOUR);}\n | tBACKCOLOUR string_expression {add_command(cGBACKCOLOUR2);}\n | tREAD readlist\n | tDATA datalist\n | tRESTORE {create_restore(\"\");}\n | tRESTORE symbol_or_lineno {create_restore((function_type!=ftNONE)?dotify($2,TRUE):$2);}\n | tRETURN {if (function_type!=ftNONE) {\n\t add_command(cCLEARSYMREFS);end_symref_chain();\n\t add_command(cPOPSYMLIST);\n create_check_return_value(ftNONE,function_type);\n add_command(cRETURN_FROM_CALL);\n } else {\n add_command(cRETURN_FROM_GOSUB);\n }}\n | tRETURN expression {if (function_type==ftNONE) {lyyerror(sERROR,\"a value can only be returned from a subroutine\"); YYABORT;} add_command(cCLEARSYMREFS);end_symref_chain();add_command(cPOPSYMLIST);create_check_return_value(ftNUMBER,function_type);add_command(cRETURN_FROM_CALL);}\n | tRETURN string_expression {if (function_type==ftNONE) {lyyerror(sERROR,\"can not return value\"); YYABORT;} add_command(cCLEARSYMREFS);end_symref_chain();add_command(cPOPSYMLIST);create_check_return_value(ftSTRING,function_type);add_command(cRETURN_FROM_CALL);}\n | tDIM dimlist\n | tOPEN tWINDOW expression ',' expression {create_openwin(FALSE);}\n | tOPEN tWINDOW expression ',' expression ',' string_expression \n {create_openwin(TRUE);}\n | tWINDOW tORIGIN string_expression {add_command(cMOVEORIGIN);}\n | tDOT coordinates {add_command(cDOT);}\n | tCLEAR tDOT coordinates {add_command(cDOT);putindrawmode(dmCLEAR);}\n | tLINE coordinates to coordinates {create_line(2);}\n | tCLEAR tLINE coordinates to coordinates {create_line(2);putindrawmode(dmCLEAR);}\n | tLINE tTO coordinates {create_line(1);}\n | tLINE coordinates {create_line(1);}\n | tCLEAR tLINE tTO coordinates {create_line(1);putindrawmode(dmCLEAR);}\n | tCLEAR tLINE coordinates {create_line(1);putindrawmode(dmCLEAR);}\n | tPUTBIT string_expression to expression ',' expression ',' string_expression {add_command(cPUTBIT);}\n | tPUTBIT string_expression to expression ',' expression {create_pushstr(\"solid\"); add_command(cPUTBIT);}\n | tPUTCHAR string_expression to expression ',' expression {add_command(cPUTCHAR);}\n | tNEW tCURVE {create_line(-1);}\n | tCLOSE tCURVE {create_line(0);}\n | clear_fill_clause tCIRCLE coordinates ',' expression {add_command(cCIRCLE);putindrawmode(0);}\n | clear_fill_clause tTRIANGLE coordinates to coordinates to coordinates {add_command(cTRIANGLE);putindrawmode(0);}\n | tTEXT coordinates ',' string_expression {add_command(cTEXT1);}\n | tTEXT coordinates ',' string_expression ',' string_expression {add_command(cTEXT2);}\n | tTEXT coordinates ',' string_expression ',' string_expression ',' string_expression {add_command(cTEXT3);}\n | clear_fill_clause tRECT coordinates to coordinates {add_command(cRECT);putindrawmode(0);}\n | tCLOSE tWINDOW {add_command(cCLOSEWIN);}\n | tCLEAR tWINDOW {add_command(cCLEARWIN);}\n | tCLEAR tSCREEN {add_command(cCLEARSCR);}\n | tOPEN tPRINTER {create_openprinter(0);}\n | tOPEN tPRINTER string_expression {create_openprinter(1);}\n | tCLOSE tPRINTER {add_command(cCLOSEPRN);}\n | tWAIT expression {add_command(cWAIT);}\n | tBELL {add_command(cBELL);}\n | tINKEY {create_pushdbl(-1);create_function(fINKEY);add_command(cPOP);}\n | tINKEY '(' ')' {create_pushdbl(-1);create_function(fINKEY);add_command(cPOP);}\n | tINKEY '(' expression ')' {create_function(fINKEY);add_command(cPOP);}\n | tSYSTEM '(' string_expression ')' {create_function(fSYSTEM);\n\tadd_command(cPOP);} \n | tPOKE string_expression ',' string_expression {create_poke('s');}\n | tPOKE string_expression ',' expression {create_poke('d');}\n | tPOKE hashed_number ',' string_expression {create_poke('S');}\n | tPOKE hashed_number ',' expression {create_poke('D');}\n | tEND {add_command(cEND);}\n | tEXIT {create_pushdbl(0);add_command(cEXIT);}\n | tEXIT expression {add_command(cEXIT);}\n | tDOCU {create_docu($1);}\n | tBIND string_expression {add_command(cBIND);}\n | tFRNBF_FREE string_expression {add_command(cFRNBF_FREE);}\n | tFRNBF_SET string_expression ',' expression ',' string_expression ',' expression {add_command(cFRNBF_SET_NUMBER);} \n | tFRNBF_SET string_expression ',' expression ',' string_expression {add_command(cFRNBF_SET_STRING);} \n | tFRNBF_SET_BUFFER string_expression ',' expression ',' string_expression {add_command(cFRNBF_SET_BUFFER);} \n ;\n\n\nclear_fill_clause: \/* empty *\/ {drawmode=0;}\n | tCLEAR {drawmode=dmCLEAR;}\n | tFILL {drawmode=dmFILL;}\n | tCLEAR tFILL {drawmode=dmFILL+dmCLEAR;}\n | tFILL tCLEAR {drawmode=dmFILL+dmCLEAR;}\n ;\n\n\nstring_assignment: tSTRSYM tEQU string_expression {add_command_with_sym_and_diag(cPOPSTRSYM,dotify($1,FALSE),NULL);}\n | tMID '(' string_scalar_or_array ',' expression ',' expression ')' tEQU string_expression {create_changestring(fMID);}\n | tMID '(' string_scalar_or_array ',' expression ')' tEQU string_expression {create_changestring(fMID2);}\n | tLEFT '(' string_scalar_or_array ',' expression ')' tEQU string_expression {create_changestring(fLEFT);}\n | tRIGHT '(' string_scalar_or_array ',' expression ')' tEQU string_expression {create_changestring(fRIGHT);}\n | stringfunction_or_array tEQU string_expression {create_doarray(dotify($1,FALSE),ASSIGNSTRINGARRAY);}\n ;\n\nto: ','\n | tTO\n ;\n\nopen_clause: tOPEN hashed_number ',' string_expression ',' string_expression {create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n | tOPEN hashed_number ',' string_expression {create_myopen(OPEN_HAS_STREAM);}\n | tOPEN hashed_number ',' tPRINTER {create_myopen(OPEN_HAS_STREAM+OPEN_PRINTER);}\n | tOPEN string_expression tFOR tREADING tAS hashed_number {add_command(cSWAP);create_pushstr(\"r\");create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n | tOPEN string_expression tFOR tWRITING tAS hashed_number {add_command(cSWAP);create_pushstr(\"w\");create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n ;\n\nseek_clause: tSEEK hashed_number ',' expression {add_command(cSEEK);}\n | tSEEK hashed_number ',' expression ',' string_expression {add_command(cSEEK2);}\n ;\n\nstring_scalar_or_array: tSTRSYM {add_command_with_sym_and_diag(cPUSHSTRPTR,dotify($1,FALSE),NULL);}\n | tSTRSYM '(' call_list ')' {create_doarray(dotify($1,FALSE),GETSTRINGPOINTER);} \n ;\n\nstring_expression: tSTRSYM {add_command_with_sym_and_diag(cPUSHSTRSYM,dotify($1,FALSE),NULL);}\n | string_function\n | stringfunction_or_array {add_command_with_sym_and_diag(cSTRINGFUNCTION_OR_ARRAY,$1,NULL);}\n | tSTRING {if ($1==NULL) {lyyerror(sERROR,\"String not terminated\");create_pushstr(\"\");} else {create_pushstr($1);}}\n | string_expression '+' string_expression {add_command(cCONCAT);}\n | '(' string_expression ')'\n ;\n\nstring_function: tLEFT '(' string_expression ',' expression ')' {create_function(fLEFT);}\n | tRIGHT '(' string_expression ',' expression ')' {create_function(fRIGHT);}\n | tMID '(' string_expression ',' expression ',' expression ')' {create_function(fMID);}\n | tMID '(' string_expression ',' expression ')' {create_function(fMID2);}\n | tSTR '(' expression ')' {create_function(fSTR);}\n | tSTR '(' expression ',' string_expression ')' {create_function(fSTR2);} \n | tSTR '(' expression ',' string_expression ',' string_expression ')' {create_function(fSTR3);} \n | tSTR '(' string_expression ')' {create_function(fSTR4);} \n | tINKEY {create_pushdbl(-1);create_function(fINKEY);}\n | tINKEY '(' ')' {create_pushdbl(-1);create_function(fINKEY);}\n | tINKEY '(' expression ')' {create_function(fINKEY);}\n | tCHR '(' expression ')' {create_function(fCHR);}\n | tUPPER '(' string_expression ')' {create_function(fUPPER);}\n | tLOWER '(' string_expression ')' {create_function(fLOWER);}\n | tLTRIM '(' string_expression ')' {create_function(fLTRIM);}\n | tRTRIM '(' string_expression ')' {create_function(fRTRIM);}\n | tTRIM '(' string_expression ')' {create_function(fTRIM);}\n | tCHOMP '(' string_expression ')' {create_function(fCHOMP);}\n | tSYSTEM2 '(' string_expression ')' {create_function(fSYSTEM2);}\n | tFRNFN_CALL2 '(' call_list ')' {create_function(fFRNFN_CALL2);}\n | tFRNBF_ALLOC '(' expression ')' {create_function(fFRNBF_ALLOC);}\n | tFRNBF_DUMP '(' string_expression ')' {create_function(fFRNBF_DUMP);}\n | tFRNBF_DUMP '(' string_expression ',' expression ')' {create_function(fFRNBF_DUMP2);}\n | tDATE {create_function(fDATE);}\n | tDATE '(' ')' {create_function(fDATE);}\n | tTIME {create_function(fTIME);}\n | tTIME '(' ')' {create_function(fTIME);}\n | tPEEK2 '(' string_expression ')' {create_function(fPEEK2);}\n | tPEEK2 '(' string_expression ',' string_expression ')' {create_function(fPEEK3);}\n | tTOKENALT '(' string_scalar_or_array ',' string_expression ')' {add_command(cTOKENALT2);}\n | tTOKENALT '(' string_scalar_or_array ')' {add_command(cTOKENALT);}\n | tSPLITALT '(' string_scalar_or_array ',' string_expression ')' {add_command(cSPLITALT2);}\n | tSPLITALT '(' string_scalar_or_array ')' {add_command(cSPLITALT);}\n | tGETBIT '(' coordinates to coordinates ')' {create_function(fGETBIT);}\n | tGETCHAR '(' expression ',' expression to expression ',' expression ')' {create_function(fGETCHAR);}\n | tHEX '(' expression ')' {create_function(fHEX);}\n | tBIN '(' expression ')' {create_function(fBIN);}\n | tEXECUTE2 '(' call_list ')' {create_execute(1);add_command(cSWAP);add_command(cPOP);}\n | tFRNBF_GET2 '(' string_expression ',' expression ',' expression ')' {create_function(fFRNBF_GET_STRING);} \n | tFRNBF_GET_BUFFER '(' string_expression ',' expression ')' {create_function(fFRNBF_GET_BUFFER);} \n | tEVAL2 '(' string_expression ')' {create_eval(evSTRING);}\n ;\n\nnumber_assignment: tSYMBOL tEQU expression {add_command_with_sym_and_diag(cPOPDBLSYM,dotify($1,FALSE),NULL);} \n | function_or_array tEQU expression {create_doarray($1,ASSIGNARRAY);}\n ;\n\nexpression: expression tOR {add_command(cORSHORT);pushlabel();} expression {poplabel();create_boole('|');}\n | expression tAND {add_command(cANDSHORT);pushlabel();} expression {poplabel();create_boole('&');}\n | tNOT expression {create_boole('!');}\n | expression tEQU expression {create_dblrelop('=');}\n | expression tNEQ expression {create_dblrelop('!');}\n | expression tLTN expression {create_dblrelop('<');}\n | expression tLEQ expression {create_dblrelop('{');}\n | expression tGTN expression {create_dblrelop('>');}\n | expression tGEQ expression {create_dblrelop('}');}\n | tMYEOF '(' hashed_number ')' {add_command(cTESTEOF);}\n | tGLOB '(' string_expression ',' string_expression ')' {add_command(cGLOB);}\n | number {create_pushdbl($1);}\n | tARDIM '(' arrayref ')' {add_command_with_sym_and_diag(cARDIM,\"\",NULL);}\n | tARDIM '(' string_arrayref ')' {add_command_with_sym_and_diag(cARDIM,\"\",NULL);}\n | tARSIZE '(' arrayref ',' expression ')' {add_command_with_sym_and_diag(cARSIZE,\"\",NULL);}\n | tARSIZE '(' string_arrayref ',' expression ')' {add_command_with_sym_and_diag(cARSIZE,\"\",NULL);}\n | function_or_array {add_command_with_sym_and_diag(cFUNCTION_OR_ARRAY,$1,NULL);}\n | tSYMBOL {add_command_with_sym_and_diag(cPUSHDBLSYM,dotify($1,FALSE),NULL);}\n | expression '+' expression {create_dblbin('+');}\n | expression '-' expression {create_dblbin('-');}\n | expression '*' expression {create_dblbin('*');}\n | expression '\/' expression {create_dblbin('\/');}\n | expression tPOW expression {create_dblbin('^');}\n | '-' expression %prec UMINUS {add_command(cNEGATE);}\n | string_expression tEQU string_expression {create_strrelop('=');}\n | string_expression tNEQ string_expression {create_strrelop('!');}\n | string_expression tLTN string_expression {create_strrelop('<');}\n | string_expression tLEQ string_expression {create_strrelop('{');}\n | string_expression tGTN string_expression {create_strrelop('>');}\n | string_expression tGEQ string_expression {create_strrelop('}');}\n | function\n | '(' expression ')'\n ;\n\narrayref: tSYMBOL '(' ')' {create_pusharrayref(dotify($1,FALSE),stNUMBERARRAYREF);}\n ;\n\nstring_arrayref: tSTRSYM '(' ')' {create_pusharrayref(dotify($1,FALSE),stSTRINGARRAYREF);}\n ;\n\ncoordinates: expression ',' expression\n ;\n\nfunction: tSIN '(' expression ')' {create_function(fSIN);}\n | tASIN '(' expression ')' {create_function(fASIN);}\n | tCOS '(' expression ')' {create_function(fCOS);}\n | tACOS '(' expression ')' {create_function(fACOS);}\n | tTAN '(' expression ')' {create_function(fTAN);}\n | tATAN '(' expression ')' {create_function(fATAN);}\n | tATAN '(' expression ',' expression ')' {create_function(fATAN2);}\n | tEXP '(' expression ')' {create_function(fEXP);}\n | tLOG '(' expression ')' {create_function(fLOG);}\n | tLOG '(' expression ',' expression ')' {create_function(fLOG2);}\n | tSQRT '(' expression ')' {create_function(fSQRT);}\n | tSQR '(' expression ')' {create_function(fSQR);}\n | tINT '(' expression ')' {create_function(fINT);}\n | tROUND '(' expression ')' {create_function(fROUND);}\n | tCEIL '(' expression ')' {create_function(fCEIL);}\n | tFLOOR '(' expression ')' {create_function(fFLOOR);}\n | tFRAC '(' expression ')' {create_function(fFRAC);}\n | tABS '(' expression ')' {create_function(fABS);}\n | tSIG '(' expression ')' {create_function(fSIG);}\n | tMOD '(' expression ',' expression ')' {create_function(fMOD);}\n | tRAN '(' expression ')' {create_function(fRAN);}\n | tRAN '(' ')' {create_function(fRAN2);}\n | tMIN '(' expression ',' expression ')' {create_function(fMIN);}\n | tMAX '(' expression ',' expression ')' {create_function(fMAX);}\n | tLEN '(' string_expression ')' {create_function(fLEN);}\n | tVAL '(' string_expression ')' {create_function(fVAL);}\n | tASC '(' string_expression ')' {create_function(fASC);}\n | tDEC '(' string_expression ')' {create_function(fDEC);}\n | tDEC '(' string_expression ',' expression ')' {create_function(fDEC2);}\n | tINSTR '(' string_expression ',' string_expression ')' {if (check_compat) lyyerror(sWARNING,\"instr() has changed in version 2.712\"); create_function(fINSTR);}\n | tINSTR '(' string_expression ',' string_expression ',' expression ')' {create_function(fINSTR2);}\n | tRINSTR '(' string_expression ',' string_expression ')' {create_function(fRINSTR);}\n | tRINSTR '(' string_expression ',' string_expression ',' expression ')' {create_function(fRINSTR2);}\n | tSYSTEM '(' string_expression ')' {create_function(fSYSTEM);}\n | tFRNFN_CALL '(' call_list ')' {create_function(fFRNFN_CALL);}\n | tFRNFN_SIZE '(' string_expression ')' {create_function(fFRNFN_SIZE);}\n | tFRNBF_GET '(' string_expression ',' expression ',' string_expression ')' {create_function(fFRNBF_GET_NUMBER);} \n | tFRNBF_SIZE '(' string_expression ')' {create_function(fFRNBF_SIZE);} \n | tPEEK '(' hashed_number ')' {create_function(fPEEK4);}\n | tPEEK '(' string_expression ')' {create_function(fPEEK);}\n | tMOUSEX '(' string_expression ')' {create_function(fMOUSEX);}\n | tMOUSEX {create_pushstr(\"\");create_function(fMOUSEX);}\n | tMOUSEX '(' ')' {create_pushstr(\"\");create_function(fMOUSEX);}\n | tMOUSEY '(' string_expression ')' {create_function(fMOUSEY);}\n | tMOUSEY {create_pushstr(\"\");create_function(fMOUSEY);}\n | tMOUSEY '(' ')' {create_pushstr(\"\");create_function(fMOUSEY);}\n | tMOUSEB '(' string_expression ')' {create_function(fMOUSEB);}\n | tMOUSEB {create_pushstr(\"\");create_function(fMOUSEB);}\n | tMOUSEB '(' ')' {create_pushstr(\"\");create_function(fMOUSEB);}\n | tMOUSEMOD '(' string_expression ')' {create_function(fMOUSEMOD);}\n | tMOUSEMOD {create_pushstr(\"\");create_function(fMOUSEMOD);}\n | tMOUSEMOD '(' ')' {create_pushstr(\"\");create_function(fMOUSEMOD);}\n | tAND '(' expression ',' expression ')' {create_function(fAND);}\n | tOR '(' expression ',' expression ')' {create_function(fOR);}\n | tBITNOT '(' expression ')' {create_function(fBITNOT);}\n | tEOR '(' expression ',' expression ')' {create_function(fEOR);}\n | tSHL '(' expression ',' expression ')' {create_function(fSHL);}\n | tSHR '(' expression ',' expression ')' {create_function(fSHR);}\n | tTELL '(' hashed_number ')' {create_function(fTELL);}\n | tTOKEN '(' string_expression ',' string_arrayref ',' string_expression ')' {add_command(cTOKEN2);}\n | tTOKEN '(' string_expression ',' string_arrayref ')' {add_command(cTOKEN);}\n | tSPLIT '(' string_expression ',' string_arrayref ',' string_expression ')' {add_command(cSPLIT2);}\n | tSPLIT '(' string_expression ',' string_arrayref ')' {add_command(cSPLIT);}\n | tEXECUTE '(' call_list ')' {create_execute(0);add_command(cSWAP);add_command(cPOP);}\n | tOPEN '(' tPRINTER ')' {create_myopen(OPEN_PRINTER);}\n | tOPEN '(' string_expression ')' {create_myopen(0);}\n | tOPEN '(' string_expression ',' string_expression ')' {create_myopen(OPEN_HAS_MODE);}\n | tOPEN '(' hashed_number ',' tPRINTER ')' {create_myopen(OPEN_PRINTER+OPEN_HAS_STREAM);}\n | tOPEN '(' hashed_number ',' string_expression ')' {create_myopen(OPEN_HAS_STREAM);}\n | tOPEN '(' hashed_number ',' string_expression ',' string_expression ')' {create_myopen(OPEN_HAS_STREAM+OPEN_HAS_MODE);}\n | tEVAL '(' string_expression ')' {create_eval(evNUMBER);}\n ;\n\nconst: number {$$=$1;}\n | '+' number {$$=$2;}\n | '-' number {$$=-$2;}\n ;\n\nnumber: tFNUM {$$=$1;}\n | tDIGITS {$$=strtod($1,NULL);}\n | tHEXDIGITS {$$=(double)strtoul($1,NULL,16);}\n | tBINDIGITS {$$=(double)strtoul($1,NULL,2);}\n ;\n\nsymbol_or_lineno: tDIGITS {$$=my_strdup(dotify($1,FALSE));}\n | tSYMBOL {$$=my_strdup(dotify($1,FALSE));}\n ;\n\ndimlist: tSYMBOL '(' call_list ')' {create_dim(dotify($1,FALSE),'D');}\n | dimlist ',' tSYMBOL '(' call_list ')' {create_dim(dotify($3,FALSE),'D');}\n | tSTRSYM '(' call_list ')' {create_dim(dotify($1,FALSE),'S');}\n | dimlist ',' tSTRSYM '(' call_list ')' {create_dim(dotify($3,FALSE),'S');}\n ;\n\nfunction_or_array: tSYMBOL '(' call_list ')' {$$=my_strdup(dotify($1,FALSE));}\n ;\n\nstringfunction_or_array: tSTRSYM '(' call_list ')' {$$=my_strdup(dotify($1,FALSE));}\n ;\n\ncall_list: {add_command(cPUSHFREE);} calls\n ;\n\ncalls: \/* empty *\/\n | call_item\n | calls ',' call_item\n ;\n\ncall_item: string_expression\n | expression\n ;\n \nfunction_definition: export tSUB {missing_endsub++;missing_endsub_line=yylineno;pushlabel();report_if_missing(\"can not define a function in a loop or an if-statement\",FALSE);if (function_type!=ftNONE) {lyyerror(sERROR,\"nested functions not allowed\");YYABORT;}}\n\tfunction_name {if (exported) create_subr_link($4); create_label($4,cUSER_FUNCTION);\n\t add_command(cPUSHSYMLIST);add_command(cCLEARSYMREFS);start_symref_chain();\n\t\t create_count_params();}\n\t'(' paramlist ')' {create_require(stFREE);add_command(cPOP);}\n\tstatement_list\n\tendsub {add_command(cCLEARSYMREFS);end_symref_chain();add_command(cPOPSYMLIST);create_check_return_value(ftNONE,function_type);function_type=ftNONE;add_command(cRETURN_FROM_CALL);create_endfunction();poplabel();}\n ;\n\nendsub: tEOPROG {if (missing_endsub) {sprintf(string,\"subroutine starting at line %d has seen no 'end sub' at end of program\",missing_endsub_line);error_without_position(sERROR,string);} YYABORT;}\n | tENDSUB {missing_endsub--;}\n ;\n\nfunction_name: tSYMBOL {function_type=ftNUMBER;current_function=my_strdup(dotify($1,FALSE));$$=my_strdup(dotify($1,FALSE));}\n | tSTRSYM {function_type=ftSTRING;current_function=my_strdup(dotify($1,FALSE));$$=my_strdup(dotify($1,FALSE));}\n ;\n\nexport: \/* empty *\/ {exported=FALSE;}\n | tEXPORT {exported=TRUE;}\n | tRUNTIME_CREATED_SUB {exported=FALSE;}\n | tRUNTIME_CREATED_SUB tEXPORT {exported=TRUE;}\n ;\n\nlocal_list: local_item\n | local_list ',' local_item\n ;\n\nlocal_item: tSYMBOL {create_makelocal(dotify($1,FALSE),syNUMBER);}\n | tSTRSYM {create_makelocal(dotify($1,FALSE),sySTRING);}\n | tSYMBOL '(' call_list ')' {create_makelocal(dotify($1,FALSE),syARRAY);create_dim(dotify($1,FALSE),'d');}\n | tSTRSYM '(' call_list ')' {create_makelocal(dotify($1,FALSE),syARRAY);create_dim(dotify($1,FALSE),'s');}\n ;\n \nstatic_list: static_item\n | static_list ',' static_item\n ;\n\nstatic_item: tSYMBOL {create_makestatic(dotify($1,TRUE),syNUMBER);}\n | tSTRSYM {create_makestatic(dotify($1,TRUE),sySTRING);}\n | tSYMBOL '(' call_list ')' {create_makestatic(dotify($1,TRUE),syARRAY);create_dim(dotify($1,TRUE),'D');}\n | tSTRSYM '(' call_list ')' {create_makestatic(dotify($1,TRUE),syARRAY);create_dim(dotify($1,TRUE),'S');}\n ;\n \nparamlist: \/* empty *\/\n | paramitem\n | paramlist ',' paramitem\n ;\n \nparamitem: tSYMBOL {create_require(stNUMBER);create_makelocal(dotify($1,FALSE),syNUMBER);add_command_with_sym_and_diag(cPOPDBLSYM,dotify($1,FALSE),NULL);}\n | tSTRSYM {create_require(stSTRING);create_makelocal(dotify($1,FALSE),sySTRING);add_command_with_sym_and_diag(cPOPSTRSYM,dotify($1,FALSE),NULL);}\n | tSYMBOL '(' ')' {create_require(stNUMBERARRAYREF);create_arraylink(dotify($1,FALSE),stNUMBERARRAYREF);}\n | tSTRSYM '(' ')' {create_require(stSTRINGARRAYREF);create_arraylink(dotify($1,FALSE),stSTRINGARRAYREF);}\n ;\n\nfor_loop: tFOR {loop_nesting++;add_command(cBEGIN_LOOP_MARK);missing_next++;missing_next_line=yylineno;} tSYMBOL tEQU \n {pushname(dotify($3,FALSE)); \/* will be used by next_symbol to check equality,NULL *\/\n\t add_command(cRESETSKIPONCE);\n\t add_command(cRESETSKIPONCE2);\n\t pushgoto();add_command_with_switch_state(cCONTINUE_HERE);}\n\t expression tTO expression \n\t step_part { \/* pushes another expression *\/\n\t add_command(cSKIPONCE);\n\t pushlabel();\n\t add_command(cSTARTFOR);\n\t add_command_with_sym_and_diag(cPOPDBLSYM,dotify($3,FALSE),NULL);\n\t poplabel();\n\n\t add_command_with_sym_and_diag(cPUSHDBLSYM,dotify($3,FALSE),NULL);\n\t add_command(cSKIPONCE);\n\t add_command(cFORINCREMENT);\n\t add_command_with_sym_and_diag(cPOPDBLSYM,dotify($3,FALSE),NULL);\n\t add_command_with_sym_and_diag(cPUSHDBLSYM,dotify($3,FALSE),NULL);\n\t add_command(cFORCHECK);\n\t add_command(cDECIDE);\n pushlabel();}\n statement_list {\n swap();popgoto();poplabel();}\n next next_symbol {add_command(cBREAK_HERE);add_command(cEND_LOOP_MARK);loop_nesting--;}\n ;\n\nnext: tEOPROG {if (missing_next) {sprintf(string,\"for-loop starting at line %d has seen no 'next' at end of program\",missing_next_line);error_without_position(sERROR,string);} YYABORT;}\n | tNEXT {missing_next--;}\n | tENDIF {report_conflicting_close(\"a closing next is expected before endif\",'e');}\n | tWEND {report_conflicting_close(\"a closing next is expected before wend\",'w');}\n | tUNTIL {report_conflicting_close(\"a closing next is expected before until\",'l');}\n | tLOOP {report_conflicting_close(\"a closing next is expected before loop\",'l');}\n ;\n\nstep_part: {create_pushdbl(1);} \/* can be omitted *\/\n | tSTEP expression\n ;\n\nnext_symbol: {pop(stSTRING);}\/* can be omitted *\/\n | tSYMBOL {if (strcmp(pop(stSTRING)->pointer,dotify($1,FALSE))) \n {lyyerror(sERROR,\"'for' and 'next' do not match\"); YYABORT;}\n }\n ;\n\nswitch_number_or_string: tSWITCH {push_switch_id();add_command(cBEGIN_SWITCH_MARK);} \n number_or_string sep_list case_list default tSEND {add_command(cBREAK_HERE);add_command(cPOP);add_command(cEND_SWITCH_MARK);pop_switch_id();}\n ;\n\nsep_list: tSEP \n | sep_list tSEP \n ;\n\nnumber_or_string: expression\n | string_expression\n ;\n\n\ncase_list: \/* empty *\/\n | case_list tCASE number_or_string\n {add_command(cSWITCH_COMPARE);add_command(cDECIDE);add_command(cNEXT_CASE);} statement_list {add_command(cNEXT_CASE_HERE);}\n ;\n\n\ndefault: \/* empty *\/\n | tDEFAULT tSEP {add_command(cNEXT_CASE_HERE);} statement_list\n ;\n\n\ndo_loop: tDO {loop_nesting++;add_command(cBEGIN_LOOP_MARK);add_command_with_switch_state(cCONTINUE_HERE);missing_loop++;missing_loop_line=yylineno;pushgoto();}\n\t statement_list\n loop\n ;\n\n\nloop: tEOPROG {if (missing_loop) {sprintf(string,\"do-loop starting at at line %d has seen no 'loop' at end of program\",missing_loop_line);error_without_position(sERROR,string);} YYABORT;}\n | tLOOP {missing_loop--;popgoto();add_command(cBREAK_HERE);add_command(cEND_LOOP_MARK);loop_nesting--;}\n | tENDIF {report_conflicting_close(\"a closing loop is expected before endif\",'e');}\n | tWEND {report_conflicting_close(\"a closing loop is expected before wend\",'w');}\n | tUNTIL {report_conflicting_close(\"a closing loop is expected before until\",'l');}\n | tNEXT {report_conflicting_close(\"a closing loop is expected before next\",'n');}\n ;\n\n\nwhile_loop: tWHILE {loop_nesting++;add_command(cBEGIN_LOOP_MARK);add_command_with_switch_state(cCONTINUE_HERE);missing_wend++;missing_wend_line=yylineno;pushgoto();} expression\n\t {add_command(cDECIDE);\n\t pushlabel();}\n\t statement_list\n wend\n ;\t \n\nwend: tEOPROG {if (missing_wend) {sprintf(string,\"while-loop starting at line %d has seen no 'wend' at end of program\",missing_wend_line);error_without_position(sERROR,string);} YYABORT;}\n | tWEND {missing_wend--;swap();popgoto();poplabel();add_command(cBREAK_HERE);add_command(cEND_LOOP_MARK);loop_nesting--;}\n ;\n\n\nrepeat_loop: tREPEAT {loop_nesting++;add_command(cBEGIN_LOOP_MARK);add_command_with_switch_state(cCONTINUE_HERE);missing_until++;missing_until_line=yylineno;pushgoto();} \n\t statement_list\n\t until\n ;\n\nuntil: tEOPROG {if (missing_until) {sprintf(string,\"repeat-loop starting at line %d has seen no 'until' at end of program\",missing_until_line);error_without_position(sERROR,string);} YYABORT;}\n | tUNTIL expression {missing_until--;add_command(cDECIDE);popgoto();add_command(cBREAK_HERE);add_command(cEND_LOOP_MARK);loop_nesting--;}\n | tENDIF {report_conflicting_close(\"a closing until is expected before endif\",'e');}\n | tWEND {report_conflicting_close(\"a closing until is expected before wend\",'w');}\n | tLOOP {report_conflicting_close(\"a closing until is expected before loop\",'l');}\n | tNEXT {report_conflicting_close(\"a closing until is expected before next\",'n');}\n ;\n\nif_clause: tIF expression {add_command(cDECIDE);storelabel();pushlabel();}\n tTHEN {missing_endif++;missing_endif_line=yylineno;} statement_list {swap();matchgoto();swap();poplabel();}\n\t elsif_part\n else_part {poplabel();}\n endif\n ;\n\nendif: tEOPROG {if (missing_endif) {sprintf(string,\"if-clause starting at line %d has seen no 'fi' at end of program\",missing_endif_line);error_without_position(sERROR,string);} YYABORT;}\n | tENDIF {missing_endif--;}\n | tWEND {report_conflicting_close(\"a closing endif is expected before wend\",'w');}\n | tUNTIL {report_conflicting_close(\"a closing endif is expected before until\",'l');}\n | tLOOP {report_conflicting_close(\"a closing endif is expected before loop\",'l');}\n | tNEXT {report_conflicting_close(\"a closing endif is expected before next\",'n');}\n ;\n\nshort_if: tIF expression {in_short_if++;add_command(cDECIDE);pushlabel();}\n statement_list\n\tend_of_if\n ;\n\nend_of_if: tENDIF {error(sERROR,\"an if-statement without 'then' does not allow 'endif'\");}\n | tIMPLICITENDIF {poplabel();}\n ;\n\nelse_part: \/* can be omitted *\/\n | tELSE statement_list\n ;\n\nelsif_part: \/* can be omitted *\/\n | tELSIF expression maybe_then\n \t{add_command(cDECIDE);pushlabel();} \n statement_list \n\t{swap();matchgoto();swap();poplabel();} \n elsif_part\n ;\n\nmaybe_then: \/* can be omitted *\/\n | tTHEN\n ;\n\ninputlist: input\n | input ',' {add_command(cCHKPROMPT);} inputlist\n ;\n\ninput: tSYMBOL {create_myread('d',tileol);add_command_with_sym_and_diag(cPOPDBLSYM,dotify($1,FALSE),NULL);}\n | tSYMBOL '(' call_list ')' \n \t{create_myread('d',tileol);create_doarray(dotify($1,FALSE),ASSIGNARRAY);}\n | tSTRSYM {create_myread('s',tileol);add_command_with_sym_and_diag(cPOPSTRSYM,dotify($1,FALSE),NULL);}\n | tSTRSYM '(' call_list ')' \n \t{create_myread('s',tileol);create_doarray(dotify($1,FALSE),ASSIGNSTRINGARRAY);}\n ;\n\nreadlist: readitem\n | readlist ',' readitem\n ;\n\nreaditem: tSYMBOL {create_readdata('d');add_command_with_sym_and_diag(cPOPDBLSYM,dotify($1,FALSE),NULL);}\n | tSYMBOL '(' call_list ')' \n {create_readdata('d');create_doarray(dotify($1,FALSE),ASSIGNARRAY);}\n | tSTRSYM {create_readdata('s');add_command_with_sym_and_diag(cPOPSTRSYM,dotify($1,FALSE),NULL);}\n | tSTRSYM '(' call_list ')' \n {create_readdata('s');create_doarray(dotify($1,FALSE),ASSIGNSTRINGARRAY);}\n ;\n\ndatalist: tSTRING {create_strdata($1);}\n | const {create_dbldata($1);}\n | datalist ',' tSTRING {create_strdata($3);}\n | datalist ',' const {create_dbldata($3);}\n ;\n\nprintlist: \/* possible empty *\/\n | expression using\n | printlist ',' expression using\n | string_expression {create_print('s');} \n | printlist ',' string_expression {create_print('s');}\n ;\n\nusing: {create_print('d');} \/* possible empty *\/\n | tUSING string_expression {create_print('u');}\n | tUSING '(' string_expression ',' string_expression ')' {create_print('U');}\n ;\n\ninputbody: '#' tSYMBOL {add_command_with_sym_and_diag(cPUSHDBLSYM,dotify($2,FALSE),NULL);create_pps(cPUSHSTREAM,1);} inputlist {create_pps(cPOPSTREAM,0);}\n | '#' tDIGITS {create_pushdbl(atoi($2));create_pps(cPUSHSTREAM,1);} inputlist {create_pps(cPOPSTREAM,0);}\n | '#' '(' expression ')' {create_pps(cPUSHSTREAM,1);} inputlist {create_pps(cPOPSTREAM,0);}\n | tAT '(' expression ',' expression ')' {add_command(cMOVE);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,1);} prompt inputlist {create_pps(cPOPSTREAM,0);}\n | {create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,1);} prompt inputlist {create_pps(cPOPSTREAM,0);}\n ;\n\nprompt: \/* empty *\/ {create_pushstr(\"?\");create_print('s');} \n | tSTRING {create_pushstr($1);create_print('s');}\n ;\n\nprintintro: \/* may be empty *\/ {create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | '#' tSYMBOL {add_command_with_sym_and_diag(cPUSHDBLSYM,dotify($2,FALSE),NULL);create_pps(cPUSHSTREAM,0);}\n | '#' tDIGITS {create_pushdbl(atoi($2));create_pps(cPUSHSTREAM,0);}\n | '#' '(' expression ')' {create_pps(cPUSHSTREAM,0);}\n | tREVERSE {create_colour(1);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ')' {create_colour(2);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ',' string_expression ')' {create_colour(3);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tAT '(' expression ',' expression ')' {add_command(cMOVE);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tREVERSE tAT '(' expression ',' expression ')' {add_command(cMOVE);create_colour(1);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ')' tAT '(' expression ',' expression ')' {add_command(cMOVE);create_colour(2);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tCOLOUR '(' string_expression ',' string_expression ')' tAT '(' expression ',' expression ')' {add_command(cMOVE);create_colour(3);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tAT '(' expression ',' expression ')' tREVERSE {create_colour(1);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);add_command(cMOVE);}\n | tAT '(' expression ',' expression ')' tCOLOUR '(' string_expression ')' {create_colour(2);add_command(cMOVE);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n | tAT '(' expression ',' expression ')' tCOLOUR '(' string_expression ',' string_expression ')' {create_colour(3);add_command(cMOVE);create_pushdbl(STDIO_STREAM);create_pps(cPUSHSTREAM,0);}\n ; \n\nhashed_number: '#' expression\n | expression;\n\ngoto_list: symbol_or_lineno {create_goto((function_type!=ftNONE)?dotify($1,TRUE):$1);add_command(cFINDNOP);}\n | goto_list ',' symbol_or_lineno {create_goto((function_type!=ftNONE)?dotify($3,TRUE):$3);add_command(cFINDNOP);}\n ;\n\ngosub_list: symbol_or_lineno {create_gosub((function_type!=ftNONE)?dotify($1,TRUE):$1);add_command(cFINDNOP);}\n | gosub_list ',' symbol_or_lineno {create_gosub((function_type!=ftNONE)?dotify($3,TRUE):$3);add_command(cFINDNOP);}\n ;\n\n%code {\nvoid\nyyerror(char *message) {\n error(sERROR,message);\n}\n\nvoid\nlyyerror(int severity, char *message) {\n error(severity,message);\n}\n};\n","avg_line_length":46.9895227008,"max_line_length":282,"alphanum_fraction":0.7193291051} -{"size":916,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: S $end\n\n 1 S: %empty\n 2 | 'a' S 'z'\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'a' (97) 2\n'z' (122) 2\nerror (256)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (5)\n vlevo: 0\nS (6)\n vlevo: 1 2, vpravo: 0 2\n\n\nState 0\n\n 0 $accept: . S $end\n 1 S: . %empty [$end]\n 2 | . 'a' S 'z'\n\n 'a' posunout a p\u0159ej\u00edt do stavu 1\n\n $v\u00fdchoz\u00ed reduce using rule 1 (S)\n\n S p\u0159ej\u00edt do stavu 2\n\n\nState 1\n\n 1 S: . %empty ['z']\n 2 | . 'a' S 'z'\n 2 | 'a' . S 'z'\n\n 'a' posunout a p\u0159ej\u00edt do stavu 1\n\n $v\u00fdchoz\u00ed reduce using rule 1 (S)\n\n S p\u0159ej\u00edt do stavu 3\n\n\nState 2\n\n 0 $accept: S . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 4\n\n\nState 3\n\n 2 S: 'a' S . 'z'\n\n 'z' posunout a p\u0159ej\u00edt do stavu 5\n\n\nState 4\n\n 0 $accept: S $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 5\n\n 2 S: 'a' S 'z' .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (S)\n","avg_line_length":11.8961038961,"max_line_length":46,"alphanum_fraction":0.5272925764} -{"size":185,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"# Profile for GNU parser generator.\n\n#include \n\n# TODO: probably incomplete.\n\n\/usr\/bin\/bison flags=(complain) {\n #include \n\n \/usr\/bin\/bison mr,\n\n}\n","avg_line_length":14.2307692308,"max_line_length":35,"alphanum_fraction":0.7081081081} -{"size":659,"ext":"bison","lang":"Bison","max_stars_count":1.0,"content":"Parser: Parser.lex.o Parser.y.o yywrap.o\n\tgcc -g -o Parser Parser.lex.o Parser.y.o yywrap.o\n\nParser.h: Parser.y\n\tbison -d Parser.y\n\tmv Parser.tab.h Parser.h\n\nParser.y.c: Parser.y\n\tbison -d Parser.y\n\tmv Parser.tab.c Parser.y.c\n\t\nParser.lex.o: Parser.lex.c Parser.h\n\tgcc -g -c Parser.lex.c -o Parser.lex.o\n\nParser.y.o: Parser.y.c\n\tgcc -g -c Parser.y.c -o Parser.y.o\n\nyywrap.o: yywrap.c\n\tgcc -g -o yywrap.o -c yywrap.c\n\nParser.lex.c: Parser.lex\n\tflex Parser.lex\n\tmv lex.yy.c Parser.lex.c\n\nclean:\n\trm -f Parser.lex.o\n\trm -f Parser.y.o\n\trm -f yywrap.o\n\trm -f Parser.tab.h\n\trm -f Parser.tab.c\n\trm -f Parser.h\n\trm -f Parser.y.c\n\trm -f Parser.exe\n\trm -f Parser.lex.c\n","avg_line_length":18.8285714286,"max_line_length":50,"alphanum_fraction":0.6783004552} -{"size":6657,"ext":"bison","lang":"Bison","max_stars_count":1.0,"content":"\/****************************************************\/\n\/* File: auto.bison *\/\n\/* The auto Yacc\/Bison specification file *\/\n\/****************************************************\/\n%{\n#define YYPARSER \/* distinguishes Yacc output from other code files *\/\n#define YYERROR_VERBOSE\n#define YYDEBUG 1\n\/\/ int yydebug = 1;\n#include \"globals_.h\"\n#include \"util.h\"\n\/\/ #include \"genIR.h\"\n\n#define YYSTYPE TreeNode *\nstatic int savedLineNo; \nstatic TreeNode * savedTree; \/* stores syntax tree for later return *\/\nint lineno = 0;\nint Error = FALSE;\nFILE* source; \/* source code text file *\/\nFILE* listing ;\/* send listing to screen *\/\nstatic int yylex(void);\n\n#define MAXTOKENLEN 100\n\/* tokenString array stores the lexeme of each token *\/\nextern char tokenString[MAXTOKENLEN + 1];\n\nextern char IDname[MAXTOKENLEN + 1];\n\nextern int numvalue;\n\nextern double floatvalue;\n\nTokenType getToken(void);\n\n\n\n%}\n\n%token ID INTV FLOATV\n%token ASSIGN PLUS MINUS TIMES DIV FLOORDIV MOD\n%token LPAREN RPAREN LBRACK RBRACK SEMI COMMA\n%token ERROR \n\n%left PLUS MINUS\n%left TIMES DIV FLOORDIV MOD\n\n%% \/* Grammar for auto *\/\n\nprogram : stmt\n {savedTree = $1;}\n | program stmt\n {\n YYSTYPE t = $1;\n while (t->sibling != NULL)\n t = t->sibling;\n t->sibling = $2;\n $$ = $1; \n } \n\nstmt : tref ASSIGN rhs SEMI\n {\n $$ = newNode(StmtK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n }\n\n\nrhs : rhs PLUS rhs\n {\n $$ = newNode(RhsK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = PLUS;\n }\n | rhs TIMES rhs\n {\n $$ = newNode(RhsK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = TIMES;\n }\n | rhs MINUS rhs\n {\n $$ = newNode(RhsK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = MINUS;\n }\n | rhs DIV rhs\n {\n $$ = newNode(RhsK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = DIV;\n }\n | rhs MOD rhs\n {\n $$ = newNode(RhsK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = MOD;\n }\n | rhs FLOORDIV rhs\n {\n $$ = newNode(RhsK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = FLOORDIV;\n }\n | assist_ref\n {$$ = $1;}\n | tref\n {$$ = $1;}\n | const\n {$$ = $1;}\n\ntref : assist_ref LPAREN alist RPAREN\n {\n $$ = newNode(TrefK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n }\n\nassist_ref : ID LBRACK clist RBRACK\n {\n $$ = newNode(ArefK);\n $$->child[0] = newNode(IdK);\n $$->child[0]->name = copyString(IDname);\n $$->child[1] = $3;\n }\n\nclist : intv {$$ = $1;}\n | clist COMMA intv\n {\n YYSTYPE t = $1;\n while (t->sibling != NULL)\n t = t->sibling;\n t->sibling = $3;\n $$ = $1; \n }\n\nalist : idexp {$$ = $1;}\n | alist COMMA idexp\n {\n YYSTYPE t = $1;\n while (t->sibling != NULL)\n t = t->sibling;\n t->sibling = $3;\n $$ = $1; \n }\n\nidexp : ID\n {\n $$ = newNode(IdK);\n $$->name = copyString(IDname);\n }\n | idexp PLUS idexp\n {\n $$ = newNode(IdexprK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = PLUS;\n }\n | idexp PLUS intv\n {\n $$ = newNode(IdexprK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = PLUS;\n }\n | idexp MINUS intv\n {\n $$ = newNode(IdexprK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = MINUS;\n }\n | idexp TIMES intv\n {\n $$ = newNode(IdexprK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = TIMES;\n }\n | idexp FLOORDIV intv\n {\n $$ = newNode(IdexprK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = FLOORDIV;\n }\n | idexp MOD intv\n {\n $$ = newNode(IdexprK);\n $$->child[0] = $1;\n $$->child[1] = $3;\n $$->op = MOD;\n }\n\nintv : INTV\n {\n $$ = newNode(IntvK);\n $$->val = numvalue;\n }\n\nconst : intv{$$ = $1;}\n | FLOATV\n {\n $$ = newNode(FloatvK);\n $$->fval = floatvalue;\n }\n\n\n%%\n\nint yyerror(char *message)\n{\n fprintf(listing, \"Syntax error at line %d: %s\\n\", lineno, message);\n fprintf(listing, \"Current token: \");\n fprintf(listing,\"%d %s\\n\",yychar,tokenString);\n Error = TRUE;\n exit(0);\n return 0;\n}\n\n\/* yylex calls getToken to make Yacc\/Bison output\n * compatible with ealier versions of the auto scanner\n *\/\nstatic int yylex(void)\n{\n int a = getToken();\n return a;\n}\n\nTreeNode *parse(char* name)\n{\n if (name)\n { \n source = fopen(name, \"r\");\n if (!source)\n {\n fprintf(stderr, \"could not open %s\\n\", name);\n exit(1);\n }\n }\n else\n source = stdin;\n\n listing = stdout;\n\n yyparse();\n return savedTree;\n}","avg_line_length":26.3122529644,"max_line_length":71,"alphanum_fraction":0.3333333333} -{"size":425,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"precharge-01.hac\":8:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(process-prototype) [5:1..35]\n#STATE#\t{ [5:37]\n#STATE#\tkeyword: prs [6:1..3]\n#STATE#\t(null) \n#STATE#\t{ [6:5]\n#STATE#\t(prs-literal) [8:3]\n#STATE#\t| [8:5]\n#STATE#\t{ [8:6]\nin state #STATE#, possible rules are:\n\tprs_or: prs_or '|' . prs_and (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n\t'~' (shift)\n\t'@' (shift)\n\tID (shift)\n","avg_line_length":20.2380952381,"max_line_length":39,"alphanum_fraction":0.6094117647} -{"size":1447,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: S $end\n\n 1 S: L '=' R\n\n 2 L: '*' R\n 3 | id\n\n 4 R: L\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'*' (42) 2\n'=' (61) 1\nerror (256)\nid (258) 3\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (6)\n vlevo: 0\nS (7)\n vlevo: 1, vpravo: 0\nL (8)\n vlevo: 2 3, vpravo: 1 4\nR (9)\n vlevo: 4, vpravo: 1 2\n\n\nState 0\n\n 0 $accept: . S $end\n 1 S: . L '=' R\n 2 L: . '*' R\n 3 | . id\n\n id posunout a p\u0159ej\u00edt do stavu 1\n '*' posunout a p\u0159ej\u00edt do stavu 2\n\n S p\u0159ej\u00edt do stavu 3\n L p\u0159ej\u00edt do stavu 4\n\n\nState 1\n\n 3 L: id .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (L)\n\n\nState 2\n\n 2 L: . '*' R\n 2 | '*' . R\n 3 | . id\n 4 R: . L\n\n id posunout a p\u0159ej\u00edt do stavu 1\n '*' posunout a p\u0159ej\u00edt do stavu 2\n\n L p\u0159ej\u00edt do stavu 5\n R p\u0159ej\u00edt do stavu 6\n\n\nState 3\n\n 0 $accept: S . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 7\n\n\nState 4\n\n 1 S: L . '=' R\n\n '=' posunout a p\u0159ej\u00edt do stavu 8\n\n\nState 5\n\n 4 R: L .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (R)\n\n\nState 6\n\n 2 L: '*' R .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (L)\n\n\nState 7\n\n 0 $accept: S $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 8\n\n 1 S: L '=' . R\n 2 L: . '*' R\n 3 | . id\n 4 R: . L\n\n id posunout a p\u0159ej\u00edt do stavu 1\n '*' posunout a p\u0159ej\u00edt do stavu 2\n\n L p\u0159ej\u00edt do stavu 5\n R p\u0159ej\u00edt do stavu 9\n\n\nState 9\n\n 1 S: L '=' R .\n\n $v\u00fdchoz\u00ed reduce using rule 1 (S)\n","avg_line_length":11.7642276423,"max_line_length":46,"alphanum_fraction":0.5072563925} -{"size":343,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"local-03.hac\":5:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(process-prototype) [4:1..16]\n#STATE#\t{ [4:18]\n#STATE#\tkeyword: chan [5:1..4]\n#STATE#\t? [5:5]\nin state #STATE#, possible rules are:\n\tbase_chan_type: CHANNEL . data_type_ref_list_optional_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":24.5,"max_line_length":74,"alphanum_fraction":0.693877551} -{"size":1108,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Stav 5 conflicts: 1 shift\/reduce\n\n\nGramatika\n\n 0 $accept: expr $end\n\n 1 expr: expr '-' expr\n 2 | '1'\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'-' (45) 1\n'1' (49) 2\nerror (256)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (5)\n vlevo: 0\nexpr (6)\n vlevo: 1 2, vpravo: 0 1\n\n\nState 0\n\n 0 $accept: . expr $end\n 1 expr: . expr '-' expr\n 2 | . '1'\n\n '1' posunout a p\u0159ej\u00edt do stavu 1\n\n expr p\u0159ej\u00edt do stavu 2\n\n\nState 1\n\n 2 expr: '1' .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (expr)\n\n\nState 2\n\n 0 $accept: expr . $end\n 1 expr: expr . '-' expr\n\n $end posunout a p\u0159ej\u00edt do stavu 3\n '-' posunout a p\u0159ej\u00edt do stavu 4\n\n\nState 3\n\n 0 $accept: expr $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 4\n\n 1 expr: . expr '-' expr\n 1 | expr '-' . expr\n 2 | . '1'\n\n '1' posunout a p\u0159ej\u00edt do stavu 1\n\n expr p\u0159ej\u00edt do stavu 5\n\n\nState 5\n\n 1 expr: expr . '-' expr\n 1 | expr '-' expr . [$end, '-']\n\n '-' posunout a p\u0159ej\u00edt do stavu 4\n\n '-' [reduce using rule 1 (expr)]\n $v\u00fdchoz\u00ed reduce using rule 1 (expr)\n","avg_line_length":13.512195122,"max_line_length":46,"alphanum_fraction":0.5406137184} -{"size":930,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"026.hac\":6:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tkeyword: namespace [3:1..9]\n#STATE#\tidentifier: close_me [3:11..18]\n#STATE#\t{ [3:20]\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t$end\nin state #STATE#, possible rules are:\n\ttype_alias: optional_export optional_template_specification . TYPEDEF physical_type_ref ID ';' (#RULE#)\n\tdeclare_proc_proto: optional_export optional_template_specification . def_or_proc ID optional_port_formal_decl_list_in_parens (#RULE#)\n\tdeclare_datatype_proto: optional_export optional_template_specification . DEFTYPE ID DEFINEOP data_type_ref optional_port_formal_decl_list_in_parens (#RULE#)\n\tdeclare_chan_proto: optional_export optional_template_specification . DEFCHAN ID DEFINEOP base_chan_type optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\tDEFINE (shift)\n\tDEFPROC (shift)\n\tDEFCHAN (shift)\n\tDEFTYPE (shift)\n\tTYPEDEF (shift)\n","avg_line_length":40.4347826087,"max_line_length":159,"alphanum_fraction":0.7967741935} -{"size":372,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"013.hac\":4:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: template [3:1..8]\n#STATE#\t< [3:10]\n#STATE#\tparamtype: pint [3:11..14]\n#STATE#\tkeyword: defproc [4:1..7]\nin state #STATE#, possible rules are:\n\ttemplate_formal_decl: base_param_type . template_formal_id_list (#RULE#)\nacceptable tokens are: \n\tID (shift)\n","avg_line_length":24.8,"max_line_length":74,"alphanum_fraction":0.7043010753} -{"size":612,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"041.hac\":7:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(process-prototype) [5:1..32]\n#STATE#\t{ [5:34]\n#STATE#\t( [6:1]\n#STATE#\t; [6:2]\n#STATE#\tidentifier: i [6:3]\n#STATE#\t: [6:4]\n#STATE#\t(range) [6:5]\n#STATE#\t: [6:6]\n#STATE#\tkeyword: spec [7:1..4]\nin state #STATE#, possible rules are:\n\tloop_connections: '(' ';' ID ':' range ':' . connection_body ')' (#RULE#)\nacceptable tokens are: \n\t'{' (shift)\n\t'[' (shift)\n\t'(' (shift)\n\t'-' (shift)\n\t'~' (shift)\n\t'!' (shift)\n\tID (shift)\n\tFLOAT (shift)\n\tINT (shift)\n\tSTRING (shift)\n\tSCOPE (shift)\n\tBOOL_TRUE (shift)\n\tBOOL_FALSE (shift)\n","avg_line_length":19.7419354839,"max_line_length":75,"alphanum_fraction":0.5964052288} -{"size":12543,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"\n%require \"3.5\"\n\n%{\n#define YYDEBUG 1\n%}\n\n%code requires {\n\n#include \"parser-util.h\"\n#include \"debug\/pront.h\"\n#include \n#include \n\nextern int yylex (parser_ctx_t *ctx);\nextern void yyerror(parser_ctx_t *ctx, char *msg);\n\n}\n\n%param { parser_ctx_t *ctx };\n\n%union {\n\tpos_t\t\t\tpos;\n\t\n\tival_t\t\t\tival;\n\tstrval_t\t\tstrval;\n\t\n\tident_t\t\t\tident;\n\tidents_t\t\tidents;\n\t\n\tfuncdef_t\t\tfunc;\n\t\n\texpr_t\t\t\texpr;\n\texprs_t\t\t\texprs;\n\t\n\tstmt_t\t\t\tstmt;\n\tstmts_t\t\t\tstmts;\n\t\n\tiasm_qual_t\t\tasm_qual;\n\tiasm_regs_t\t\tasm_regs;\n\tiasm_reg_t\t\tasm_reg;\n\t\n\tival_t\t\t\tsimple_type;\n\t\n\tstrval_t\t\tgarbage;\n}\n\n%token TKN_UNSIGNED \"unsigned\" TKN_SIGNED \"signed\" TKN_FLOAT \"float\" TKN_DOUBLE \"double\" TKN_BOOL \"_Bool\"\n%token TKN_CHAR \"char\" TKN_SHORT \"short\" TKN_INT \"int\" TKN_LONG \"long\"\n%token TKN_VOID \"void\"\n%token TKN_VOLATILE \"volatile\" TKN_INLINE \"inline\" TKN_GOTO \"goto\"\n%token TKN_IF \"if\" TKN_ELSE \"else\" TKN_WHILE \"while\" TKN_RETURN \"return\" TKN_ASM \"asm\"\n%token TKN_THEN \"then\"\n%token TKN_LPAR \"(\" TKN_RPAR \")\" TKN_LBRAC \"{\" TKN_RBRAC \"}\" TKN_LSBRAC \"[\" TKN_RSBRAC \"]\"\n%token TKN_SEMI \";\" TKN_COLON \":\" TKN_COMMA \",\"\n\n%token TKN_IVAL\n%token TKN_STRVAL\n%token TKN_IDENT\n%token TKN_GARBAGE\n\n%token TKN_ASSIGN_ADD \"+=\" TKN_ASSIGN_SUB \"-=\"\n%token TKN_ASSIGN_SHL \"<<=\" TKN_ASSIGN_SHR \">>=\"\n%token TKN_ASSIGN_MUL \"*=\" TKN_ASSIGN_DIV \"\/=\" TKN_ASSIGN_REM \"%=\"\n%token TKN_ASSIGN_AND \"&=\" TKN_ASSIGN_OR \"|=\" TKN_ASSIGN_XOR \"^=\"\n%token TKN_INC \"++\" TKN_DEC \"--\"\n%token TKN_LOGIC_AND \"&&\" TKN_LOGIC_OR \"||\"\n%token TKN_ADD \"+\" TKN_SUB \"-\" TKN_ASSIGN \"=\" TKN_AMP \"&\"\n%token TKN_MUL \"*\" TKN_DIV \"\/\" TKN_REM \"%\"\n%token TKN_NOT \"!\" TKN_INV \"~\" TKN_XOR \"^\" TKN_OR \"|\"\n%token TKN_SHL \"<<\" TKN_SHR \">>\"\n%token TKN_LT \"<\" TKN_LE \"<=\" TKN_GT \">\" TKN_GE \">=\" TKN_EQ \"==\" TKN_NE \"!=\"\n\n%type opt_params\n%type params\n%type idents\n%type funcdef\n%type expr\n%type opt_exprs\n%type exprs\n\n%type stmts\n%type stmt\n%type inline_asm\n%type asm_code\n%type asm_qual\n%type opt_asm_regs\n%type asm_regs\n%type asm_reg\n\n%type simple_long\n%type simple_type\n%type vardecls\n%type opt_int opt_signed\n\n\/\/ Precedence: lowest.\n\n%right \"=\" \"+=\" \"-=\" \"*=\" \"\/=\" \"%=\" \"&=\" \"|=\" \"^=\" \"<<=\" \">>=\"\n\n%left \"||\"\n%left \"&&\"\n\n%left \"|\"\n%left \"^\"\n\/\/%left \"&\"\n\n%left \"==\" \"!=\"\n%left \"<\" \">\" \"<=\" \">=\"\n%left \"<<\" \">>\"\n\n%left \"+\" \/\/\"-\"\n%left \"%\" \"\/\" \/\/\"*\"\n\n%right \"!\" \"~\" \"*\" \"&\" \"-\"\n\n%precedence \"(\" \"[\"\n\n%precedence \"then\"\n%precedence \"else\"\n\n\/\/ Precedence: highest.\n\n%%\nlibrary:\t\tglobal library\n|\t\t\t\t%empty;\n\n\/\/ Everything that could happen in a global scope.\nglobal:\t\t\tfuncdef {function_added(ctx, &$1);}\n|\t\t\t\tvardecls;\n\nopt_int:\t\t\"int\"\t\t\t\t\t\t\t\t\t\t{$$=$1;}\n|\t\t\t\t%empty\t\t\t\t\t\t\t\t\t\t{$$=pos_empty(ctx->tokeniser_ctx);};\nopt_signed:\t\t\"signed\"\t\t\t\t\t\t\t\t\t{$$=$1;}\n|\t\t\t\t%empty\t\t\t\t\t\t\t\t\t\t{$$=pos_empty(ctx->tokeniser_ctx);};\n\n\/\/ Used to disambiguate the presense of \"long\".\nsimple_long:\topt_int\t\t\t\t\t\t\t\t\t\t{$$.pos=$1; $$.ival=CTYPE_S_LONG;}\n|\t\t\t\t\"double\"\t\t\t\t\t\t\t\t\t{$$.pos=$1; $$.ival=CTYPE_LONG_DOUBLE;}\n|\t\t\t\t\"long\" opt_int\t\t\t\t\t\t\t\t{$$.pos=pos_merge($1, $2); $$.ival=CTYPE_S_LONGER;};\n\/\/ Simple types: Non-pointer, non-array types.\nsimple_type:\t\"char\"\t\t\t\t\t\t\t\t\t\t{$$.pos=$1; $$.ival=CTYPE_CHAR;}\n|\t\t\t\t\"signed\" \"char\"\t\t\t\t\t\t\t\t{$$.pos=pos_merge($1, $2); $$.ival=CTYPE_S_CHAR;}\n|\t\t\t\t\"unsigned\" \"char\"\t\t\t\t\t\t\t{$$.pos=pos_merge($1, $2); $$.ival=CTYPE_U_CHAR;}\n|\t\t\t\topt_signed \"short\" opt_int\t\t\t\t\t{$$.pos=pos_merge($1, $3); $$.ival=CTYPE_S_SHORT;}\n|\t\t\t\topt_signed \"int\"\t\t\t\t\t\t\t{$$.pos=pos_merge($1, $2); $$.ival=CTYPE_S_INT;}\n|\t\t\t\t\"signed\" \"long\" opt_int\t\t\t\t\t\t{$$.pos=pos_merge($1, $3); $$.ival=CTYPE_S_LONG;}\n|\t\t\t\t\"long\" simple_long\t\t\t\t\t\t\t{$$=$2; $$.pos=pos_merge($1, $2.pos);}\n|\t\t\t\t\"signed\" \"long\" \"long\" opt_int\t\t\t\t{$$.pos=pos_merge($1, $4); $$.ival=CTYPE_S_LONGER;}\n|\t\t\t\t\"unsigned\" \"short\" opt_int\t\t\t\t\t{$$.pos=pos_merge($1, $3); $$.ival=CTYPE_U_SHORT;}\n|\t\t\t\t\"unsigned\" \"int\"\t\t\t\t\t\t\t{$$.pos=pos_merge($1, $2); $$.ival=CTYPE_U_INT;}\n|\t\t\t\t\"unsigned\" \"long\" opt_int\t\t\t\t\t{$$.pos=pos_merge($1, $3); $$.ival=CTYPE_U_LONG;}\n|\t\t\t\t\"unsigned\" \"long\" \"long\" opt_int\t\t\t{$$.pos=pos_merge($1, $4); $$.ival=CTYPE_U_LONGER;}\n|\t\t\t\t\"float\"\t\t\t\t\t\t\t\t\t\t{$$.pos=$1; $$.ival=CTYPE_FLOAT;}\n|\t\t\t\t\"double\"\t\t\t\t\t\t\t\t\t{$$.pos=$1; $$.ival=CTYPE_DOUBLE;}\n|\t\t\t\t\"_Bool\"\t\t\t\t\t\t\t\t\t\t{$$.pos=$1; $$.ival=CTYPE_BOOL;}\n|\t\t\t\t\"void\"\t\t\t\t\t\t\t\t\t\t{$$.pos=$1; $$.ival=CTYPE_VOID;};\n\n\/\/ A function definition (with code).\nfuncdef:\t\tsimple_type TKN_IDENT \"(\" opt_params \")\"\n\t\t\t\t\"{\" stmts \"}\"\t\t\t\t\t\t\t\t{$$=funcdef_decl(&$2, &$4, &$7); $$.pos=pos_merge($1.pos, $8);}\n\/\/ A function definition (without code).\n|\t\t\t\tsimple_type TKN_IDENT \"(\" opt_params \")\"\n\t\t\t\t\";\"\t\t\t\t\t\t\t\t\t\t\t{$$=funcdef_def(&$2, &$4); $$.pos=pos_merge($1.pos, $6);};\n\/\/ One or more variable declarations.\nvardecls:\t\tsimple_type idents \";\"\t\t\t\t\t\t{$$=$2; idents_settype(&$$, $1.ival); $$.pos=pos_merge($1.pos, $3);};\n\n\/\/ Function parameters.\nopt_params:\t\tparams\t\t\t\t\t\t\t\t\t\t{$$=$1;}\n|\t\t\t\t%empty\t\t\t\t\t\t\t\t\t\t{$$=idents_empty(); $$.pos=pos_empty(ctx->tokeniser_ctx);};\nparams:\t\t\tparams \",\" simple_type TKN_IDENT\t\t\t{$$=idents_cat (&$1, &$3.ival, &$4); $$.pos=pos_merge($1.pos, $4.pos);}\n|\t\t\t\tsimple_type TKN_IDENT\t\t\t\t\t\t{$$=idents_one (&$1.ival, &$2); $$.pos=pos_merge($1.pos, $2.pos);};\nidents:\t\t\tidents \",\" TKN_IDENT\t\t\t\t\t\t{$$=idents_cat (&$1, NULL, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\tTKN_IDENT\t\t\t\t\t\t\t\t\t{$$=idents_one (NULL, &$1); $$.pos=$1.pos;};\n\n\/\/ Statements.\nstmts:\t\t\tstmts stmt\t\t\t\t\t\t\t\t\t{$$=stmts_cat (&$1, &$2); $$.pos=pos_merge($1.pos, $2.pos);}\n|\t\t\t\t%empty\t\t\t\t\t\t\t\t\t\t{$$=stmts_empty (); $$.pos=pos_empty(ctx->tokeniser_ctx);};\nstmt:\t\t\t\"{\" stmts \"}\"\t\t\t\t\t\t\t\t{$$=stmt_multi (&$2); $$.pos=pos_merge($1, $3);}\n|\t\t\t\t\"if\" \"(\" expr \")\" stmt\t\t%prec \"then\"\t{$$=stmt_if (&$3, &$5, NULL); $$.pos=pos_merge($1, $5.pos);}\n|\t\t\t\t\"if\" \"(\" expr \")\" stmt\n\t\t\t\t\"else\" stmt\t\t\t\t\t\t\t\t\t{$$=stmt_if (&$3, &$5, &$7); $$.pos=pos_merge($1, $7.pos);}\n|\t\t\t\t\"while\" \"(\" expr \")\" stmt\t\t\t\t\t{$$=stmt_while (&$3, &$5); $$.pos=pos_merge($1, $5.pos);}\n|\t\t\t\t\"return\" \";\"\t\t\t\t\t\t\t\t{$$=stmt_ret (NULL); $$.pos=pos_merge($1, $2);}\n|\t\t\t\t\"return\" expr \";\"\t\t\t\t\t\t\t{$$=stmt_ret (&$2); $$.pos=pos_merge($1, $3);}\n|\t\t\t\tvardecls\t\t\t\t\t\t\t\t\t{$$=stmt_var (&$1); $$.pos=$1.pos;}\n|\t\t\t\texpr \";\"\t\t\t\t\t\t\t\t\t{$$=stmt_expr (&$1); $$.pos=pos_merge($1.pos, $2);}\n|\t\t\t\tinline_asm \";\"\t\t\t\t\t\t\t\t{$$=$1; $$.pos=pos_merge($1.pos, $2);};\n\n\/\/ Expressions.\nopt_exprs:\t\texprs\t\t\t\t\t\t\t\t\t\t{$$=$1;}\n|\t\t\t\t%empty\t\t\t\t\t\t\t\t\t\t{$$=exprs_empty();};\nexprs:\t\t\texprs \",\" expr\t\t\t\t\t\t\t\t{$$=exprs_cat(&$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr\t\t\t\t\t\t\t\t\t\t{$$=exprs_one(&$1); $$.pos=$1.pos;};\nexpr:\t\t\tTKN_IVAL\t\t\t\t\t\t\t\t\t{$$=expr_icnst(&$1); $$.pos=$1.pos;}\n|\t\t\t\tTKN_STRVAL\t\t\t\t\t\t\t\t\t{$$=expr_scnst(&$1); $$.pos=$1.pos;}\n|\t\t\t\tTKN_IDENT\t\t\t\t\t\t\t\t\t{$$=expr_ident(&$1); $$.pos=$1.pos;}\n|\t\t\t\texpr \"(\" opt_exprs \")\"\t\t\t\t\t\t{$$=expr_call (&$1, &$3); $$.pos=pos_merge($1.pos, $4);}\n|\t\t\t\texpr \"[\" expr \"]\"\t\t\t\t\t\t\t{$$=expr_math2(OP_INDEX, &$1, &$3); $$.pos=pos_merge($1.pos, $4);}\n|\t\t\t\t\"(\" expr \")\"\t\t\t\t\t\t\t\t{$$=$2; $$.pos=pos_merge($1, $3);}\n\n|\t\t\t\t\"-\" expr\t\t\t\t\t\t\t\t\t{$$=expr_math1(OP_0_MINUS, &$2); $$.pos=pos_merge($1, $2.pos);}\n|\t\t\t\t\"!\" expr\t\t\t\t\t\t\t\t\t{$$=expr_math1(OP_LOGIC_NOT, &$2); $$.pos=pos_merge($1, $2.pos);}\n|\t\t\t\t\"~\" expr\t\t\t\t\t\t\t\t\t{$$=expr_math1(OP_BIT_NOT, &$2); $$.pos=pos_merge($1, $2.pos);}\n|\t\t\t\t\"&\" expr\t\t\t\t\t\t\t\t\t{$$=expr_math1(OP_ADROF, &$2); $$.pos=pos_merge($1, $2.pos);}\n|\t\t\t\t\"*\" expr\t\t\t\t\t\t\t\t\t{$$=expr_math1(OP_DEREF, &$2); $$.pos=pos_merge($1, $2.pos);}\n\n|\t\t\t\texpr \"*\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_MUL, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"\/\" expr\t\t\t\t%prec \"*\"\t\t{$$=expr_math2(OP_DIV, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"%\" expr\t\t\t\t%prec \"*\"\t\t{$$=expr_math2(OP_MOD, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n\n|\t\t\t\texpr \"+\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_ADD, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"-\" expr\t\t\t\t%prec \"+\"\t\t{$$=expr_math2(OP_SUB, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n\n|\t\t\t\texpr \"<\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_LT, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"<=\" expr\t\t\t\t%prec \"<\"\t\t{$$=expr_math2(OP_LE, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \">\" expr\t\t\t\t%prec \"<\"\t\t{$$=expr_math2(OP_GT, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \">=\" expr\t\t\t\t%prec \"<\"\t\t{$$=expr_math2(OP_GE, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n\n|\t\t\t\texpr \"==\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_NE, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"!=\" expr\t\t\t\t%prec \"==\"\t\t{$$=expr_math2(OP_EQ, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n\n|\t\t\t\texpr \"&\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_BIT_AND, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"^\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_BIT_XOR, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"|\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_BIT_OR, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"<<\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_SHIFT_L, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \">>\" expr\t\t\t\t%prec \"<<\"\t\t{$$=expr_math2(OP_SHIFT_R, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n\n|\t\t\t\texpr \"&&\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_LOGIC_AND, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"||\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_LOGIC_OR, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n\n|\t\t\t\texpr \"=\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_ASSIGN, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"+=\" expr\t\t\t\t%prec \"=\"\t\t{$$=expr_matha(OP_ADD, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"-=\" expr\t\t\t\t%prec \"=\"\t\t{$$=expr_matha(OP_SUB, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"*=\" expr\t\t\t\t%prec \"=\"\t\t{$$=expr_matha(OP_MUL, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"\/=\" expr\t\t\t\t%prec \"=\"\t\t{$$=expr_matha(OP_DIV, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"%=\" expr\t\t\t\t%prec \"=\"\t\t{$$=expr_matha(OP_MOD, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"&=\" expr\t\t\t\t%prec \"=\"\t\t{$$=expr_matha(OP_BIT_AND, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"|=\" expr\t\t\t\t%prec \"=\"\t\t{$$=expr_matha(OP_BIT_OR, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"^=\" expr\t\t\t\t%prec \"=\"\t\t{$$=expr_matha(OP_BIT_XOR, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \"<<=\" expr\t\t\t\t%prec \"=\"\t\t{$$=expr_matha(OP_SHIFT_L, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\texpr \">>=\" expr\t\t\t\t%prec \"=\"\t\t{$$=expr_matha(OP_SHIFT_R, &$1, &$3); $$.pos=pos_merge($1.pos, $3.pos);};\n\n\/\/ Inline assembly snippets.\ninline_asm:\t\t\"asm\" asm_qual asm_code\t\t\t\t\t\t{$$=$3; $$.iasm->qualifiers=$2; $$.iasm->qualifiers.is_volatile |= !$$.iasm->outputs; };\n\nasm_qual:\t\t%empty\t\t\t\t\t\t\t\t\t\t{$$=(iasm_qual_t) {.is_volatile=0, .is_inline=0, .is_goto=0}; $$.pos=pos_empty(ctx->tokeniser_ctx);}\n|\t\t\t\tasm_qual \"volatile\"\t\t\t\t\t\t\t{$$=$1; $$.is_volatile=1; $$.pos=pos_merge($1.pos, $2);}\n|\t\t\t\tasm_qual \"inline\"\t\t\t\t\t\t\t{$$=$1; $$.is_inline=1; $$.pos=pos_merge($1.pos, $2);}\n|\t\t\t\tasm_qual \"goto\"\t\t\t\t\t\t\t\t{$$=$1; $$.is_goto=1; $$.pos=pos_merge($1.pos, $2);};\n\nasm_code:\t\t\"(\" TKN_STRVAL\n\t\t\t\t\":\" opt_asm_regs\n\t\t\t\t\":\" opt_asm_regs\n\t\t\t\t\":\" opt_asm_strs \")\"\t\t\t\t\t\t{$$=stmt_iasm(&$2, &$4, &$6, NULL); $$.pos=pos_merge($1, $9);}\n|\t\t\t\t\"(\" TKN_STRVAL\n\t\t\t\t\":\" opt_asm_regs\n\t\t\t\t\":\" opt_asm_regs \")\"\t\t\t\t\t\t{$$=stmt_iasm(&$2, &$4, &$6, NULL); $$.pos=pos_merge($1, $7);}\n|\t\t\t\t\"(\" TKN_STRVAL\n\t\t\t\t\":\" opt_asm_regs \")\"\t\t\t\t\t\t{$$=stmt_iasm(&$2, &$4, NULL, NULL); $$.pos=pos_merge($1, $5);}\n|\t\t\t\t\"(\" TKN_STRVAL \")\"\t\t\t\t\t\t\t{$$=stmt_iasm(&$2, NULL, NULL, NULL); $$.pos=pos_merge($1, $3);};\n\nopt_asm_strs:\tasm_strs\n|\t\t\t\t%empty;\nasm_strs:\t\tTKN_STRVAL \",\" asm_strs\n|\t\t\t\tTKN_STRVAL;\nopt_asm_regs:\tasm_regs\t\t\t\t\t\t\t\t\t{$$=$1;}\n|\t\t\t\t%empty\t\t\t\t\t\t\t\t\t\t{$$=iasm_regs_empty(); $$.pos=pos_empty(ctx->tokeniser_ctx);};\nasm_regs:\t\tasm_reg \",\" asm_regs\t\t\t\t\t\t{$$=iasm_regs_cat(&$3, &$1); $$.pos=pos_merge($1.pos, $3.pos);}\n|\t\t\t\tasm_reg\t\t\t\t\t\t\t\t\t\t{$$=iasm_regs_one(&$1); $$.pos=$1.pos;};\nasm_reg:\t\t\"[\" TKN_IDENT \"]\" TKN_STRVAL \"(\" expr \")\"\t{$$=stmt_iasm_reg(&$2, &$4, &$6); $$.pos=pos_merge($1, $7);}\n|\t\t\t\tTKN_STRVAL \"(\" expr \")\"\t\t\t\t\t\t{$$=stmt_iasm_reg(NULL, &$1, &$3); $$.pos=pos_merge($1.pos, $4);};\n%%\n\nvoid *make_copy(void *mem, size_t size) {\n\tif (!mem) return NULL;\n\tvoid *copy = malloc(size);\n\tmemcpy(copy, mem, size);\n\treturn copy;\n}\n","avg_line_length":44.7964285714,"max_line_length":130,"alphanum_fraction":0.5316112573} -{"size":494,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"028.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: template [3:1..8]\n#STATE#\tlist<(template-formal-decl)>: (template-formal-decl) ... [3:10..18]\n#STATE#\t< [3:20]\n#STATE#\t> [3:21]\nin state #STATE#, possible rules are:\n\ttemplate_formal_decl_nodefault_list_in_angles: '<' . template_formal_decl_nodefault_list '>' (#RULE#)\nacceptable tokens are: \n\tPINT_TYPE (shift)\n\tPBOOL_TYPE (shift)\n\tPREAL_TYPE (shift)\n\tPSTRING_TYPE (shift)\n","avg_line_length":27.4444444444,"max_line_length":103,"alphanum_fraction":0.7105263158} -{"size":528,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"act-007.hac\":9:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (process-prototype) ... [5:1--7:9]\n#STATE#\t(type-ref) [9:1..3]\n#STATE#\tlist<(declaration-id)>: (declaration-array): identifier: flist<(range)>: (range) ... ... [9:5..7]\n#STATE#\t( [9:9]\nin state #STATE#, possible rules are:\n\ttype_instance_declaration: type_id instance_id_list . ';' (#RULE#)\n\tinstance_id_list: instance_id_list . ',' instance_id_item (#RULE#)\nacceptable tokens are: \n\t',' (shift)\n\t';' (shift)\n","avg_line_length":33.0,"max_line_length":105,"alphanum_fraction":0.6647727273} -{"size":288,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"local-01.hac\":4:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tkeyword: chan [4:1..4]\n#STATE#\t? [4:5]\nin state #STATE#, possible rules are:\n\tbase_chan_type: CHANNEL . data_type_ref_list_optional_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":24.0,"max_line_length":74,"alphanum_fraction":0.7118055556} -{"size":313,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"020.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tkeyword: enum [3:1..4]\n#STATE#\tidentifier: foo [3:6..8]\n#STATE#\t{ [3:10]\n#STATE#\t} [3:12]\nin state #STATE#, possible rules are:\n\tdefenum: ENUM ID '{' . enum_member_list '}' (#RULE#)\nacceptable tokens are: \n\tID (shift)\n","avg_line_length":22.3571428571,"max_line_length":54,"alphanum_fraction":0.6517571885} -{"size":418,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"009.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [3:1..7]\n#STATE#\tidentifier: barbar [3:9..14]\n#STATE#\t< [3:15]\nin state #STATE#, possible rules are:\n\tdeclare_proc_proto: optional_export optional_template_specification def_or_proc ID . optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":27.8666666667,"max_line_length":136,"alphanum_fraction":0.7344497608} -{"size":7677,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"\/* description: Parses and executes mathematical expressions. *\/\n\n\/* lexical grammar *\/\n%lex\n%%\n\\s+ return \"WHITE_SPACE\"\n\">(\" return \"GREATER_THAN\"\n\">=(\" return \"GREATER_THAN_EQUAL\"\n\"<(\" return \"LESS_THAN\"\n\"<=(\" return \"LESS_THAN_EQUAL\"\n\"=(\" return \"UNIFY\"\n\"not(\" return 'NOT'\n\"once(\" return \"ONCE\"\n\"call(\" return \"CALL\"\n\"apply(\" return \"APPLY\"\n\"functor(\" return \"FUNCTOR\"\n\"+(\" return \"ADD\"\n\"*(\" return \"MULTI\"\n\"systemCall(\" return \"SYSTEM_CALL\"\n[A-Z][_A-Za-z0-9]* return 'VARIABLE'\n[a-z][_A-Za-z0-9]* return 'ATOM'\n\\-?[0-9]+(\\.[0-9]+)? return 'NUMBER'\n[\\\"] return \"DOUBLE_QUOTE\"\n[\\\\] return \"ESCAPE_CHAR\"\n\",\" return ','\n\";\" return ';'\n\".\" return 'END'\n\"(\" return '('\n\")\" return ')'\n\":-\" return ':-'\n\"!\" return '!'\n\"|\" return \"|\"\n\"[\" return \"[\"\n\"]\" return \"]\"\n\"_\" return \"_\"\n\\{[0-9A-Za-z_\\-]+\\} return \"OBJECT_ATOM\"\n<> return 'EOF'\n. return 'INVALID'\n\n\/lex\n%left ',' ';' ')'\n%left UNION\n\/* operator associations and precedence *\/\n\n%start expressions\n\n%% \/* language grammar *\/\n\nexpressions\n : clauses opt_white EOF {\n return $1;\n }\n ;\n\ngoal\n : statements -> $1\n ;\n\nnonQuoteToken\n : WHITE_SPACE\n | GREATER_THAN\n | GREATER_THAN_EQUAL\n | LESS_THAN\n | LESS_THAN_EQUAL\n | UNIFY\n | NOT\n | ONCE\n | CALL\n | APPLY\n | FUNCTOR\n | ADD\n | MULTI\n | SYSTEM_CALL\n | VARIABLE\n | ATOM\n | OBJECT_ATOM\n | NUMBER\n | \",\"\n | \";\"\n | END\n | \"(\"\n | \")\"\n | \":-\"\n | \"!\"\n | \"|\"\n | \"[\"\n | \"]\"\n | \"_\"\n | INVALID\n ;\n\nfullyEscaped\n : ESCAPE_CHAR DOUBLE_QUOTE -> $1 + $2\n | ESCAGE_CHAR nonQuoteToken -> $1 + $2\n | ESCAPE_CHAR ESCAPE_CHAR -> $1 + $2\n ;\n\nstringContent\n : \/**\/ -> \"\"\n | stringContent fullyEscaped -> $1 + $2\n | stringContent nonQuoteToken -> $1 + $2\n ;\n\nstring\n : DOUBLE_QUOTE stringContent DOUBLE_QUOTE -> $1 + $2 + $3\n ;\n\nopt_white\n : \/**\/ -> \"\"\n | WHITE_SPACE\n ;\n\nclauses\n : opt_white fact -> [$2]\n | opt_white hornClause -> [$2]\n | clauses opt_white fact {\n $1.push($3);\n $$ = $1;\n }\n | clauses opt_white hornClause {\n $1.push($3);\n $$ = $1;\n }\n ;\n\nfact\n : predicate END {\n $$ = yy.createHornClause($1);\n }\n ;\n\nhornClause\n : predicate opt_white body {\n $$ = yy.createHornClause($1, $3);\n }\n ;\n\nbody\n : \":-\" statements END {\n $$ = yy.createAndStatements($2);\n }\n ;\n\nstatements\n : statement opt_white {\n $$ = yy.createAndStatements($1);\n }\n | statements \";\" statement opt_white {\n $$ = yy.createOrStatements($1, $3);\n }\n | statements \",\" statement opt_white {\n $$ = yy.createAndStatements($1, $3);\n }\n ;\n\nstatement\n : opt_white predicate {\n $$ = yy.createPredicateStatement($2)\n }\n | unionStatement -> $1\n | notStatement -> $1\n | onceStatement -> $1\n | applyStatement -> $1\n | callStatement -> $1\n | functorStatement -> $1\n | systemCallStatement -> $1\n | addStatement -> $1\n | multiStatement -> $1\n | greaterThanStatement -> $1\n | greaterThanEqualStatement -> $1\n | lessThanStatement -> $1\n | lessThanEqualStatement -> $1\n | opt_white \"(\" statements \")\" {\n $$ = $3;\n }\n ;\n\nsystemCallStatement\n : opt_white SYSTEM_CALL opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.SystemCalls($4);\n }\n ;\n\nlessThanStatement\n : opt_white LESS_THAN opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.createLessThanStatement($4, $8);\n }\n ;\n\nlessThanEqualStatement\n : opt_white LESS_THAN_EQUAL opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.createLessThanEqualStatement($4, $8);\n }\n ;\n\ngreaterThanStatement\n : opt_white GREATER_THAN opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.createGreaterThanStatement($4, $8);\n }\n ;\n\ngreaterThanEqualStatement\n : opt_white GREATER_THAN_EQUAL opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.createGreaterThanEqualStatement($4, $8);\n }\n ;\n\naddStatement\n : opt_white ADD opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.addStatement($4, $8, $12);\n }\n ;\n\nmultiStatement\n : opt_white MULTI opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.createMultiStatement($4, $8, $12);\n }\n ;\n\npredicate\n : predicateHead opt_white \")\" {\n $$ = yy.createPredicate($1);\n }\n ;\n\npredicateHead\n : atom \"(\" opt_white atomOrVariableOrPredicateOrList {\n $$ = {name:$1.name, argsList:[$4]}\n }\n | predicateHead opt_white \",\" opt_white atomOrVariableOrPredicateOrList {\n $1.argsList.push($5);\n $$ = $1;\n }\n ;\n\nnotStatement\n : opt_white NOT statements \")\" {\n $$ = yy.createNotStatement($3);\n }\n ;\n\ncallStatement\n : opt_white CALL opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.createCallStatement($4);\n }\n ;\n\nonceStatement\n : opt_white ONCE statements \")\" {\n $$ = yy.createOnceStatement($3);\n }\n ;\n\nfunctorStatement\n : opt_white FUNCTOR opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.createFunctorStatement($4, $8, $12);\n }\n ;\n\napplyStatement\n : opt_white APPLY opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.createApplyStatement($4, $8);\n }\n ;\n\nunionStatement\n : opt_white UNIFY opt_white atomOrVariableOrPredicateOrList opt_white \",\" opt_white atomOrVariableOrPredicateOrList opt_white \")\" {\n $$ = yy.createUnionStatement($4, $8);\n }\n ;\n\nvariable\n : VARIABLE {\n $$ = yy.createVariable($1);\n }\n | \"_\" {\n $$ = yy.createFreeVariable();\n }\n ;\n\natom\n : ATOM {\n $$ = yy.createAtom($1);\n }\n | number -> $1\n | string {\n $$ = yy.createString($1)\n }\n | OBJECT_ATOM {\n var objAtomKey = $1.replace(\"{\",\"\").replace(\"}\",\"\");\n $$ = yy.createObjectAtom(objAtomKey);\n }\n ;\n\nnumber\n : NUMBER {\n $$ = yy.createNumber($1);\n }\n ;\n\natomOrVariableOrPredicateOrList\n : atomOrVariableOrPredicate -> $1\n | list - $1\n ;\n\natomOrVariableOrPredicate\n : atomOrVariable -> $1\n | predicate -> $1\n ;\n\natomOrVariable\n : atom -> $1\n | variable -> $1\n ;\n\natomOrVariableOrList\n : atomOrVariable -> $1\n | list -> $1\n ;\n\nlist\n : listHeadNonEmpty \"|\" opt_white atomOrVariableOrList opt_white \"]\" {\n $$ = yy.createList($1, $4);\n }\n | listHead \"]\" {\n $$ = yy.createList($1);\n }\n ;\n\nlistHeadNonEmpty\n : \"[\" opt_white atomOrVariableOrPredicateOrList opt_white -> [$3]\n | listHead \",\" opt_white atomOrVariableOrPredicateOrList opt_white {\n $1.push($4);\n $$ = $1;\n }\n ;\n\nlistHead\n : \"[\" opt_white -> []\n | listHeadNonEmpty -> $1\n ;\n","avg_line_length":22.4473684211,"max_line_length":193,"alphanum_fraction":0.5782206591} -{"size":464,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"internal-node-05.hac\":7:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(process-prototype) [5:1..27]\n#STATE#\t{ [5:29]\n#STATE#\tkeyword: prs [6:1..3]\n#STATE#\t(null) \n#STATE#\t{ [6:5]\n#STATE#\t(logical-expr) [7:2..6]\n#STATE#\t-> [7:9]\n#STATE#\t(prs-literal) [7:13]\n#STATE#\t. [7:14]\nin state #STATE#, possible rules are:\n\tsingle_prs: prs_expr prs_arrow prs_literal_base . dir (#RULE#)\nacceptable tokens are: \n\t'+' (shift)\n\t'-' (shift)\n","avg_line_length":23.2,"max_line_length":64,"alphanum_fraction":0.6422413793} -{"size":501,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"004.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defchan [3:1..7]\n#STATE#\tidentifier: mychan [3:9..14]\n#STATE#\t<: [3:16]\n#STATE#\tkeyword: chan [3:19..22]\n#STATE#\t( [3:23]\n#STATE#\tlist<(type-ref)>: (type-ref) ... [3:24..27]\n#STATE#\tidentifier: b [3:29]\nin state #STATE#, possible rules are:\n\tdata_type_ref_list_optional_in_parens: '(' data_type_ref_list_optional . ')' (#RULE#)\nacceptable tokens are: \n\t')' (shift)\n","avg_line_length":26.3684210526,"max_line_length":87,"alphanum_fraction":0.6586826347} -{"size":501,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"000.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defchan [3:1..7]\n#STATE#\tidentifier: mychan [3:9..14]\n#STATE#\t<: [3:16]\n#STATE#\tkeyword: chan [3:19..22]\n#STATE#\t( [3:23]\n#STATE#\tlist<(type-ref)>: (type-ref) ... [3:24..27]\n#STATE#\tidentifier: b [3:29]\nin state #STATE#, possible rules are:\n\tdata_type_ref_list_optional_in_parens: '(' data_type_ref_list_optional . ')' (#RULE#)\nacceptable tokens are: \n\t')' (shift)\n","avg_line_length":26.3684210526,"max_line_length":87,"alphanum_fraction":0.6586826347} -{"size":9239,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: input $end\n\n 1 input: %empty\n 2 | input line\n\n 3 line: '\\n'\n 4 | exp '\\n'\n\n 5 exp: NUM\n 6 | exp '+' exp\n 7 | exp '-' exp\n 8 | exp '*' exp\n 9 | exp '\/' exp\n 10 | '-' exp\n 11 | exp '^' exp\n 12 | '(' exp ')'\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'\\n' (10) 3 4\n'(' (40) 12\n')' (41) 12\n'*' (42) 8\n'+' (43) 6\n'-' (45) 7 10\n'\/' (47) 9\n'^' (94) 11\nerror (256)\nNUM (258) 5\nNEG (259)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (13)\n vlevo: 0\ninput (14)\n vlevo: 1 2, vpravo: 0 2\nline (15)\n vlevo: 3 4, vpravo: 2\nexp (16)\n vlevo: 5 6 7 8 9 10 11 12, vpravo: 4 6 7 8 9 10 11 12\n\n\nState 0\n\n 0 $accept: . input $end\n 1 input: . %empty\n 2 | . input line\n\n $v\u00fdchoz\u00ed reduce using rule 1 (input)\n\n input p\u0159ej\u00edt do stavu 1\n\n\nState 1\n\n 0 $accept: input . $end\n 2 input: input . line\n 3 line: . '\\n'\n 4 | . exp '\\n'\n 5 exp: . NUM\n 6 | . exp '+' exp\n 7 | . exp '-' exp\n 8 | . exp '*' exp\n 9 | . exp '\/' exp\n 10 | . '-' exp\n 11 | . exp '^' exp\n 12 | . '(' exp ')'\n\n $end posunout a p\u0159ej\u00edt do stavu 2\n NUM posunout a p\u0159ej\u00edt do stavu 3\n '-' posunout a p\u0159ej\u00edt do stavu 4\n '\\n' posunout a p\u0159ej\u00edt do stavu 5\n '(' posunout a p\u0159ej\u00edt do stavu 6\n\n line p\u0159ej\u00edt do stavu 7\n exp p\u0159ej\u00edt do stavu 8\n\n\nState 2\n\n 0 $accept: input $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 3\n\n 5 exp: NUM .\n\n $v\u00fdchoz\u00ed reduce using rule 5 (exp)\n\n\nState 4\n\n 5 exp: . NUM\n 6 | . exp '+' exp\n 7 | . exp '-' exp\n 8 | . exp '*' exp\n 9 | . exp '\/' exp\n 10 | . '-' exp\n 10 | '-' . exp\n 11 | . exp '^' exp\n 12 | . '(' exp ')'\n\n NUM posunout a p\u0159ej\u00edt do stavu 3\n '-' posunout a p\u0159ej\u00edt do stavu 4\n '(' posunout a p\u0159ej\u00edt do stavu 6\n\n exp p\u0159ej\u00edt do stavu 9\n\n\nState 5\n\n 3 line: '\\n' .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (line)\n\n\nState 6\n\n 5 exp: . NUM\n 6 | . exp '+' exp\n 7 | . exp '-' exp\n 8 | . exp '*' exp\n 9 | . exp '\/' exp\n 10 | . '-' exp\n 11 | . exp '^' exp\n 12 | . '(' exp ')'\n 12 | '(' . exp ')'\n\n NUM posunout a p\u0159ej\u00edt do stavu 3\n '-' posunout a p\u0159ej\u00edt do stavu 4\n '(' posunout a p\u0159ej\u00edt do stavu 6\n\n exp p\u0159ej\u00edt do stavu 10\n\n\nState 7\n\n 2 input: input line .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (input)\n\n\nState 8\n\n 4 line: exp . '\\n'\n 6 exp: exp . '+' exp\n 7 | exp . '-' exp\n 8 | exp . '*' exp\n 9 | exp . '\/' exp\n 11 | exp . '^' exp\n\n '-' posunout a p\u0159ej\u00edt do stavu 11\n '+' posunout a p\u0159ej\u00edt do stavu 12\n '*' posunout a p\u0159ej\u00edt do stavu 13\n '\/' posunout a p\u0159ej\u00edt do stavu 14\n '^' posunout a p\u0159ej\u00edt do stavu 15\n '\\n' posunout a p\u0159ej\u00edt do stavu 16\n\n\nState 9\n\n 6 exp: exp . '+' exp\n 7 | exp . '-' exp\n 8 | exp . '*' exp\n 9 | exp . '\/' exp\n 10 | '-' exp . ['-', '+', '*', '\/', '\\n', ')']\n 11 | exp . '^' exp\n\n '^' posunout a p\u0159ej\u00edt do stavu 15\n\n $v\u00fdchoz\u00ed reduce using rule 10 (exp)\n\n Conflict between rule 10 and token '-' resolved as reduce ('-' < NEG).\n Conflict between rule 10 and token '+' resolved as reduce ('+' < NEG).\n Conflict between rule 10 and token '*' resolved as reduce ('*' < NEG).\n Conflict between rule 10 and token '\/' resolved as reduce ('\/' < NEG).\n Conflict between rule 10 and token '^' resolved as shift (NEG < '^').\n\n\nState 10\n\n 6 exp: exp . '+' exp\n 7 | exp . '-' exp\n 8 | exp . '*' exp\n 9 | exp . '\/' exp\n 11 | exp . '^' exp\n 12 | '(' exp . ')'\n\n '-' posunout a p\u0159ej\u00edt do stavu 11\n '+' posunout a p\u0159ej\u00edt do stavu 12\n '*' posunout a p\u0159ej\u00edt do stavu 13\n '\/' posunout a p\u0159ej\u00edt do stavu 14\n '^' posunout a p\u0159ej\u00edt do stavu 15\n ')' posunout a p\u0159ej\u00edt do stavu 17\n\n\nState 11\n\n 5 exp: . NUM\n 6 | . exp '+' exp\n 7 | . exp '-' exp\n 7 | exp '-' . exp\n 8 | . exp '*' exp\n 9 | . exp '\/' exp\n 10 | . '-' exp\n 11 | . exp '^' exp\n 12 | . '(' exp ')'\n\n NUM posunout a p\u0159ej\u00edt do stavu 3\n '-' posunout a p\u0159ej\u00edt do stavu 4\n '(' posunout a p\u0159ej\u00edt do stavu 6\n\n exp p\u0159ej\u00edt do stavu 18\n\n\nState 12\n\n 5 exp: . NUM\n 6 | . exp '+' exp\n 6 | exp '+' . exp\n 7 | . exp '-' exp\n 8 | . exp '*' exp\n 9 | . exp '\/' exp\n 10 | . '-' exp\n 11 | . exp '^' exp\n 12 | . '(' exp ')'\n\n NUM posunout a p\u0159ej\u00edt do stavu 3\n '-' posunout a p\u0159ej\u00edt do stavu 4\n '(' posunout a p\u0159ej\u00edt do stavu 6\n\n exp p\u0159ej\u00edt do stavu 19\n\n\nState 13\n\n 5 exp: . NUM\n 6 | . exp '+' exp\n 7 | . exp '-' exp\n 8 | . exp '*' exp\n 8 | exp '*' . exp\n 9 | . exp '\/' exp\n 10 | . '-' exp\n 11 | . exp '^' exp\n 12 | . '(' exp ')'\n\n NUM posunout a p\u0159ej\u00edt do stavu 3\n '-' posunout a p\u0159ej\u00edt do stavu 4\n '(' posunout a p\u0159ej\u00edt do stavu 6\n\n exp p\u0159ej\u00edt do stavu 20\n\n\nState 14\n\n 5 exp: . NUM\n 6 | . exp '+' exp\n 7 | . exp '-' exp\n 8 | . exp '*' exp\n 9 | . exp '\/' exp\n 9 | exp '\/' . exp\n 10 | . '-' exp\n 11 | . exp '^' exp\n 12 | . '(' exp ')'\n\n NUM posunout a p\u0159ej\u00edt do stavu 3\n '-' posunout a p\u0159ej\u00edt do stavu 4\n '(' posunout a p\u0159ej\u00edt do stavu 6\n\n exp p\u0159ej\u00edt do stavu 21\n\n\nState 15\n\n 5 exp: . NUM\n 6 | . exp '+' exp\n 7 | . exp '-' exp\n 8 | . exp '*' exp\n 9 | . exp '\/' exp\n 10 | . '-' exp\n 11 | . exp '^' exp\n 11 | exp '^' . exp\n 12 | . '(' exp ')'\n\n NUM posunout a p\u0159ej\u00edt do stavu 3\n '-' posunout a p\u0159ej\u00edt do stavu 4\n '(' posunout a p\u0159ej\u00edt do stavu 6\n\n exp p\u0159ej\u00edt do stavu 22\n\n\nState 16\n\n 4 line: exp '\\n' .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (line)\n\n\nState 17\n\n 12 exp: '(' exp ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 12 (exp)\n\n\nState 18\n\n 6 exp: exp . '+' exp\n 7 | exp . '-' exp\n 7 | exp '-' exp . ['-', '+', '\\n', ')']\n 8 | exp . '*' exp\n 9 | exp . '\/' exp\n 11 | exp . '^' exp\n\n '*' posunout a p\u0159ej\u00edt do stavu 13\n '\/' posunout a p\u0159ej\u00edt do stavu 14\n '^' posunout a p\u0159ej\u00edt do stavu 15\n\n $v\u00fdchoz\u00ed reduce using rule 7 (exp)\n\n Conflict between rule 7 and token '-' resolved as reduce (%left '-').\n Conflict between rule 7 and token '+' resolved as reduce (%left '+').\n Conflict between rule 7 and token '*' resolved as shift ('-' < '*').\n Conflict between rule 7 and token '\/' resolved as shift ('-' < '\/').\n Conflict between rule 7 and token '^' resolved as shift ('-' < '^').\n\n\nState 19\n\n 6 exp: exp . '+' exp\n 6 | exp '+' exp . ['-', '+', '\\n', ')']\n 7 | exp . '-' exp\n 8 | exp . '*' exp\n 9 | exp . '\/' exp\n 11 | exp . '^' exp\n\n '*' posunout a p\u0159ej\u00edt do stavu 13\n '\/' posunout a p\u0159ej\u00edt do stavu 14\n '^' posunout a p\u0159ej\u00edt do stavu 15\n\n $v\u00fdchoz\u00ed reduce using rule 6 (exp)\n\n Conflict between rule 6 and token '-' resolved as reduce (%left '-').\n Conflict between rule 6 and token '+' resolved as reduce (%left '+').\n Conflict between rule 6 and token '*' resolved as shift ('+' < '*').\n Conflict between rule 6 and token '\/' resolved as shift ('+' < '\/').\n Conflict between rule 6 and token '^' resolved as shift ('+' < '^').\n\n\nState 20\n\n 6 exp: exp . '+' exp\n 7 | exp . '-' exp\n 8 | exp . '*' exp\n 8 | exp '*' exp . ['-', '+', '*', '\/', '\\n', ')']\n 9 | exp . '\/' exp\n 11 | exp . '^' exp\n\n '^' posunout a p\u0159ej\u00edt do stavu 15\n\n $v\u00fdchoz\u00ed reduce using rule 8 (exp)\n\n Conflict between rule 8 and token '-' resolved as reduce ('-' < '*').\n Conflict between rule 8 and token '+' resolved as reduce ('+' < '*').\n Conflict between rule 8 and token '*' resolved as reduce (%left '*').\n Conflict between rule 8 and token '\/' resolved as reduce (%left '\/').\n Conflict between rule 8 and token '^' resolved as shift ('*' < '^').\n\n\nState 21\n\n 6 exp: exp . '+' exp\n 7 | exp . '-' exp\n 8 | exp . '*' exp\n 9 | exp . '\/' exp\n 9 | exp '\/' exp . ['-', '+', '*', '\/', '\\n', ')']\n 11 | exp . '^' exp\n\n '^' posunout a p\u0159ej\u00edt do stavu 15\n\n $v\u00fdchoz\u00ed reduce using rule 9 (exp)\n\n Conflict between rule 9 and token '-' resolved as reduce ('-' < '\/').\n Conflict between rule 9 and token '+' resolved as reduce ('+' < '\/').\n Conflict between rule 9 and token '*' resolved as reduce (%left '*').\n Conflict between rule 9 and token '\/' resolved as reduce (%left '\/').\n Conflict between rule 9 and token '^' resolved as shift ('\/' < '^').\n\n\nState 22\n\n 6 exp: exp . '+' exp\n 7 | exp . '-' exp\n 8 | exp . '*' exp\n 9 | exp . '\/' exp\n 11 | exp . '^' exp\n 11 | exp '^' exp . ['-', '+', '*', '\/', '\\n', ')']\n\n '^' posunout a p\u0159ej\u00edt do stavu 15\n\n $v\u00fdchoz\u00ed reduce using rule 11 (exp)\n\n Conflict between rule 11 and token '-' resolved as reduce ('-' < '^').\n Conflict between rule 11 and token '+' resolved as reduce ('+' < '^').\n Conflict between rule 11 and token '*' resolved as reduce ('*' < '^').\n Conflict between rule 11 and token '\/' resolved as reduce ('\/' < '^').\n Conflict between rule 11 and token '^' resolved as shift (%right '^').\n","avg_line_length":22.2091346154,"max_line_length":74,"alphanum_fraction":0.4880398312} -{"size":412,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"001.hac\":4:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [3:1..7]\n#STATE#\tidentifier: fang [3:9..12]\n#STATE#\t$end\nin state #STATE#, possible rules are:\n\tdeclare_proc_proto: optional_export optional_template_specification def_or_proc ID . optional_port_formal_decl_list_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":27.4666666667,"max_line_length":136,"alphanum_fraction":0.7402912621} -{"size":2716,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"# $Id$\n# Adapt BISON output for C++ usage\n\n# Copyright (C) 1995-1999 Technische Universitaet Braunschweig, Germany.\n# Written by Andreas Zeller .\n# \n# This file is part of DDD.\n# \n# DDD is free software; you can redistribute it and\/or\n# modify it under the terms of the GNU General Public\n# License as published by the Free Software Foundation; either\n# version 2 of the License, or (at your option) any later version.\n# \n# DDD is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n# See the GNU General Public License for more details.\n# \n# You should have received a copy of the GNU General Public\n# License along with DDD -- see the file COPYING.\n# If not, write to the Free Software Foundation, Inc.,\n# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n# \n# DDD is the data display debugger.\n# For details, see the DDD World-Wide-Web page, \n# `http:\/\/www.gnu.org\/software\/ddd\/',\n# or send a mail to the DDD developers .\n\n# Declare functions\n1i\\\n\/\/ This file was modified for -*- C++ -*-\\\n\/\/ using $RCSfile$ $Revision$\\\nextern void yyerror(const char *s);\\\nextern int yylex();\\\n\n# Make YYSTYPE a struct such that we can store class objects\n# (use anonymous unions to save space!)\ns!^typedef union *[a-zA-Z_]*\\(.*\\)$!typedef struct _YYSTYPE \\1!\n\n# We cannot use alloca with class objects.\n# Thus, we use new\/delete instead (rather ugly).\n\n# Make sure all is deleted when we exit\n\\!^#define YYERRCODE.*!a\\\n\\\n\/\/ This deletes the \"kill\" array upon destruction.\\\n\/\/ Will be used as automatic variable in yyparse().\\\n\/\/ Added by $RCSfile$\\\nstruct YYMEMHANDLER {\\\n YYSTYPE *kill;\\\n\\\n YYMEMHANDLER()\\\n\t: kill(0)\\\n {}\\\n\\\n ~YYMEMHANDLER()\\\n {\\\n\tif (kill != 0)\\\n \t delete[] kill;\\\n kill = 0;\\\n }\\\n\\\nprivate:\\\n YYMEMHANDLER(const YYMEMHANDLER&);\\\n YYMEMHANDLER& operator=(const YYMEMHANDLER&);\\\n};\\\n\n\\!.int yystacksize!a\\\n YYMEMHANDLER yymem; \/\/ Added by $RCSfile$\n\n# stack reallocation -> own code\n\\!.*yyvs = (YYSTYPE \\*!,\\!unsigned int!c\\\n\\\n \/\/ Added by $RCSfile$. \\\n YYSTYPE *new_yyvs = new YYSTYPE [yystacksize];\\\n if (new_yyvs == 0)\\\n {\\\n yyerror(\"parser stack overflow\");\\\n return 2;\\\n }\\\n for (int yycopy = 0; yycopy < yystacksize; yycopy++)\\\n {\\\n new_yyvs[yycopy] = yyvs[yycopy];\\\n }\\\n delete[] yyvs; yyvs = new_yyvs;\\\n yymem.kill = yyvs; \/\/ make sure yyvs is deleted upon return \\\n\n\n# malloc\/free -> new\/delete\ns!(\\([^)]*\\) *\\*) *malloc *(\\([^)]*\\))!new \\1[\\2]!g\ns!free *(\\([^)]*\\))!delete [] \\1!g\n\n# malloc.h -> stdlib.h\ns!!!\n","avg_line_length":28.5894736842,"max_line_length":72,"alphanum_fraction":0.6469072165} -{"size":775,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: E $end\n\n 1 E: '1' E\n 2 | '1'\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'1' (49) 1 2\nerror (256)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (4)\n vlevo: 0\nE (5)\n vlevo: 1 2, vpravo: 0 1\n\n\nState 0\n\n 0 $accept: . E $end\n 1 E: . '1' E\n 2 | . '1'\n\n '1' posunout a p\u0159ej\u00edt do stavu 1\n\n E p\u0159ej\u00edt do stavu 2\n\n\nState 1\n\n 1 E: . '1' E\n 1 | '1' . E\n 2 | . '1'\n 2 | '1' . [$end]\n\n '1' posunout a p\u0159ej\u00edt do stavu 1\n\n $v\u00fdchoz\u00ed reduce using rule 2 (E)\n\n E p\u0159ej\u00edt do stavu 3\n\n\nState 2\n\n 0 $accept: E . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 4\n\n\nState 3\n\n 1 E: '1' E .\n\n $v\u00fdchoz\u00ed reduce using rule 1 (E)\n\n\nState 4\n\n 0 $accept: E $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n","avg_line_length":11.3970588235,"max_line_length":46,"alphanum_fraction":0.5212903226} -{"size":522,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"049.hac\":9:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (instance-decl) ... [6:1--7:8]\n#STATE#\t(type-ref) [9:1..4]\n#STATE#\tlist<(declaration-id)>: (declaration-array): identifier: zlist<(range)>: (range) ... ... [9:6..11]\n#STATE#\t= [9:14]\nin state #STATE#, possible rules are:\n\ttype_instance_declaration: type_id instance_id_list . ';' (#RULE#)\n\tinstance_id_list: instance_id_list . ',' instance_id_item (#RULE#)\nacceptable tokens are: \n\t',' (shift)\n\t';' (shift)\n","avg_line_length":32.625,"max_line_length":106,"alphanum_fraction":0.662835249} -{"size":353817,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Rules useless in parser due to conflicts\n\n 2 AnonymousField1: %empty\n\n 100 ForClause1: %empty\n\n 104 ForClause3: %empty\n\n 126 IfStmt1: %empty\n\n 224 RecvStmt1: %empty\n\n 322 TypeSwitchStmt1: %empty\n 323 | SimpleStmt ';'\n\n\nStav 41 conflicts: 1 shift\/reduce\nStav 59 conflicts: 1 shift\/reduce\nStav 85 conflicts: 1 shift\/reduce\nStav 88 conflicts: 1 shift\/reduce\nStav 111 conflicts: 1 shift\/reduce, 5 reduce\/reduce\nStav 135 conflicts: 17 shift\/reduce, 1 reduce\/reduce\nStav 136 conflicts: 5 reduce\/reduce\nStav 141 conflicts: 1 reduce\/reduce\nStav 155 conflicts: 10 shift\/reduce\nStav 179 conflicts: 1 shift\/reduce\nStav 192 conflicts: 16 shift\/reduce\nStav 212 conflicts: 1 shift\/reduce\nStav 223 conflicts: 1 shift\/reduce\nStav 243 conflicts: 1 shift\/reduce\nStav 245 conflicts: 1 shift\/reduce\nStav 250 conflicts: 1 shift\/reduce, 3 reduce\/reduce\nStav 259 conflicts: 1 shift\/reduce\nStav 264 conflicts: 1 shift\/reduce\nStav 272 conflicts: 1 shift\/reduce\nStav 275 conflicts: 1 shift\/reduce, 4 reduce\/reduce\nStav 280 conflicts: 1 reduce\/reduce\nStav 283 conflicts: 16 shift\/reduce\nStav 286 conflicts: 16 shift\/reduce, 15 reduce\/reduce\nStav 335 conflicts: 1 shift\/reduce\nStav 344 conflicts: 16 shift\/reduce\nStav 359 conflicts: 1 shift\/reduce, 4 reduce\/reduce\nStav 381 conflicts: 1 shift\/reduce\nStav 392 conflicts: 16 shift\/reduce\nStav 393 conflicts: 1 shift\/reduce\nStav 408 conflicts: 15 reduce\/reduce\nStav 423 conflicts: 16 shift\/reduce\nStav 432 conflicts: 1 reduce\/reduce\n\n\nGramatika\n\n 0 $accept: Start $end\n\n 1 AnonymousField: AnonymousField1 TypeName\n\n 2 AnonymousField1: %empty\n 3 | '*'\n\n 4 ArgumentList: ExpressionList ArgumentList1\n\n 5 ArgumentList1: %empty\n 6 | TOK4\n\n 7 ArrayLength: Expression\n\n 8 ArrayType: '[' ArrayLength ']' ElementType\n\n 9 Assignment: ExpressionList ASSIGN_OP ExpressionList\n\n 10 BaseType: Type\n\n 11 BaseTypeName: IDENTIFIER\n\n 12 BasicLit: INT_LIT\n 13 | FLOAT_LIT\n 14 | IMAGINARY_LIT\n 15 | RUNE_LIT\n 16 | STRING_LIT\n\n 17 Block: '{' StatementList '}'\n\n 18 BreakStmt: BREAK BreakStmt1\n\n 19 BreakStmt1: %empty\n 20 | Label\n\n 21 BuiltinArgs: Type BuiltinArgs1\n 22 | ArgumentList\n\n 23 BuiltinArgs1: %empty\n 24 | ',' ArgumentList\n\n 25 BuiltinCall: IDENTIFIER '(' BuiltinCall1 ')'\n\n 26 BuiltinCall1: %empty\n 27 | BuiltinArgs BuiltinCall11\n\n 28 BuiltinCall11: %empty\n 29 | ','\n\n 30 Call: '(' Call1 ')'\n\n 31 Call1: %empty\n 32 | ArgumentList Call11\n\n 33 Call11: %empty\n 34 | ','\n\n 35 Channel: Expression\n\n 36 ChannelType: ChannelType1 ElementType\n\n 37 ChannelType1: CHAN\n 38 | CHAN TOK5\n 39 | TOK5 CHAN\n\n 40 CommCase: CASE CommCase1\n 41 | DEFAULT\n\n 42 CommCase1: SendStmt\n 43 | RecvStmt\n\n 44 CommClause: CommCase ':' StatementList\n\n 45 CompositeLit: LiteralType LiteralValue\n\n 46 Condition: Expression\n\n 47 ConstDecl: CONST ConstDecl1\n\n 48 ConstDecl1: ConstSpec\n 49 | '(' ConstDecl11 ')'\n\n 50 ConstDecl11: %empty\n 51 | ConstDecl11 ConstSpec ';'\n\n 52 ConstSpec: IdentifierList ConstSpec1\n\n 53 ConstSpec1: %empty\n 54 | ConstSpec11 '=' ExpressionList\n\n 55 ConstSpec11: %empty\n 56 | Type\n\n 57 ContinueStmt: CONTINUE ContinueStmt1\n\n 58 ContinueStmt1: %empty\n 59 | Label\n\n 60 Conversion: Type '(' Expression Conversion1 ')'\n\n 61 Conversion1: %empty\n 62 | ','\n\n 63 Declaration: ConstDecl\n 64 | TypeDecl\n 65 | VarDecl\n\n 66 DeferStmt: DEFER Expression\n\n 67 Element: Element1 Value\n\n 68 Element1: %empty\n 69 | Key ':'\n\n 70 ElementIndex: Expression\n\n 71 ElementList: Element ElementList1\n\n 72 ElementList1: %empty\n 73 | ElementList1 ',' Element\n\n 74 ElementType: Type\n\n 75 EmptyStmt: %empty\n\n 76 ExprCaseClause: ExprSwitchCase ':' StatementList\n\n 77 ExprSwitchCase: CASE ExpressionList\n 78 | DEFAULT\n\n 79 ExprSwitchStmt: SWITCH ExprSwitchStmt1 ExprSwitchStmt2 '{' ExprSwitchStmt3 '}'\n\n 80 ExprSwitchStmt1: %empty\n 81 | SimpleStmt ';'\n\n 82 ExprSwitchStmt2: %empty\n 83 | Expression\n\n 84 ExprSwitchStmt3: %empty\n 85 | ExprSwitchStmt3 ExprCaseClause\n\n 86 Expression: UnaryExpr\n 87 | Expression BINARY_OP UnaryExpr\n\n 88 ExpressionList: Expression ExpressionList1\n\n 89 ExpressionList1: %empty\n 90 | ExpressionList1 ',' Expression\n\n 91 ExpressionStmt: Expression\n\n 92 FallthroughStmt: FALLTHROUGH\n\n 93 FieldDecl: FieldDecl1 FieldDecl2\n\n 94 FieldDecl1: IdentifierList Type\n 95 | AnonymousField\n\n 96 FieldDecl2: %empty\n 97 | Tag\n\n 98 FieldName: IDENTIFIER\n\n 99 ForClause: ForClause1 ';' ForClause2 ';' ForClause3\n\n 100 ForClause1: %empty\n 101 | InitStmt\n\n 102 ForClause2: %empty\n 103 | Condition\n\n 104 ForClause3: %empty\n 105 | PostStmt\n\n 106 ForStmt: FOR ForStmt1 Block\n\n 107 ForStmt1: %empty\n 108 | ForStmt11\n\n 109 ForStmt11: Condition\n 110 | ForClause\n 111 | RangeClause\n\n 112 Function: Signature FunctionBody\n\n 113 FunctionBody: Block\n\n 114 FunctionDecl: FUNC FunctionName FunctionDecl1\n\n 115 FunctionDecl1: Function\n 116 | Signature\n\n 117 FunctionLit: FUNC Function\n\n 118 FunctionName: IDENTIFIER\n\n 119 FunctionType: FUNC Signature\n\n 120 GoStmt: GO Expression\n\n 121 GotoStmt: GOTO Label\n\n 122 IdentifierList: IDENTIFIER IdentifierList1\n\n 123 IdentifierList1: %empty\n 124 | IdentifierList1 ',' IDENTIFIER\n\n 125 IfStmt: IF IfStmt1 Expression Block IfStmt2\n\n 126 IfStmt1: %empty\n 127 | SimpleStmt ';'\n\n 128 IfStmt2: %empty\n 129 | ELSE IfStmt21\n\n 130 IfStmt21: IfStmt\n 131 | Block\n\n 132 ImportDecl: IMPORT ImportDecl1\n\n 133 ImportDecl1: ImportSpec\n 134 | '(' ImportDecl11 ')'\n\n 135 ImportDecl11: %empty\n 136 | ImportDecl11 ImportSpec ';'\n\n 137 ImportPath: STRING_LIT\n\n 138 ImportSpec: ImportSpec1 ImportPath\n\n 139 ImportSpec1: %empty\n 140 | ImportSpec11\n\n 141 ImportSpec11: '.'\n 142 | PackageName\n\n 143 IncDecStmt: Expression IncDecStmt1\n\n 144 IncDecStmt1: TOK2\n 145 | TOK1\n\n 146 Index: '[' Expression ']'\n\n 147 InitStmt: SimpleStmt\n\n 148 InterfaceType: INTERFACE '{' InterfaceType1 '}'\n\n 149 InterfaceType1: %empty\n 150 | InterfaceType1 MethodSpec ';'\n\n 151 InterfaceTypeName: TypeName\n\n 152 Key: FieldName\n 153 | ElementIndex\n\n 154 KeyType: Type\n\n 155 Label: IDENTIFIER\n\n 156 LabeledStmt: Label ':' Statement\n\n 157 Literal: BasicLit\n 158 | CompositeLit\n 159 | FunctionLit\n\n 160 LiteralType: StructType\n 161 | ArrayType\n 162 | '[' TOK4 ']' ElementType\n 163 | SliceType\n 164 | MapType\n 165 | TypeName\n\n 166 LiteralValue: '{' LiteralValue1 '}'\n\n 167 LiteralValue1: %empty\n 168 | ElementList LiteralValue11\n\n 169 LiteralValue11: %empty\n 170 | ','\n\n 171 MapType: MAP '[' KeyType ']' ElementType\n\n 172 MethodDecl: FUNC Receiver MethodName MethodDecl1\n\n 173 MethodDecl1: Function\n 174 | Signature\n\n 175 MethodExpr: ReceiverType '.' MethodName\n\n 176 MethodName: IDENTIFIER\n\n 177 MethodSpec: MethodName Signature\n 178 | InterfaceTypeName\n\n 179 Operand: Literal\n 180 | OperandName\n 181 | MethodExpr\n 182 | '(' Expression ')'\n\n 183 OperandName: IDENTIFIER\n 184 | QualifiedIdent\n\n 185 PackageClause: PACKAGE PackageName\n\n 186 PackageName: IDENTIFIER\n\n 187 ParameterDecl: ParameterDecl1 ParameterDecl2 Type\n\n 188 ParameterDecl1: %empty\n 189 | IdentifierList\n\n 190 ParameterDecl2: %empty\n 191 | TOK4\n\n 192 ParameterList: ParameterDecl ParameterList1\n\n 193 ParameterList1: %empty\n 194 | ParameterList1 ',' ParameterDecl\n\n 195 Parameters: '(' Parameters1 ')'\n\n 196 Parameters1: %empty\n 197 | ParameterList Parameters11\n\n 198 Parameters11: %empty\n 199 | ','\n\n 200 PointerType: '*' BaseType\n\n 201 PostStmt: SimpleStmt\n\n 202 PrimaryExpr: Operand\n 203 | Conversion\n 204 | BuiltinCall\n 205 | PrimaryExpr Selector\n 206 | PrimaryExpr Index\n 207 | PrimaryExpr Slice\n 208 | PrimaryExpr TypeAssertion\n 209 | PrimaryExpr Call\n\n 210 QualifiedIdent: PackageName '.' IDENTIFIER\n\n 211 RangeClause: RangeClause1 RANGE Expression\n\n 212 RangeClause1: ExpressionList '='\n 213 | IdentifierList TOK3\n\n 214 Receiver: '(' Receiver1 Receiver2 BaseTypeName ')'\n\n 215 Receiver1: %empty\n 216 | IDENTIFIER\n\n 217 Receiver2: %empty\n 218 | '*'\n\n 219 ReceiverType: TypeName\n 220 | '(' '*' TypeName ')'\n 221 | '(' ReceiverType ')'\n\n 222 RecvExpr: Expression\n\n 223 RecvStmt: RecvStmt1 RecvExpr\n\n 224 RecvStmt1: %empty\n 225 | RecvStmt11\n\n 226 RecvStmt11: ExpressionList '='\n 227 | IdentifierList TOK3\n\n 228 Result: Parameters\n 229 | Type\n\n 230 ReturnStmt: RETURN ReturnStmt1\n\n 231 ReturnStmt1: %empty\n 232 | ExpressionList\n\n 233 SelectStmt: SELECT '{' SelectStmt1 '}'\n\n 234 SelectStmt1: %empty\n 235 | SelectStmt1 CommClause\n\n 236 Selector: '.' IDENTIFIER\n\n 237 SendStmt: Channel TOK5 Expression\n\n 238 ShortVarDecl: IdentifierList TOK3 ExpressionList\n\n 239 Signature: Parameters Signature1\n\n 240 Signature1: %empty\n 241 | Result\n\n 242 SimpleStmt: EmptyStmt\n 243 | ExpressionStmt\n 244 | SendStmt\n 245 | IncDecStmt\n 246 | Assignment\n 247 | ShortVarDecl\n\n 248 Slice: '[' Slice1\n 249 | Slice2 ']'\n\n 250 Slice1: Slice11 ':' Slice12\n\n 251 Slice11: %empty\n 252 | Expression\n\n 253 Slice12: %empty\n 254 | Expression\n\n 255 Slice2: Slice21 ':' Expression ':' Expression\n\n 256 Slice21: %empty\n 257 | Expression\n\n 258 SliceType: '[' ']' ElementType\n\n 259 SourceFile: PackageClause ';' SourceFile1 SourceFile2\n\n 260 SourceFile1: %empty\n 261 | SourceFile1 ImportDecl ';'\n\n 262 SourceFile2: %empty\n 263 | SourceFile2 TopLevelDecl ';'\n\n 264 Start: SourceFile\n\n 265 Statement: Declaration\n 266 | LabeledStmt\n 267 | SimpleStmt\n 268 | GoStmt\n 269 | ReturnStmt\n 270 | BreakStmt\n 271 | ContinueStmt\n 272 | GotoStmt\n 273 | FallthroughStmt\n 274 | Block\n 275 | IfStmt\n 276 | SwitchStmt\n 277 | SelectStmt\n 278 | ForStmt\n 279 | DeferStmt\n\n 280 StatementList: StatementList1\n\n 281 StatementList1: %empty\n 282 | StatementList1 Statement ';'\n\n 283 StructType: STRUCT '{' StructType1 '}'\n\n 284 StructType1: %empty\n 285 | StructType1 FieldDecl ';'\n\n 286 SwitchStmt: ExprSwitchStmt\n 287 | TypeSwitchStmt\n\n 288 Tag: STRING_LIT\n\n 289 TopLevelDecl: Declaration\n 290 | FunctionDecl\n 291 | MethodDecl\n\n 292 Type: TypeName\n 293 | TypeLit\n 294 | '(' Type ')'\n\n 295 TypeAssertion: '.' '(' Type ')'\n\n 296 TypeCaseClause: TypeSwitchCase ':' StatementList\n\n 297 TypeDecl: TYPE TypeDecl1\n\n 298 TypeDecl1: TypeSpec\n 299 | '(' TypeDecl11 ')'\n\n 300 TypeDecl11: %empty\n 301 | TypeDecl11 TypeSpec ';'\n\n 302 TypeList: Type TypeList1\n\n 303 TypeList1: %empty\n 304 | TypeList1 ',' Type\n\n 305 TypeLit: ArrayType\n 306 | StructType\n 307 | PointerType\n 308 | FunctionType\n 309 | InterfaceType\n 310 | SliceType\n 311 | MapType\n 312 | ChannelType\n\n 313 TypeName: IDENTIFIER\n 314 | QualifiedIdent\n\n 315 TypeSpec: IDENTIFIER Type\n\n 316 TypeSwitchCase: CASE TypeList\n 317 | DEFAULT\n\n 318 TypeSwitchGuard: TypeSwitchGuard1 PrimaryExpr '.' '(' TYPE ')'\n\n 319 TypeSwitchGuard1: %empty\n 320 | IDENTIFIER TOK3\n\n 321 TypeSwitchStmt: SWITCH TypeSwitchStmt1 TypeSwitchGuard '{' TypeSwitchStmt2 '}'\n\n 322 TypeSwitchStmt1: %empty\n 323 | SimpleStmt ';'\n\n 324 TypeSwitchStmt2: %empty\n 325 | TypeSwitchStmt2 TypeCaseClause\n\n 326 UnaryExpr: PrimaryExpr\n 327 | UNARY_OP UnaryExpr\n\n 328 Value: Expression\n 329 | LiteralValue\n\n 330 VarDecl: VAR VarDecl1\n\n 331 VarDecl1: VarSpec\n 332 | '(' VarDecl11 ')'\n\n 333 VarDecl11: %empty\n 334 | VarDecl11 VarSpec ';'\n\n 335 VarSpec: IdentifierList VarSpec1\n\n 336 VarSpec1: Type VarSpec11\n 337 | '=' ExpressionList\n\n 338 VarSpec11: %empty\n 339 | '=' ExpressionList\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'(' (40) 25 30 49 60 134 182 195 214 220 221 294 295 299 318 332\n')' (41) 25 30 49 60 134 182 195 214 220 221 294 295 299 318 332\n'*' (42) 3 200 218 220\n',' (44) 24 29 34 62 73 90 124 170 194 199 304\n'.' (46) 141 175 210 236 295 318\n':' (58) 44 69 76 156 250 255 296\n';' (59) 51 81 99 127 136 150 259 261 263 282 285 301 323 334\n'=' (61) 54 212 226 337 339\n'[' (91) 8 146 162 171 248 258\n']' (93) 8 146 162 171 249 258\n'{' (123) 17 79 148 166 233 283 321\n'}' (125) 17 79 148 166 233 283 321\nerror (256)\nASSIGN_OP (258) 9\nBINARY_OP (259) 87\nFLOAT_LIT (260) 13\nIDENTIFIER (261) 11 25 98 118 122 124 155 176 183 186 210 216 236 313\n 315 320\nIMAGINARY_LIT (262) 14\nINT_LIT (263) 12\nRUNE_LIT (264) 15\nSTRING_LIT (265) 16 137 288\nUNARY_OP (266) 327\nTOK1 (267) 145\nTOK2 (268) 144\nTOK3 (269) 213 227 238 320\nTOK4 (270) 6 162 191\nTOK5 (271) 38 39 237\nBREAK (272) 18\nCASE (273) 40 77 316\nCHAN (274) 37 38 39\nCONST (275) 47\nCONTINUE (276) 57\nDEFAULT (277) 41 78 317\nDEFER (278) 66\nELSE (279) 129\nFALLTHROUGH (280) 92\nFOR (281) 106\nFUNC (282) 114 117 119 172\nGO (283) 120\nGOTO (284) 121\nIF (285) 125\nIMPORT (286) 132\nINTERFACE (287) 148\nMAP (288) 171\nPACKAGE (289) 185\nRANGE (290) 211\nRETURN (291) 230\nSELECT (292) 233\nSTRUCT (293) 283\nSWITCH (294) 79 321\nTYPE (295) 297 318\nVAR (296) 330\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (54)\n vlevo: 0\nAnonymousField (55)\n vlevo: 1, vpravo: 95\nAnonymousField1 (56)\n vlevo: 2 3, vpravo: 1\nArgumentList (57)\n vlevo: 4, vpravo: 22 24 32\nArgumentList1 (58)\n vlevo: 5 6, vpravo: 4\nArrayLength (59)\n vlevo: 7, vpravo: 8\nArrayType (60)\n vlevo: 8, vpravo: 161 305\nAssignment (61)\n vlevo: 9, vpravo: 246\nBaseType (62)\n vlevo: 10, vpravo: 200\nBaseTypeName (63)\n vlevo: 11, vpravo: 214\nBasicLit (64)\n vlevo: 12 13 14 15 16, vpravo: 157\nBlock (65)\n vlevo: 17, vpravo: 106 113 125 131 274\nBreakStmt (66)\n vlevo: 18, vpravo: 270\nBreakStmt1 (67)\n vlevo: 19 20, vpravo: 18\nBuiltinArgs (68)\n vlevo: 21 22, vpravo: 27\nBuiltinArgs1 (69)\n vlevo: 23 24, vpravo: 21\nBuiltinCall (70)\n vlevo: 25, vpravo: 204\nBuiltinCall1 (71)\n vlevo: 26 27, vpravo: 25\nBuiltinCall11 (72)\n vlevo: 28 29, vpravo: 27\nCall (73)\n vlevo: 30, vpravo: 209\nCall1 (74)\n vlevo: 31 32, vpravo: 30\nCall11 (75)\n vlevo: 33 34, vpravo: 32\nChannel (76)\n vlevo: 35, vpravo: 237\nChannelType (77)\n vlevo: 36, vpravo: 312\nChannelType1 (78)\n vlevo: 37 38 39, vpravo: 36\nCommCase (79)\n vlevo: 40 41, vpravo: 44\nCommCase1 (80)\n vlevo: 42 43, vpravo: 40\nCommClause (81)\n vlevo: 44, vpravo: 235\nCompositeLit (82)\n vlevo: 45, vpravo: 158\nCondition (83)\n vlevo: 46, vpravo: 103 109\nConstDecl (84)\n vlevo: 47, vpravo: 63\nConstDecl1 (85)\n vlevo: 48 49, vpravo: 47\nConstDecl11 (86)\n vlevo: 50 51, vpravo: 49 51\nConstSpec (87)\n vlevo: 52, vpravo: 48 51\nConstSpec1 (88)\n vlevo: 53 54, vpravo: 52\nConstSpec11 (89)\n vlevo: 55 56, vpravo: 54\nContinueStmt (90)\n vlevo: 57, vpravo: 271\nContinueStmt1 (91)\n vlevo: 58 59, vpravo: 57\nConversion (92)\n vlevo: 60, vpravo: 203\nConversion1 (93)\n vlevo: 61 62, vpravo: 60\nDeclaration (94)\n vlevo: 63 64 65, vpravo: 265 289\nDeferStmt (95)\n vlevo: 66, vpravo: 279\nElement (96)\n vlevo: 67, vpravo: 71 73\nElement1 (97)\n vlevo: 68 69, vpravo: 67\nElementIndex (98)\n vlevo: 70, vpravo: 153\nElementList (99)\n vlevo: 71, vpravo: 168\nElementList1 (100)\n vlevo: 72 73, vpravo: 71 73\nElementType (101)\n vlevo: 74, vpravo: 8 36 162 171 258\nEmptyStmt (102)\n vlevo: 75, vpravo: 242\nExprCaseClause (103)\n vlevo: 76, vpravo: 85\nExprSwitchCase (104)\n vlevo: 77 78, vpravo: 76\nExprSwitchStmt (105)\n vlevo: 79, vpravo: 286\nExprSwitchStmt1 (106)\n vlevo: 80 81, vpravo: 79\nExprSwitchStmt2 (107)\n vlevo: 82 83, vpravo: 79\nExprSwitchStmt3 (108)\n vlevo: 84 85, vpravo: 79 85\nExpression (109)\n vlevo: 86 87, vpravo: 7 35 46 60 66 70 83 87 88 90 91 120 125 143\n 146 182 211 222 237 252 254 255 257 328\nExpressionList (110)\n vlevo: 88, vpravo: 4 9 54 77 212 226 232 238 337 339\nExpressionList1 (111)\n vlevo: 89 90, vpravo: 88 90\nExpressionStmt (112)\n vlevo: 91, vpravo: 243\nFallthroughStmt (113)\n vlevo: 92, vpravo: 273\nFieldDecl (114)\n vlevo: 93, vpravo: 285\nFieldDecl1 (115)\n vlevo: 94 95, vpravo: 93\nFieldDecl2 (116)\n vlevo: 96 97, vpravo: 93\nFieldName (117)\n vlevo: 98, vpravo: 152\nForClause (118)\n vlevo: 99, vpravo: 110\nForClause1 (119)\n vlevo: 100 101, vpravo: 99\nForClause2 (120)\n vlevo: 102 103, vpravo: 99\nForClause3 (121)\n vlevo: 104 105, vpravo: 99\nForStmt (122)\n vlevo: 106, vpravo: 278\nForStmt1 (123)\n vlevo: 107 108, vpravo: 106\nForStmt11 (124)\n vlevo: 109 110 111, vpravo: 108\nFunction (125)\n vlevo: 112, vpravo: 115 117 173\nFunctionBody (126)\n vlevo: 113, vpravo: 112\nFunctionDecl (127)\n vlevo: 114, vpravo: 290\nFunctionDecl1 (128)\n vlevo: 115 116, vpravo: 114\nFunctionLit (129)\n vlevo: 117, vpravo: 159\nFunctionName (130)\n vlevo: 118, vpravo: 114\nFunctionType (131)\n vlevo: 119, vpravo: 308\nGoStmt (132)\n vlevo: 120, vpravo: 268\nGotoStmt (133)\n vlevo: 121, vpravo: 272\nIdentifierList (134)\n vlevo: 122, vpravo: 52 94 189 213 227 238 335\nIdentifierList1 (135)\n vlevo: 123 124, vpravo: 122 124\nIfStmt (136)\n vlevo: 125, vpravo: 130 275\nIfStmt1 (137)\n vlevo: 126 127, vpravo: 125\nIfStmt2 (138)\n vlevo: 128 129, vpravo: 125\nIfStmt21 (139)\n vlevo: 130 131, vpravo: 129\nImportDecl (140)\n vlevo: 132, vpravo: 261\nImportDecl1 (141)\n vlevo: 133 134, vpravo: 132\nImportDecl11 (142)\n vlevo: 135 136, vpravo: 134 136\nImportPath (143)\n vlevo: 137, vpravo: 138\nImportSpec (144)\n vlevo: 138, vpravo: 133 136\nImportSpec1 (145)\n vlevo: 139 140, vpravo: 138\nImportSpec11 (146)\n vlevo: 141 142, vpravo: 140\nIncDecStmt (147)\n vlevo: 143, vpravo: 245\nIncDecStmt1 (148)\n vlevo: 144 145, vpravo: 143\nIndex (149)\n vlevo: 146, vpravo: 206\nInitStmt (150)\n vlevo: 147, vpravo: 101\nInterfaceType (151)\n vlevo: 148, vpravo: 309\nInterfaceType1 (152)\n vlevo: 149 150, vpravo: 148 150\nInterfaceTypeName (153)\n vlevo: 151, vpravo: 178\nKey (154)\n vlevo: 152 153, vpravo: 69\nKeyType (155)\n vlevo: 154, vpravo: 171\nLabel (156)\n vlevo: 155, vpravo: 20 59 121 156\nLabeledStmt (157)\n vlevo: 156, vpravo: 266\nLiteral (158)\n vlevo: 157 158 159, vpravo: 179\nLiteralType (159)\n vlevo: 160 161 162 163 164 165, vpravo: 45\nLiteralValue (160)\n vlevo: 166, vpravo: 45 329\nLiteralValue1 (161)\n vlevo: 167 168, vpravo: 166\nLiteralValue11 (162)\n vlevo: 169 170, vpravo: 168\nMapType (163)\n vlevo: 171, vpravo: 164 311\nMethodDecl (164)\n vlevo: 172, vpravo: 291\nMethodDecl1 (165)\n vlevo: 173 174, vpravo: 172\nMethodExpr (166)\n vlevo: 175, vpravo: 181\nMethodName (167)\n vlevo: 176, vpravo: 172 175 177\nMethodSpec (168)\n vlevo: 177 178, vpravo: 150\nOperand (169)\n vlevo: 179 180 181 182, vpravo: 202\nOperandName (170)\n vlevo: 183 184, vpravo: 180\nPackageClause (171)\n vlevo: 185, vpravo: 259\nPackageName (172)\n vlevo: 186, vpravo: 142 185 210\nParameterDecl (173)\n vlevo: 187, vpravo: 192 194\nParameterDecl1 (174)\n vlevo: 188 189, vpravo: 187\nParameterDecl2 (175)\n vlevo: 190 191, vpravo: 187\nParameterList (176)\n vlevo: 192, vpravo: 197\nParameterList1 (177)\n vlevo: 193 194, vpravo: 192 194\nParameters (178)\n vlevo: 195, vpravo: 228 239\nParameters1 (179)\n vlevo: 196 197, vpravo: 195\nParameters11 (180)\n vlevo: 198 199, vpravo: 197\nPointerType (181)\n vlevo: 200, vpravo: 307\nPostStmt (182)\n vlevo: 201, vpravo: 105\nPrimaryExpr (183)\n vlevo: 202 203 204 205 206 207 208 209, vpravo: 205 206 207 208\n 209 318 326\nQualifiedIdent (184)\n vlevo: 210, vpravo: 184 314\nRangeClause (185)\n vlevo: 211, vpravo: 111\nRangeClause1 (186)\n vlevo: 212 213, vpravo: 211\nReceiver (187)\n vlevo: 214, vpravo: 172\nReceiver1 (188)\n vlevo: 215 216, vpravo: 214\nReceiver2 (189)\n vlevo: 217 218, vpravo: 214\nReceiverType (190)\n vlevo: 219 220 221, vpravo: 175 221\nRecvExpr (191)\n vlevo: 222, vpravo: 223\nRecvStmt (192)\n vlevo: 223, vpravo: 43\nRecvStmt1 (193)\n vlevo: 224 225, vpravo: 223\nRecvStmt11 (194)\n vlevo: 226 227, vpravo: 225\nResult (195)\n vlevo: 228 229, vpravo: 241\nReturnStmt (196)\n vlevo: 230, vpravo: 269\nReturnStmt1 (197)\n vlevo: 231 232, vpravo: 230\nSelectStmt (198)\n vlevo: 233, vpravo: 277\nSelectStmt1 (199)\n vlevo: 234 235, vpravo: 233 235\nSelector (200)\n vlevo: 236, vpravo: 205\nSendStmt (201)\n vlevo: 237, vpravo: 42 244\nShortVarDecl (202)\n vlevo: 238, vpravo: 247\nSignature (203)\n vlevo: 239, vpravo: 112 116 119 174 177\nSignature1 (204)\n vlevo: 240 241, vpravo: 239\nSimpleStmt (205)\n vlevo: 242 243 244 245 246 247, vpravo: 81 127 147 201 267 323\nSlice (206)\n vlevo: 248 249, vpravo: 207\nSlice1 (207)\n vlevo: 250, vpravo: 248\nSlice11 (208)\n vlevo: 251 252, vpravo: 250\nSlice12 (209)\n vlevo: 253 254, vpravo: 250\nSlice2 (210)\n vlevo: 255, vpravo: 249\nSlice21 (211)\n vlevo: 256 257, vpravo: 255\nSliceType (212)\n vlevo: 258, vpravo: 163 310\nSourceFile (213)\n vlevo: 259, vpravo: 264\nSourceFile1 (214)\n vlevo: 260 261, vpravo: 259 261\nSourceFile2 (215)\n vlevo: 262 263, vpravo: 259 263\nStart (216)\n vlevo: 264, vpravo: 0\nStatement (217)\n vlevo: 265 266 267 268 269 270 271 272 273 274 275 276 277 278\n 279, vpravo: 156 282\nStatementList (218)\n vlevo: 280, vpravo: 17 44 76 296\nStatementList1 (219)\n vlevo: 281 282, vpravo: 280 282\nStructType (220)\n vlevo: 283, vpravo: 160 306\nStructType1 (221)\n vlevo: 284 285, vpravo: 283 285\nSwitchStmt (222)\n vlevo: 286 287, vpravo: 276\nTag (223)\n vlevo: 288, vpravo: 97\nTopLevelDecl (224)\n vlevo: 289 290 291, vpravo: 263\nType (225)\n vlevo: 292 293 294, vpravo: 10 21 56 60 74 94 154 187 229 294 295\n 302 304 315 336\nTypeAssertion (226)\n vlevo: 295, vpravo: 208\nTypeCaseClause (227)\n vlevo: 296, vpravo: 325\nTypeDecl (228)\n vlevo: 297, vpravo: 64\nTypeDecl1 (229)\n vlevo: 298 299, vpravo: 297\nTypeDecl11 (230)\n vlevo: 300 301, vpravo: 299 301\nTypeList (231)\n vlevo: 302, vpravo: 316\nTypeList1 (232)\n vlevo: 303 304, vpravo: 302 304\nTypeLit (233)\n vlevo: 305 306 307 308 309 310 311 312, vpravo: 293\nTypeName (234)\n vlevo: 313 314, vpravo: 1 151 165 219 220 292\nTypeSpec (235)\n vlevo: 315, vpravo: 298 301\nTypeSwitchCase (236)\n vlevo: 316 317, vpravo: 296\nTypeSwitchGuard (237)\n vlevo: 318, vpravo: 321\nTypeSwitchGuard1 (238)\n vlevo: 319 320, vpravo: 318\nTypeSwitchStmt (239)\n vlevo: 321, vpravo: 287\nTypeSwitchStmt1 (240)\n vlevo: 322 323, vpravo: 321\nTypeSwitchStmt2 (241)\n vlevo: 324 325, vpravo: 321 325\nUnaryExpr (242)\n vlevo: 326 327, vpravo: 86 87 327\nValue (243)\n vlevo: 328 329, vpravo: 67\nVarDecl (244)\n vlevo: 330, vpravo: 65\nVarDecl1 (245)\n vlevo: 331 332, vpravo: 330\nVarDecl11 (246)\n vlevo: 333 334, vpravo: 332 334\nVarSpec (247)\n vlevo: 335, vpravo: 331 334\nVarSpec1 (248)\n vlevo: 336 337, vpravo: 335\nVarSpec11 (249)\n vlevo: 338 339, vpravo: 336\n\n\nState 0\n\n 0 $accept: . Start $end\n 185 PackageClause: . PACKAGE PackageName\n 259 SourceFile: . PackageClause ';' SourceFile1 SourceFile2\n 264 Start: . SourceFile\n\n PACKAGE posunout a p\u0159ej\u00edt do stavu 1\n\n PackageClause p\u0159ej\u00edt do stavu 2\n SourceFile p\u0159ej\u00edt do stavu 3\n Start p\u0159ej\u00edt do stavu 4\n\n\nState 1\n\n 185 PackageClause: PACKAGE . PackageName\n 186 PackageName: . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 5\n\n PackageName p\u0159ej\u00edt do stavu 6\n\n\nState 2\n\n 259 SourceFile: PackageClause . ';' SourceFile1 SourceFile2\n\n ';' posunout a p\u0159ej\u00edt do stavu 7\n\n\nState 3\n\n 264 Start: SourceFile .\n\n $v\u00fdchoz\u00ed reduce using rule 264 (Start)\n\n\nState 4\n\n 0 $accept: Start . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 8\n\n\nState 5\n\n 186 PackageName: IDENTIFIER .\n\n $v\u00fdchoz\u00ed reduce using rule 186 (PackageName)\n\n\nState 6\n\n 185 PackageClause: PACKAGE PackageName .\n\n $v\u00fdchoz\u00ed reduce using rule 185 (PackageClause)\n\n\nState 7\n\n 259 SourceFile: PackageClause ';' . SourceFile1 SourceFile2\n 260 SourceFile1: . %empty\n 261 | . SourceFile1 ImportDecl ';'\n\n $v\u00fdchoz\u00ed reduce using rule 260 (SourceFile1)\n\n SourceFile1 p\u0159ej\u00edt do stavu 9\n\n\nState 8\n\n 0 $accept: Start $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 9\n\n 132 ImportDecl: . IMPORT ImportDecl1\n 259 SourceFile: PackageClause ';' SourceFile1 . SourceFile2\n 261 SourceFile1: SourceFile1 . ImportDecl ';'\n 262 SourceFile2: . %empty [$end, CONST, FUNC, TYPE, VAR]\n 263 | . SourceFile2 TopLevelDecl ';'\n\n IMPORT posunout a p\u0159ej\u00edt do stavu 10\n\n $v\u00fdchoz\u00ed reduce using rule 262 (SourceFile2)\n\n ImportDecl p\u0159ej\u00edt do stavu 11\n SourceFile2 p\u0159ej\u00edt do stavu 12\n\n\nState 10\n\n 132 ImportDecl: IMPORT . ImportDecl1\n 133 ImportDecl1: . ImportSpec\n 134 | . '(' ImportDecl11 ')'\n 138 ImportSpec: . ImportSpec1 ImportPath\n 139 ImportSpec1: . %empty [STRING_LIT]\n 140 | . ImportSpec11\n 141 ImportSpec11: . '.'\n 142 | . PackageName\n 186 PackageName: . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 5\n '(' posunout a p\u0159ej\u00edt do stavu 13\n '.' posunout a p\u0159ej\u00edt do stavu 14\n\n $v\u00fdchoz\u00ed reduce using rule 139 (ImportSpec1)\n\n ImportDecl1 p\u0159ej\u00edt do stavu 15\n ImportSpec p\u0159ej\u00edt do stavu 16\n ImportSpec1 p\u0159ej\u00edt do stavu 17\n ImportSpec11 p\u0159ej\u00edt do stavu 18\n PackageName p\u0159ej\u00edt do stavu 19\n\n\nState 11\n\n 261 SourceFile1: SourceFile1 ImportDecl . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 20\n\n\nState 12\n\n 47 ConstDecl: . CONST ConstDecl1\n 63 Declaration: . ConstDecl\n 64 | . TypeDecl\n 65 | . VarDecl\n 114 FunctionDecl: . FUNC FunctionName FunctionDecl1\n 172 MethodDecl: . FUNC Receiver MethodName MethodDecl1\n 259 SourceFile: PackageClause ';' SourceFile1 SourceFile2 . [$end]\n 263 SourceFile2: SourceFile2 . TopLevelDecl ';'\n 289 TopLevelDecl: . Declaration\n 290 | . FunctionDecl\n 291 | . MethodDecl\n 297 TypeDecl: . TYPE TypeDecl1\n 330 VarDecl: . VAR VarDecl1\n\n CONST posunout a p\u0159ej\u00edt do stavu 21\n FUNC posunout a p\u0159ej\u00edt do stavu 22\n TYPE posunout a p\u0159ej\u00edt do stavu 23\n VAR posunout a p\u0159ej\u00edt do stavu 24\n\n $v\u00fdchoz\u00ed reduce using rule 259 (SourceFile)\n\n ConstDecl p\u0159ej\u00edt do stavu 25\n Declaration p\u0159ej\u00edt do stavu 26\n FunctionDecl p\u0159ej\u00edt do stavu 27\n MethodDecl p\u0159ej\u00edt do stavu 28\n TopLevelDecl p\u0159ej\u00edt do stavu 29\n TypeDecl p\u0159ej\u00edt do stavu 30\n VarDecl p\u0159ej\u00edt do stavu 31\n\n\nState 13\n\n 134 ImportDecl1: '(' . ImportDecl11 ')'\n 135 ImportDecl11: . %empty\n 136 | . ImportDecl11 ImportSpec ';'\n\n $v\u00fdchoz\u00ed reduce using rule 135 (ImportDecl11)\n\n ImportDecl11 p\u0159ej\u00edt do stavu 32\n\n\nState 14\n\n 141 ImportSpec11: '.' .\n\n $v\u00fdchoz\u00ed reduce using rule 141 (ImportSpec11)\n\n\nState 15\n\n 132 ImportDecl: IMPORT ImportDecl1 .\n\n $v\u00fdchoz\u00ed reduce using rule 132 (ImportDecl)\n\n\nState 16\n\n 133 ImportDecl1: ImportSpec .\n\n $v\u00fdchoz\u00ed reduce using rule 133 (ImportDecl1)\n\n\nState 17\n\n 137 ImportPath: . STRING_LIT\n 138 ImportSpec: ImportSpec1 . ImportPath\n\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 33\n\n ImportPath p\u0159ej\u00edt do stavu 34\n\n\nState 18\n\n 140 ImportSpec1: ImportSpec11 .\n\n $v\u00fdchoz\u00ed reduce using rule 140 (ImportSpec1)\n\n\nState 19\n\n 142 ImportSpec11: PackageName .\n\n $v\u00fdchoz\u00ed reduce using rule 142 (ImportSpec11)\n\n\nState 20\n\n 261 SourceFile1: SourceFile1 ImportDecl ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 261 (SourceFile1)\n\n\nState 21\n\n 47 ConstDecl: CONST . ConstDecl1\n 48 ConstDecl1: . ConstSpec\n 49 | . '(' ConstDecl11 ')'\n 52 ConstSpec: . IdentifierList ConstSpec1\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 35\n '(' posunout a p\u0159ej\u00edt do stavu 36\n\n ConstDecl1 p\u0159ej\u00edt do stavu 37\n ConstSpec p\u0159ej\u00edt do stavu 38\n IdentifierList p\u0159ej\u00edt do stavu 39\n\n\nState 22\n\n 114 FunctionDecl: FUNC . FunctionName FunctionDecl1\n 118 FunctionName: . IDENTIFIER\n 172 MethodDecl: FUNC . Receiver MethodName MethodDecl1\n 214 Receiver: . '(' Receiver1 Receiver2 BaseTypeName ')'\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 41\n\n FunctionName p\u0159ej\u00edt do stavu 42\n Receiver p\u0159ej\u00edt do stavu 43\n\n\nState 23\n\n 297 TypeDecl: TYPE . TypeDecl1\n 298 TypeDecl1: . TypeSpec\n 299 | . '(' TypeDecl11 ')'\n 315 TypeSpec: . IDENTIFIER Type\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 45\n\n TypeDecl1 p\u0159ej\u00edt do stavu 46\n TypeSpec p\u0159ej\u00edt do stavu 47\n\n\nState 24\n\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 330 VarDecl: VAR . VarDecl1\n 331 VarDecl1: . VarSpec\n 332 | . '(' VarDecl11 ')'\n 335 VarSpec: . IdentifierList VarSpec1\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 35\n '(' posunout a p\u0159ej\u00edt do stavu 48\n\n IdentifierList p\u0159ej\u00edt do stavu 49\n VarDecl1 p\u0159ej\u00edt do stavu 50\n VarSpec p\u0159ej\u00edt do stavu 51\n\n\nState 25\n\n 63 Declaration: ConstDecl .\n\n $v\u00fdchoz\u00ed reduce using rule 63 (Declaration)\n\n\nState 26\n\n 289 TopLevelDecl: Declaration .\n\n $v\u00fdchoz\u00ed reduce using rule 289 (TopLevelDecl)\n\n\nState 27\n\n 290 TopLevelDecl: FunctionDecl .\n\n $v\u00fdchoz\u00ed reduce using rule 290 (TopLevelDecl)\n\n\nState 28\n\n 291 TopLevelDecl: MethodDecl .\n\n $v\u00fdchoz\u00ed reduce using rule 291 (TopLevelDecl)\n\n\nState 29\n\n 263 SourceFile2: SourceFile2 TopLevelDecl . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 52\n\n\nState 30\n\n 64 Declaration: TypeDecl .\n\n $v\u00fdchoz\u00ed reduce using rule 64 (Declaration)\n\n\nState 31\n\n 65 Declaration: VarDecl .\n\n $v\u00fdchoz\u00ed reduce using rule 65 (Declaration)\n\n\nState 32\n\n 134 ImportDecl1: '(' ImportDecl11 . ')'\n 136 ImportDecl11: ImportDecl11 . ImportSpec ';'\n 138 ImportSpec: . ImportSpec1 ImportPath\n 139 ImportSpec1: . %empty [STRING_LIT]\n 140 | . ImportSpec11\n 141 ImportSpec11: . '.'\n 142 | . PackageName\n 186 PackageName: . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 5\n ')' posunout a p\u0159ej\u00edt do stavu 53\n '.' posunout a p\u0159ej\u00edt do stavu 14\n\n $v\u00fdchoz\u00ed reduce using rule 139 (ImportSpec1)\n\n ImportSpec p\u0159ej\u00edt do stavu 54\n ImportSpec1 p\u0159ej\u00edt do stavu 17\n ImportSpec11 p\u0159ej\u00edt do stavu 18\n PackageName p\u0159ej\u00edt do stavu 19\n\n\nState 33\n\n 137 ImportPath: STRING_LIT .\n\n $v\u00fdchoz\u00ed reduce using rule 137 (ImportPath)\n\n\nState 34\n\n 138 ImportSpec: ImportSpec1 ImportPath .\n\n $v\u00fdchoz\u00ed reduce using rule 138 (ImportSpec)\n\n\nState 35\n\n 122 IdentifierList: IDENTIFIER . IdentifierList1\n 123 IdentifierList1: . %empty\n 124 | . IdentifierList1 ',' IDENTIFIER\n\n $v\u00fdchoz\u00ed reduce using rule 123 (IdentifierList1)\n\n IdentifierList1 p\u0159ej\u00edt do stavu 55\n\n\nState 36\n\n 49 ConstDecl1: '(' . ConstDecl11 ')'\n 50 ConstDecl11: . %empty\n 51 | . ConstDecl11 ConstSpec ';'\n\n $v\u00fdchoz\u00ed reduce using rule 50 (ConstDecl11)\n\n ConstDecl11 p\u0159ej\u00edt do stavu 56\n\n\nState 37\n\n 47 ConstDecl: CONST ConstDecl1 .\n\n $v\u00fdchoz\u00ed reduce using rule 47 (ConstDecl)\n\n\nState 38\n\n 48 ConstDecl1: ConstSpec .\n\n $v\u00fdchoz\u00ed reduce using rule 48 (ConstDecl1)\n\n\nState 39\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 52 ConstSpec: IdentifierList . ConstSpec1\n 53 ConstSpec1: . %empty [';']\n 54 | . ConstSpec11 '=' ExpressionList\n 55 ConstSpec11: . %empty ['=']\n 56 | . Type\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n '=' reduce using rule 55 (ConstSpec11)\n $v\u00fdchoz\u00ed reduce using rule 53 (ConstSpec1)\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n ConstSpec1 p\u0159ej\u00edt do stavu 70\n ConstSpec11 p\u0159ej\u00edt do stavu 71\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 80\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 40\n\n 118 FunctionName: IDENTIFIER .\n\n $v\u00fdchoz\u00ed reduce using rule 118 (FunctionName)\n\n\nState 41\n\n 214 Receiver: '(' . Receiver1 Receiver2 BaseTypeName ')'\n 215 Receiver1: . %empty [IDENTIFIER, '*']\n 216 | . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 83\n\n IDENTIFIER [reduce using rule 215 (Receiver1)]\n $v\u00fdchoz\u00ed reduce using rule 215 (Receiver1)\n\n Receiver1 p\u0159ej\u00edt do stavu 84\n\n\nState 42\n\n 112 Function: . Signature FunctionBody\n 114 FunctionDecl: FUNC FunctionName . FunctionDecl1\n 115 FunctionDecl1: . Function\n 116 | . Signature\n 195 Parameters: . '(' Parameters1 ')'\n 239 Signature: . Parameters Signature1\n\n '(' posunout a p\u0159ej\u00edt do stavu 85\n\n Function p\u0159ej\u00edt do stavu 86\n FunctionDecl1 p\u0159ej\u00edt do stavu 87\n Parameters p\u0159ej\u00edt do stavu 88\n Signature p\u0159ej\u00edt do stavu 89\n\n\nState 43\n\n 172 MethodDecl: FUNC Receiver . MethodName MethodDecl1\n 176 MethodName: . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 90\n\n MethodName p\u0159ej\u00edt do stavu 91\n\n\nState 44\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 315 TypeSpec: IDENTIFIER . Type\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 92\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 45\n\n 299 TypeDecl1: '(' . TypeDecl11 ')'\n 300 TypeDecl11: . %empty\n 301 | . TypeDecl11 TypeSpec ';'\n\n $v\u00fdchoz\u00ed reduce using rule 300 (TypeDecl11)\n\n TypeDecl11 p\u0159ej\u00edt do stavu 93\n\n\nState 46\n\n 297 TypeDecl: TYPE TypeDecl1 .\n\n $v\u00fdchoz\u00ed reduce using rule 297 (TypeDecl)\n\n\nState 47\n\n 298 TypeDecl1: TypeSpec .\n\n $v\u00fdchoz\u00ed reduce using rule 298 (TypeDecl1)\n\n\nState 48\n\n 332 VarDecl1: '(' . VarDecl11 ')'\n 333 VarDecl11: . %empty\n 334 | . VarDecl11 VarSpec ';'\n\n $v\u00fdchoz\u00ed reduce using rule 333 (VarDecl11)\n\n VarDecl11 p\u0159ej\u00edt do stavu 94\n\n\nState 49\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 335 VarSpec: IdentifierList . VarSpec1\n 336 VarSpec1: . Type VarSpec11\n 337 | . '=' ExpressionList\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n '=' posunout a p\u0159ej\u00edt do stavu 95\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 96\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n VarSpec1 p\u0159ej\u00edt do stavu 97\n\n\nState 50\n\n 330 VarDecl: VAR VarDecl1 .\n\n $v\u00fdchoz\u00ed reduce using rule 330 (VarDecl)\n\n\nState 51\n\n 331 VarDecl1: VarSpec .\n\n $v\u00fdchoz\u00ed reduce using rule 331 (VarDecl1)\n\n\nState 52\n\n 263 SourceFile2: SourceFile2 TopLevelDecl ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 263 (SourceFile2)\n\n\nState 53\n\n 134 ImportDecl1: '(' ImportDecl11 ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 134 (ImportDecl1)\n\n\nState 54\n\n 136 ImportDecl11: ImportDecl11 ImportSpec . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 98\n\n\nState 55\n\n 122 IdentifierList: IDENTIFIER IdentifierList1 . [IDENTIFIER, TOK3, TOK4, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(', ';', '=']\n 124 IdentifierList1: IdentifierList1 . ',' IDENTIFIER\n\n ',' posunout a p\u0159ej\u00edt do stavu 99\n\n $v\u00fdchoz\u00ed reduce using rule 122 (IdentifierList)\n\n\nState 56\n\n 49 ConstDecl1: '(' ConstDecl11 . ')'\n 51 ConstDecl11: ConstDecl11 . ConstSpec ';'\n 52 ConstSpec: . IdentifierList ConstSpec1\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 35\n ')' posunout a p\u0159ej\u00edt do stavu 100\n\n ConstSpec p\u0159ej\u00edt do stavu 101\n IdentifierList p\u0159ej\u00edt do stavu 39\n\n\nState 57\n\n 186 PackageName: IDENTIFIER . ['.']\n 313 TypeName: IDENTIFIER . [STRING_LIT, ']', '{', ',', '(', ')', ':', ';', '=']\n\n '.' reduce using rule 186 (PackageName)\n $v\u00fdchoz\u00ed reduce using rule 313 (TypeName)\n\n\nState 58\n\n 39 ChannelType1: TOK5 . CHAN\n\n CHAN posunout a p\u0159ej\u00edt do stavu 102\n\n\nState 59\n\n 37 ChannelType1: CHAN . [IDENTIFIER, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(']\n 38 | CHAN . TOK5\n\n TOK5 posunout a p\u0159ej\u00edt do stavu 103\n\n TOK5 [reduce using rule 37 (ChannelType1)]\n $v\u00fdchoz\u00ed reduce using rule 37 (ChannelType1)\n\n\nState 60\n\n 119 FunctionType: FUNC . Signature\n 195 Parameters: . '(' Parameters1 ')'\n 239 Signature: . Parameters Signature1\n\n '(' posunout a p\u0159ej\u00edt do stavu 85\n\n Parameters p\u0159ej\u00edt do stavu 88\n Signature p\u0159ej\u00edt do stavu 104\n\n\nState 61\n\n 148 InterfaceType: INTERFACE . '{' InterfaceType1 '}'\n\n '{' posunout a p\u0159ej\u00edt do stavu 105\n\n\nState 62\n\n 171 MapType: MAP . '[' KeyType ']' ElementType\n\n '[' posunout a p\u0159ej\u00edt do stavu 106\n\n\nState 63\n\n 283 StructType: STRUCT . '{' StructType1 '}'\n\n '{' posunout a p\u0159ej\u00edt do stavu 107\n\n\nState 64\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 10 BaseType: . Type\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 200 | '*' . BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n BaseType p\u0159ej\u00edt do stavu 108\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 109\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 65\n\n 7 ArrayLength: . Expression\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 8 | '[' . ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 258 | '[' . ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n ']' posunout a p\u0159ej\u00edt do stavu 119\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayLength p\u0159ej\u00edt do stavu 121\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 127\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 66\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 294 | '(' . Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 143\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 67\n\n 305 TypeLit: ArrayType .\n\n $v\u00fdchoz\u00ed reduce using rule 305 (TypeLit)\n\n\nState 68\n\n 312 TypeLit: ChannelType .\n\n $v\u00fdchoz\u00ed reduce using rule 312 (TypeLit)\n\n\nState 69\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 36 | ChannelType1 . ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 74 ElementType: . Type\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n ElementType p\u0159ej\u00edt do stavu 144\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 145\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 70\n\n 52 ConstSpec: IdentifierList ConstSpec1 .\n\n $v\u00fdchoz\u00ed reduce using rule 52 (ConstSpec)\n\n\nState 71\n\n 54 ConstSpec1: ConstSpec11 . '=' ExpressionList\n\n '=' posunout a p\u0159ej\u00edt do stavu 146\n\n\nState 72\n\n 308 TypeLit: FunctionType .\n\n $v\u00fdchoz\u00ed reduce using rule 308 (TypeLit)\n\n\nState 73\n\n 309 TypeLit: InterfaceType .\n\n $v\u00fdchoz\u00ed reduce using rule 309 (TypeLit)\n\n\nState 74\n\n 311 TypeLit: MapType .\n\n $v\u00fdchoz\u00ed reduce using rule 311 (TypeLit)\n\n\nState 75\n\n 210 QualifiedIdent: PackageName . '.' IDENTIFIER\n\n '.' posunout a p\u0159ej\u00edt do stavu 147\n\n\nState 76\n\n 307 TypeLit: PointerType .\n\n $v\u00fdchoz\u00ed reduce using rule 307 (TypeLit)\n\n\nState 77\n\n 314 TypeName: QualifiedIdent .\n\n $v\u00fdchoz\u00ed reduce using rule 314 (TypeName)\n\n\nState 78\n\n 310 TypeLit: SliceType .\n\n $v\u00fdchoz\u00ed reduce using rule 310 (TypeLit)\n\n\nState 79\n\n 306 TypeLit: StructType .\n\n $v\u00fdchoz\u00ed reduce using rule 306 (TypeLit)\n\n\nState 80\n\n 56 ConstSpec11: Type .\n\n $v\u00fdchoz\u00ed reduce using rule 56 (ConstSpec11)\n\n\nState 81\n\n 293 Type: TypeLit .\n\n $v\u00fdchoz\u00ed reduce using rule 293 (Type)\n\n\nState 82\n\n 292 Type: TypeName .\n\n $v\u00fdchoz\u00ed reduce using rule 292 (Type)\n\n\nState 83\n\n 216 Receiver1: IDENTIFIER .\n\n $v\u00fdchoz\u00ed reduce using rule 216 (Receiver1)\n\n\nState 84\n\n 214 Receiver: '(' Receiver1 . Receiver2 BaseTypeName ')'\n 217 Receiver2: . %empty [IDENTIFIER]\n 218 | . '*'\n\n '*' posunout a p\u0159ej\u00edt do stavu 148\n\n $v\u00fdchoz\u00ed reduce using rule 217 (Receiver2)\n\n Receiver2 p\u0159ej\u00edt do stavu 149\n\n\nState 85\n\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 187 ParameterDecl: . ParameterDecl1 ParameterDecl2 Type\n 188 ParameterDecl1: . %empty [IDENTIFIER, TOK4, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(']\n 189 | . IdentifierList\n 192 ParameterList: . ParameterDecl ParameterList1\n 195 Parameters: '(' . Parameters1 ')'\n 196 Parameters1: . %empty [')']\n 197 | . ParameterList Parameters11\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 35\n\n IDENTIFIER [reduce using rule 188 (ParameterDecl1)]\n ')' reduce using rule 196 (Parameters1)\n $v\u00fdchoz\u00ed reduce using rule 188 (ParameterDecl1)\n\n IdentifierList p\u0159ej\u00edt do stavu 150\n ParameterDecl p\u0159ej\u00edt do stavu 151\n ParameterDecl1 p\u0159ej\u00edt do stavu 152\n ParameterList p\u0159ej\u00edt do stavu 153\n Parameters1 p\u0159ej\u00edt do stavu 154\n\n\nState 86\n\n 115 FunctionDecl1: Function .\n\n $v\u00fdchoz\u00ed reduce using rule 115 (FunctionDecl1)\n\n\nState 87\n\n 114 FunctionDecl: FUNC FunctionName FunctionDecl1 .\n\n $v\u00fdchoz\u00ed reduce using rule 114 (FunctionDecl)\n\n\nState 88\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 195 Parameters: . '(' Parameters1 ')'\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 228 Result: . Parameters\n 229 | . Type\n 239 Signature: Parameters . Signature1\n 240 Signature1: . %empty [STRING_LIT, ']', '{', ',', '(', ')', ':', ';', '=']\n 241 | . Result\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 155\n\n '(' [reduce using rule 240 (Signature1)]\n $v\u00fdchoz\u00ed reduce using rule 240 (Signature1)\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n Parameters p\u0159ej\u00edt do stavu 156\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n Result p\u0159ej\u00edt do stavu 157\n Signature1 p\u0159ej\u00edt do stavu 158\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 159\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 89\n\n 17 Block: . '{' StatementList '}'\n 112 Function: Signature . FunctionBody\n 113 FunctionBody: . Block\n 116 FunctionDecl1: Signature . [';']\n\n '{' posunout a p\u0159ej\u00edt do stavu 160\n\n $v\u00fdchoz\u00ed reduce using rule 116 (FunctionDecl1)\n\n Block p\u0159ej\u00edt do stavu 161\n FunctionBody p\u0159ej\u00edt do stavu 162\n\n\nState 90\n\n 176 MethodName: IDENTIFIER .\n\n $v\u00fdchoz\u00ed reduce using rule 176 (MethodName)\n\n\nState 91\n\n 112 Function: . Signature FunctionBody\n 172 MethodDecl: FUNC Receiver MethodName . MethodDecl1\n 173 MethodDecl1: . Function\n 174 | . Signature\n 195 Parameters: . '(' Parameters1 ')'\n 239 Signature: . Parameters Signature1\n\n '(' posunout a p\u0159ej\u00edt do stavu 85\n\n Function p\u0159ej\u00edt do stavu 163\n MethodDecl1 p\u0159ej\u00edt do stavu 164\n Parameters p\u0159ej\u00edt do stavu 88\n Signature p\u0159ej\u00edt do stavu 165\n\n\nState 92\n\n 315 TypeSpec: IDENTIFIER Type .\n\n $v\u00fdchoz\u00ed reduce using rule 315 (TypeSpec)\n\n\nState 93\n\n 299 TypeDecl1: '(' TypeDecl11 . ')'\n 301 TypeDecl11: TypeDecl11 . TypeSpec ';'\n 315 TypeSpec: . IDENTIFIER Type\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 44\n ')' posunout a p\u0159ej\u00edt do stavu 166\n\n TypeSpec p\u0159ej\u00edt do stavu 167\n\n\nState 94\n\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 332 VarDecl1: '(' VarDecl11 . ')'\n 334 VarDecl11: VarDecl11 . VarSpec ';'\n 335 VarSpec: . IdentifierList VarSpec1\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 35\n ')' posunout a p\u0159ej\u00edt do stavu 168\n\n IdentifierList p\u0159ej\u00edt do stavu 49\n VarSpec p\u0159ej\u00edt do stavu 169\n\n\nState 95\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n 337 VarSpec1: '=' . ExpressionList\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 170\n ExpressionList p\u0159ej\u00edt do stavu 171\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 96\n\n 336 VarSpec1: Type . VarSpec11\n 338 VarSpec11: . %empty [';']\n 339 | . '=' ExpressionList\n\n '=' posunout a p\u0159ej\u00edt do stavu 172\n\n $v\u00fdchoz\u00ed reduce using rule 338 (VarSpec11)\n\n VarSpec11 p\u0159ej\u00edt do stavu 173\n\n\nState 97\n\n 335 VarSpec: IdentifierList VarSpec1 .\n\n $v\u00fdchoz\u00ed reduce using rule 335 (VarSpec)\n\n\nState 98\n\n 136 ImportDecl11: ImportDecl11 ImportSpec ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 136 (ImportDecl11)\n\n\nState 99\n\n 124 IdentifierList1: IdentifierList1 ',' . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 174\n\n\nState 100\n\n 49 ConstDecl1: '(' ConstDecl11 ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 49 (ConstDecl1)\n\n\nState 101\n\n 51 ConstDecl11: ConstDecl11 ConstSpec . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 175\n\n\nState 102\n\n 39 ChannelType1: TOK5 CHAN .\n\n $v\u00fdchoz\u00ed reduce using rule 39 (ChannelType1)\n\n\nState 103\n\n 38 ChannelType1: CHAN TOK5 .\n\n $v\u00fdchoz\u00ed reduce using rule 38 (ChannelType1)\n\n\nState 104\n\n 119 FunctionType: FUNC Signature .\n\n $v\u00fdchoz\u00ed reduce using rule 119 (FunctionType)\n\n\nState 105\n\n 148 InterfaceType: INTERFACE '{' . InterfaceType1 '}'\n 149 InterfaceType1: . %empty\n 150 | . InterfaceType1 MethodSpec ';'\n\n $v\u00fdchoz\u00ed reduce using rule 149 (InterfaceType1)\n\n InterfaceType1 p\u0159ej\u00edt do stavu 176\n\n\nState 106\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 154 KeyType: . Type\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 171 | MAP '[' . KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n KeyType p\u0159ej\u00edt do stavu 177\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 178\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 107\n\n 283 StructType: STRUCT '{' . StructType1 '}'\n 284 StructType1: . %empty\n 285 | . StructType1 FieldDecl ';'\n\n $v\u00fdchoz\u00ed reduce using rule 284 (StructType1)\n\n StructType1 p\u0159ej\u00edt do stavu 179\n\n\nState 108\n\n 200 PointerType: '*' BaseType .\n\n $v\u00fdchoz\u00ed reduce using rule 200 (PointerType)\n\n\nState 109\n\n 10 BaseType: Type .\n\n $v\u00fdchoz\u00ed reduce using rule 10 (BaseType)\n\n\nState 110\n\n 13 BasicLit: FLOAT_LIT .\n\n $v\u00fdchoz\u00ed reduce using rule 13 (BasicLit)\n\n\nState 111\n\n 25 BuiltinCall: IDENTIFIER . '(' BuiltinCall1 ')'\n 183 OperandName: IDENTIFIER . [ASSIGN_OP, BINARY_OP, FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK1, TOK2, TOK4, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', ']', '{', '}', ',', '(', ')', ':', ';', '=', '.']\n 186 PackageName: IDENTIFIER . ['.']\n 313 TypeName: IDENTIFIER . ['{', ',', '(', ')', '.']\n\n '(' posunout a p\u0159ej\u00edt do stavu 180\n\n '{' reduce using rule 183 (OperandName)\n '{' [reduce using rule 313 (TypeName)]\n ',' reduce using rule 183 (OperandName)\n ',' [reduce using rule 313 (TypeName)]\n '(' [reduce using rule 183 (OperandName)]\n '(' [reduce using rule 313 (TypeName)]\n ')' reduce using rule 183 (OperandName)\n ')' [reduce using rule 313 (TypeName)]\n '.' reduce using rule 183 (OperandName)\n '.' [reduce using rule 186 (PackageName)]\n '.' [reduce using rule 313 (TypeName)]\n $v\u00fdchoz\u00ed reduce using rule 183 (OperandName)\n\n\nState 112\n\n 14 BasicLit: IMAGINARY_LIT .\n\n $v\u00fdchoz\u00ed reduce using rule 14 (BasicLit)\n\n\nState 113\n\n 12 BasicLit: INT_LIT .\n\n $v\u00fdchoz\u00ed reduce using rule 12 (BasicLit)\n\n\nState 114\n\n 15 BasicLit: RUNE_LIT .\n\n $v\u00fdchoz\u00ed reduce using rule 15 (BasicLit)\n\n\nState 115\n\n 16 BasicLit: STRING_LIT .\n\n $v\u00fdchoz\u00ed reduce using rule 16 (BasicLit)\n\n\nState 116\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n 327 | UNARY_OP . UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 181\n\n\nState 117\n\n 112 Function: . Signature FunctionBody\n 117 FunctionLit: FUNC . Function\n 119 FunctionType: FUNC . Signature\n 195 Parameters: . '(' Parameters1 ')'\n 239 Signature: . Parameters Signature1\n\n '(' posunout a p\u0159ej\u00edt do stavu 85\n\n Function p\u0159ej\u00edt do stavu 182\n Parameters p\u0159ej\u00edt do stavu 88\n Signature p\u0159ej\u00edt do stavu 183\n\n\nState 118\n\n 7 ArrayLength: . Expression\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 8 | '[' . ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 162 | '[' . TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 258 | '[' . ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK4 posunout a p\u0159ej\u00edt do stavu 184\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n ']' posunout a p\u0159ej\u00edt do stavu 119\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayLength p\u0159ej\u00edt do stavu 121\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 127\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 119\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 74 ElementType: . Type\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 258 | '[' ']' . ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n ElementType p\u0159ej\u00edt do stavu 185\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 145\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 120\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 182 | '(' . Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 220 | '(' . '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 221 | '(' . ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 294 | '(' . Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 186\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 187\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 188\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 189\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 121\n\n 8 ArrayType: '[' ArrayLength . ']' ElementType\n\n ']' posunout a p\u0159ej\u00edt do stavu 190\n\n\nState 122\n\n 161 LiteralType: ArrayType . ['{']\n 305 TypeLit: ArrayType . [',', '(', ')']\n\n '{' reduce using rule 161 (LiteralType)\n $v\u00fdchoz\u00ed reduce using rule 305 (TypeLit)\n\n\nState 123\n\n 157 Literal: BasicLit .\n\n $v\u00fdchoz\u00ed reduce using rule 157 (Literal)\n\n\nState 124\n\n 204 PrimaryExpr: BuiltinCall .\n\n $v\u00fdchoz\u00ed reduce using rule 204 (PrimaryExpr)\n\n\nState 125\n\n 158 Literal: CompositeLit .\n\n $v\u00fdchoz\u00ed reduce using rule 158 (Literal)\n\n\nState 126\n\n 203 PrimaryExpr: Conversion .\n\n $v\u00fdchoz\u00ed reduce using rule 203 (PrimaryExpr)\n\n\nState 127\n\n 7 ArrayLength: Expression . [']']\n 87 Expression: Expression . BINARY_OP UnaryExpr\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 7 (ArrayLength)\n\n\nState 128\n\n 159 Literal: FunctionLit .\n\n $v\u00fdchoz\u00ed reduce using rule 159 (Literal)\n\n\nState 129\n\n 179 Operand: Literal .\n\n $v\u00fdchoz\u00ed reduce using rule 179 (Operand)\n\n\nState 130\n\n 45 CompositeLit: LiteralType . LiteralValue\n 166 LiteralValue: . '{' LiteralValue1 '}'\n\n '{' posunout a p\u0159ej\u00edt do stavu 192\n\n LiteralValue p\u0159ej\u00edt do stavu 193\n\n\nState 131\n\n 164 LiteralType: MapType . ['{']\n 311 TypeLit: MapType . [',', '(', ')']\n\n '{' reduce using rule 164 (LiteralType)\n $v\u00fdchoz\u00ed reduce using rule 311 (TypeLit)\n\n\nState 132\n\n 181 Operand: MethodExpr .\n\n $v\u00fdchoz\u00ed reduce using rule 181 (Operand)\n\n\nState 133\n\n 202 PrimaryExpr: Operand .\n\n $v\u00fdchoz\u00ed reduce using rule 202 (PrimaryExpr)\n\n\nState 134\n\n 180 Operand: OperandName .\n\n $v\u00fdchoz\u00ed reduce using rule 180 (Operand)\n\n\nState 135\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 30 Call: . '(' Call1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 146 Index: . '[' Expression ']'\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 205 | PrimaryExpr . Selector\n 206 | . PrimaryExpr Index\n 206 | PrimaryExpr . Index\n 207 | . PrimaryExpr Slice\n 207 | PrimaryExpr . Slice\n 208 | . PrimaryExpr TypeAssertion\n 208 | PrimaryExpr . TypeAssertion\n 209 | . PrimaryExpr Call\n 209 | PrimaryExpr . Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 236 Selector: . '.' IDENTIFIER\n 248 Slice: . '[' Slice1\n 249 | . Slice2 ']'\n 255 Slice2: . Slice21 ':' Expression ':' Expression\n 256 Slice21: . %empty [':']\n 257 | . Expression\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 295 TypeAssertion: . '.' '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 326 | PrimaryExpr . [ASSIGN_OP, BINARY_OP, FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK1, TOK2, TOK4, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', ']', '{', '}', ',', '(', ')', ':', ';', '=', '.']\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 194\n '(' posunout a p\u0159ej\u00edt do stavu 195\n '.' posunout a p\u0159ej\u00edt do stavu 196\n\n FLOAT_LIT [reduce using rule 326 (UnaryExpr)]\n IDENTIFIER [reduce using rule 326 (UnaryExpr)]\n IMAGINARY_LIT [reduce using rule 326 (UnaryExpr)]\n INT_LIT [reduce using rule 326 (UnaryExpr)]\n RUNE_LIT [reduce using rule 326 (UnaryExpr)]\n STRING_LIT [reduce using rule 326 (UnaryExpr)]\n UNARY_OP [reduce using rule 326 (UnaryExpr)]\n TOK5 [reduce using rule 326 (UnaryExpr)]\n CHAN [reduce using rule 326 (UnaryExpr)]\n FUNC [reduce using rule 326 (UnaryExpr)]\n INTERFACE [reduce using rule 326 (UnaryExpr)]\n MAP [reduce using rule 326 (UnaryExpr)]\n STRUCT [reduce using rule 326 (UnaryExpr)]\n '*' [reduce using rule 326 (UnaryExpr)]\n '[' [reduce using rule 326 (UnaryExpr)]\n '(' [reduce using rule 326 (UnaryExpr)]\n ':' reduce using rule 256 (Slice21)\n ':' [reduce using rule 326 (UnaryExpr)]\n '.' [reduce using rule 326 (UnaryExpr)]\n $v\u00fdchoz\u00ed reduce using rule 326 (UnaryExpr)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n Call p\u0159ej\u00edt do stavu 197\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 198\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n Index p\u0159ej\u00edt do stavu 199\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n Selector p\u0159ej\u00edt do stavu 200\n Slice p\u0159ej\u00edt do stavu 201\n Slice2 p\u0159ej\u00edt do stavu 202\n Slice21 p\u0159ej\u00edt do stavu 203\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeAssertion p\u0159ej\u00edt do stavu 204\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 136\n\n 184 OperandName: QualifiedIdent . [ASSIGN_OP, BINARY_OP, FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK1, TOK2, TOK4, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', ']', '{', '}', ',', '(', ')', ':', ';', '=', '.']\n 314 TypeName: QualifiedIdent . ['{', ',', '(', ')', '.']\n\n '{' reduce using rule 184 (OperandName)\n '{' [reduce using rule 314 (TypeName)]\n ',' reduce using rule 184 (OperandName)\n ',' [reduce using rule 314 (TypeName)]\n '(' reduce using rule 184 (OperandName)\n '(' [reduce using rule 314 (TypeName)]\n ')' reduce using rule 184 (OperandName)\n ')' [reduce using rule 314 (TypeName)]\n '.' reduce using rule 184 (OperandName)\n '.' [reduce using rule 314 (TypeName)]\n $v\u00fdchoz\u00ed reduce using rule 184 (OperandName)\n\n\nState 137\n\n 175 MethodExpr: ReceiverType . '.' MethodName\n\n '.' posunout a p\u0159ej\u00edt do stavu 205\n\n\nState 138\n\n 163 LiteralType: SliceType . ['{']\n 310 TypeLit: SliceType . [',', '(', ')']\n\n '{' reduce using rule 163 (LiteralType)\n $v\u00fdchoz\u00ed reduce using rule 310 (TypeLit)\n\n\nState 139\n\n 160 LiteralType: StructType . ['{']\n 306 TypeLit: StructType . [',', '(', ')']\n\n '{' reduce using rule 160 (LiteralType)\n $v\u00fdchoz\u00ed reduce using rule 306 (TypeLit)\n\n\nState 140\n\n 60 Conversion: Type . '(' Expression Conversion1 ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 206\n\n\nState 141\n\n 165 LiteralType: TypeName . ['{']\n 219 ReceiverType: TypeName . [')', '.']\n 292 Type: TypeName . [',', '(', ')']\n\n '{' reduce using rule 165 (LiteralType)\n ',' reduce using rule 292 (Type)\n '(' reduce using rule 292 (Type)\n ')' reduce using rule 219 (ReceiverType)\n ')' [reduce using rule 292 (Type)]\n $v\u00fdchoz\u00ed reduce using rule 219 (ReceiverType)\n\n\nState 142\n\n 86 Expression: UnaryExpr .\n\n $v\u00fdchoz\u00ed reduce using rule 86 (Expression)\n\n\nState 143\n\n 294 Type: '(' Type . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 207\n\n\nState 144\n\n 36 ChannelType: ChannelType1 ElementType .\n\n $v\u00fdchoz\u00ed reduce using rule 36 (ChannelType)\n\n\nState 145\n\n 74 ElementType: Type .\n\n $v\u00fdchoz\u00ed reduce using rule 74 (ElementType)\n\n\nState 146\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 54 ConstSpec1: ConstSpec11 '=' . ExpressionList\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 170\n ExpressionList p\u0159ej\u00edt do stavu 208\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 147\n\n 210 QualifiedIdent: PackageName '.' . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 209\n\n\nState 148\n\n 218 Receiver2: '*' .\n\n $v\u00fdchoz\u00ed reduce using rule 218 (Receiver2)\n\n\nState 149\n\n 11 BaseTypeName: . IDENTIFIER\n 214 Receiver: '(' Receiver1 Receiver2 . BaseTypeName ')'\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 210\n\n BaseTypeName p\u0159ej\u00edt do stavu 211\n\n\nState 150\n\n 189 ParameterDecl1: IdentifierList .\n\n $v\u00fdchoz\u00ed reduce using rule 189 (ParameterDecl1)\n\n\nState 151\n\n 192 ParameterList: ParameterDecl . ParameterList1\n 193 ParameterList1: . %empty\n 194 | . ParameterList1 ',' ParameterDecl\n\n $v\u00fdchoz\u00ed reduce using rule 193 (ParameterList1)\n\n ParameterList1 p\u0159ej\u00edt do stavu 212\n\n\nState 152\n\n 187 ParameterDecl: ParameterDecl1 . ParameterDecl2 Type\n 190 ParameterDecl2: . %empty [IDENTIFIER, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(']\n 191 | . TOK4\n\n TOK4 posunout a p\u0159ej\u00edt do stavu 213\n\n $v\u00fdchoz\u00ed reduce using rule 190 (ParameterDecl2)\n\n ParameterDecl2 p\u0159ej\u00edt do stavu 214\n\n\nState 153\n\n 197 Parameters1: ParameterList . Parameters11\n 198 Parameters11: . %empty [')']\n 199 | . ','\n\n ',' posunout a p\u0159ej\u00edt do stavu 215\n\n $v\u00fdchoz\u00ed reduce using rule 198 (Parameters11)\n\n Parameters11 p\u0159ej\u00edt do stavu 216\n\n\nState 154\n\n 195 Parameters: '(' Parameters1 . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 217\n\n\nState 155\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 187 ParameterDecl: . ParameterDecl1 ParameterDecl2 Type\n 188 ParameterDecl1: . %empty [IDENTIFIER, TOK4, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(']\n 189 | . IdentifierList\n 192 ParameterList: . ParameterDecl ParameterList1\n 195 Parameters: '(' . Parameters1 ')'\n 196 Parameters1: . %empty [')']\n 197 | . ParameterList Parameters11\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 294 | '(' . Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 218\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n IDENTIFIER [reduce using rule 188 (ParameterDecl1)]\n TOK5 [reduce using rule 188 (ParameterDecl1)]\n CHAN [reduce using rule 188 (ParameterDecl1)]\n FUNC [reduce using rule 188 (ParameterDecl1)]\n INTERFACE [reduce using rule 188 (ParameterDecl1)]\n MAP [reduce using rule 188 (ParameterDecl1)]\n STRUCT [reduce using rule 188 (ParameterDecl1)]\n '*' [reduce using rule 188 (ParameterDecl1)]\n '[' [reduce using rule 188 (ParameterDecl1)]\n '(' [reduce using rule 188 (ParameterDecl1)]\n ')' reduce using rule 196 (Parameters1)\n $v\u00fdchoz\u00ed reduce using rule 188 (ParameterDecl1)\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n IdentifierList p\u0159ej\u00edt do stavu 150\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n ParameterDecl p\u0159ej\u00edt do stavu 151\n ParameterDecl1 p\u0159ej\u00edt do stavu 152\n ParameterList p\u0159ej\u00edt do stavu 153\n Parameters1 p\u0159ej\u00edt do stavu 154\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 143\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 156\n\n 228 Result: Parameters .\n\n $v\u00fdchoz\u00ed reduce using rule 228 (Result)\n\n\nState 157\n\n 241 Signature1: Result .\n\n $v\u00fdchoz\u00ed reduce using rule 241 (Signature1)\n\n\nState 158\n\n 239 Signature: Parameters Signature1 .\n\n $v\u00fdchoz\u00ed reduce using rule 239 (Signature)\n\n\nState 159\n\n 229 Result: Type .\n\n $v\u00fdchoz\u00ed reduce using rule 229 (Result)\n\n\nState 160\n\n 17 Block: '{' . StatementList '}'\n 280 StatementList: . StatementList1\n 281 StatementList1: . %empty\n 282 | . StatementList1 Statement ';'\n\n $v\u00fdchoz\u00ed reduce using rule 281 (StatementList1)\n\n StatementList p\u0159ej\u00edt do stavu 219\n StatementList1 p\u0159ej\u00edt do stavu 220\n\n\nState 161\n\n 113 FunctionBody: Block .\n\n $v\u00fdchoz\u00ed reduce using rule 113 (FunctionBody)\n\n\nState 162\n\n 112 Function: Signature FunctionBody .\n\n $v\u00fdchoz\u00ed reduce using rule 112 (Function)\n\n\nState 163\n\n 173 MethodDecl1: Function .\n\n $v\u00fdchoz\u00ed reduce using rule 173 (MethodDecl1)\n\n\nState 164\n\n 172 MethodDecl: FUNC Receiver MethodName MethodDecl1 .\n\n $v\u00fdchoz\u00ed reduce using rule 172 (MethodDecl)\n\n\nState 165\n\n 17 Block: . '{' StatementList '}'\n 112 Function: Signature . FunctionBody\n 113 FunctionBody: . Block\n 174 MethodDecl1: Signature . [';']\n\n '{' posunout a p\u0159ej\u00edt do stavu 160\n\n $v\u00fdchoz\u00ed reduce using rule 174 (MethodDecl1)\n\n Block p\u0159ej\u00edt do stavu 161\n FunctionBody p\u0159ej\u00edt do stavu 162\n\n\nState 166\n\n 299 TypeDecl1: '(' TypeDecl11 ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 299 (TypeDecl1)\n\n\nState 167\n\n 301 TypeDecl11: TypeDecl11 TypeSpec . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 221\n\n\nState 168\n\n 332 VarDecl1: '(' VarDecl11 ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 332 (VarDecl1)\n\n\nState 169\n\n 334 VarDecl11: VarDecl11 VarSpec . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 222\n\n\nState 170\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 88 ExpressionList: Expression . ExpressionList1\n 89 ExpressionList1: . %empty [TOK4, '{', ',', ')', ':', ';']\n 90 | . ExpressionList1 ',' Expression\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 89 (ExpressionList1)\n\n ExpressionList1 p\u0159ej\u00edt do stavu 223\n\n\nState 171\n\n 337 VarSpec1: '=' ExpressionList .\n\n $v\u00fdchoz\u00ed reduce using rule 337 (VarSpec1)\n\n\nState 172\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n 339 VarSpec11: '=' . ExpressionList\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 170\n ExpressionList p\u0159ej\u00edt do stavu 224\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 173\n\n 336 VarSpec1: Type VarSpec11 .\n\n $v\u00fdchoz\u00ed reduce using rule 336 (VarSpec1)\n\n\nState 174\n\n 124 IdentifierList1: IdentifierList1 ',' IDENTIFIER .\n\n $v\u00fdchoz\u00ed reduce using rule 124 (IdentifierList1)\n\n\nState 175\n\n 51 ConstDecl11: ConstDecl11 ConstSpec ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 51 (ConstDecl11)\n\n\nState 176\n\n 148 InterfaceType: INTERFACE '{' InterfaceType1 . '}'\n 150 InterfaceType1: InterfaceType1 . MethodSpec ';'\n 151 InterfaceTypeName: . TypeName\n 176 MethodName: . IDENTIFIER\n 177 MethodSpec: . MethodName Signature\n 178 | . InterfaceTypeName\n 186 PackageName: . IDENTIFIER\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 225\n '}' posunout a p\u0159ej\u00edt do stavu 226\n\n InterfaceTypeName p\u0159ej\u00edt do stavu 227\n MethodName p\u0159ej\u00edt do stavu 228\n MethodSpec p\u0159ej\u00edt do stavu 229\n PackageName p\u0159ej\u00edt do stavu 75\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n TypeName p\u0159ej\u00edt do stavu 230\n\n\nState 177\n\n 171 MapType: MAP '[' KeyType . ']' ElementType\n\n ']' posunout a p\u0159ej\u00edt do stavu 231\n\n\nState 178\n\n 154 KeyType: Type .\n\n $v\u00fdchoz\u00ed reduce using rule 154 (KeyType)\n\n\nState 179\n\n 1 AnonymousField: . AnonymousField1 TypeName\n 2 AnonymousField1: . %empty [IDENTIFIER]\n 3 | . '*'\n 93 FieldDecl: . FieldDecl1 FieldDecl2\n 94 FieldDecl1: . IdentifierList Type\n 95 | . AnonymousField\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 283 StructType: STRUCT '{' StructType1 . '}'\n 285 StructType1: StructType1 . FieldDecl ';'\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 35\n '*' posunout a p\u0159ej\u00edt do stavu 232\n '}' posunout a p\u0159ej\u00edt do stavu 233\n\n IDENTIFIER [reduce using rule 2 (AnonymousField1)]\n\n AnonymousField p\u0159ej\u00edt do stavu 234\n AnonymousField1 p\u0159ej\u00edt do stavu 235\n FieldDecl p\u0159ej\u00edt do stavu 236\n FieldDecl1 p\u0159ej\u00edt do stavu 237\n IdentifierList p\u0159ej\u00edt do stavu 238\n\n\nState 180\n\n 4 ArgumentList: . ExpressionList ArgumentList1\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 21 BuiltinArgs: . Type BuiltinArgs1\n 22 | . ArgumentList\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 25 | IDENTIFIER '(' . BuiltinCall1 ')'\n 26 BuiltinCall1: . %empty [')']\n 27 | . BuiltinArgs BuiltinCall11\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n $v\u00fdchoz\u00ed reduce using rule 26 (BuiltinCall1)\n\n ArgumentList p\u0159ej\u00edt do stavu 239\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinArgs p\u0159ej\u00edt do stavu 240\n BuiltinCall p\u0159ej\u00edt do stavu 124\n BuiltinCall1 p\u0159ej\u00edt do stavu 241\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 170\n ExpressionList p\u0159ej\u00edt do stavu 242\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 243\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 181\n\n 327 UnaryExpr: UNARY_OP UnaryExpr .\n\n $v\u00fdchoz\u00ed reduce using rule 327 (UnaryExpr)\n\n\nState 182\n\n 117 FunctionLit: FUNC Function .\n\n $v\u00fdchoz\u00ed reduce using rule 117 (FunctionLit)\n\n\nState 183\n\n 17 Block: . '{' StatementList '}'\n 112 Function: Signature . FunctionBody\n 113 FunctionBody: . Block\n 119 FunctionType: FUNC Signature . [',', '(', ')']\n\n '{' posunout a p\u0159ej\u00edt do stavu 160\n\n $v\u00fdchoz\u00ed reduce using rule 119 (FunctionType)\n\n Block p\u0159ej\u00edt do stavu 161\n FunctionBody p\u0159ej\u00edt do stavu 162\n\n\nState 184\n\n 162 LiteralType: '[' TOK4 . ']' ElementType\n\n ']' posunout a p\u0159ej\u00edt do stavu 244\n\n\nState 185\n\n 258 SliceType: '[' ']' ElementType .\n\n $v\u00fdchoz\u00ed reduce using rule 258 (SliceType)\n\n\nState 186\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 10 BaseType: . Type\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 200 | '*' . BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 220 ReceiverType: '(' '*' . TypeName ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n BaseType p\u0159ej\u00edt do stavu 108\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 109\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 245\n\n\nState 187\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 182 Operand: '(' Expression . ')'\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n ')' posunout a p\u0159ej\u00edt do stavu 246\n\n\nState 188\n\n 175 MethodExpr: ReceiverType . '.' MethodName\n 221 ReceiverType: '(' ReceiverType . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 247\n '.' posunout a p\u0159ej\u00edt do stavu 205\n\n\nState 189\n\n 60 Conversion: Type . '(' Expression Conversion1 ')'\n 294 Type: '(' Type . ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 206\n ')' posunout a p\u0159ej\u00edt do stavu 207\n\n\nState 190\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 8 | '[' ArrayLength ']' . ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 74 ElementType: . Type\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n ElementType p\u0159ej\u00edt do stavu 248\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 145\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 191\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 87 Expression: Expression BINARY_OP . UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 249\n\n\nState 192\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 67 Element: . Element1 Value\n 68 Element1: . %empty [FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '{', '(']\n 69 | . Key ':'\n 70 ElementIndex: . Expression\n 71 ElementList: . Element ElementList1\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 98 FieldName: . IDENTIFIER\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 152 Key: . FieldName\n 153 | . ElementIndex\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 166 LiteralValue: '{' . LiteralValue1 '}'\n 167 LiteralValue1: . %empty ['}']\n 168 | . ElementList LiteralValue11\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 250\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n FLOAT_LIT [reduce using rule 68 (Element1)]\n IDENTIFIER [reduce using rule 68 (Element1)]\n IMAGINARY_LIT [reduce using rule 68 (Element1)]\n INT_LIT [reduce using rule 68 (Element1)]\n RUNE_LIT [reduce using rule 68 (Element1)]\n STRING_LIT [reduce using rule 68 (Element1)]\n UNARY_OP [reduce using rule 68 (Element1)]\n TOK5 [reduce using rule 68 (Element1)]\n CHAN [reduce using rule 68 (Element1)]\n FUNC [reduce using rule 68 (Element1)]\n INTERFACE [reduce using rule 68 (Element1)]\n MAP [reduce using rule 68 (Element1)]\n STRUCT [reduce using rule 68 (Element1)]\n '*' [reduce using rule 68 (Element1)]\n '[' [reduce using rule 68 (Element1)]\n '}' reduce using rule 167 (LiteralValue1)\n '(' [reduce using rule 68 (Element1)]\n $v\u00fdchoz\u00ed reduce using rule 68 (Element1)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Element p\u0159ej\u00edt do stavu 251\n Element1 p\u0159ej\u00edt do stavu 252\n ElementIndex p\u0159ej\u00edt do stavu 253\n ElementList p\u0159ej\u00edt do stavu 254\n Expression p\u0159ej\u00edt do stavu 255\n FieldName p\u0159ej\u00edt do stavu 256\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Key p\u0159ej\u00edt do stavu 257\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n LiteralValue1 p\u0159ej\u00edt do stavu 258\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 193\n\n 45 CompositeLit: LiteralType LiteralValue .\n\n $v\u00fdchoz\u00ed reduce using rule 45 (CompositeLit)\n\n\nState 194\n\n 7 ArrayLength: . Expression\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 8 | '[' . ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 146 Index: '[' . Expression ']'\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 162 | '[' . TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 248 Slice: '[' . Slice1\n 250 Slice1: . Slice11 ':' Slice12\n 251 Slice11: . %empty [':']\n 252 | . Expression\n 258 SliceType: . '[' ']' ElementType\n 258 | '[' . ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK4 posunout a p\u0159ej\u00edt do stavu 184\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n ']' posunout a p\u0159ej\u00edt do stavu 119\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n $v\u00fdchoz\u00ed reduce using rule 251 (Slice11)\n\n ArrayLength p\u0159ej\u00edt do stavu 121\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 259\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n Slice1 p\u0159ej\u00edt do stavu 260\n Slice11 p\u0159ej\u00edt do stavu 261\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 195\n\n 4 ArgumentList: . ExpressionList ArgumentList1\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 30 Call: '(' . Call1 ')'\n 31 Call1: . %empty [')']\n 32 | . ArgumentList Call11\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 182 | '(' . Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 220 | '(' . '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 221 | '(' . ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 294 | '(' . Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 186\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n $v\u00fdchoz\u00ed reduce using rule 31 (Call1)\n\n ArgumentList p\u0159ej\u00edt do stavu 262\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n Call1 p\u0159ej\u00edt do stavu 263\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 264\n ExpressionList p\u0159ej\u00edt do stavu 242\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 188\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 189\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 196\n\n 236 Selector: '.' . IDENTIFIER\n 295 TypeAssertion: '.' . '(' Type ')'\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 265\n '(' posunout a p\u0159ej\u00edt do stavu 266\n\n\nState 197\n\n 209 PrimaryExpr: PrimaryExpr Call .\n\n $v\u00fdchoz\u00ed reduce using rule 209 (PrimaryExpr)\n\n\nState 198\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 257 Slice21: Expression . [':']\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 257 (Slice21)\n\n\nState 199\n\n 206 PrimaryExpr: PrimaryExpr Index .\n\n $v\u00fdchoz\u00ed reduce using rule 206 (PrimaryExpr)\n\n\nState 200\n\n 205 PrimaryExpr: PrimaryExpr Selector .\n\n $v\u00fdchoz\u00ed reduce using rule 205 (PrimaryExpr)\n\n\nState 201\n\n 207 PrimaryExpr: PrimaryExpr Slice .\n\n $v\u00fdchoz\u00ed reduce using rule 207 (PrimaryExpr)\n\n\nState 202\n\n 249 Slice: Slice2 . ']'\n\n ']' posunout a p\u0159ej\u00edt do stavu 267\n\n\nState 203\n\n 255 Slice2: Slice21 . ':' Expression ':' Expression\n\n ':' posunout a p\u0159ej\u00edt do stavu 268\n\n\nState 204\n\n 208 PrimaryExpr: PrimaryExpr TypeAssertion .\n\n $v\u00fdchoz\u00ed reduce using rule 208 (PrimaryExpr)\n\n\nState 205\n\n 175 MethodExpr: ReceiverType '.' . MethodName\n 176 MethodName: . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 90\n\n MethodName p\u0159ej\u00edt do stavu 269\n\n\nState 206\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 60 | Type '(' . Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 270\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 207\n\n 294 Type: '(' Type ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 294 (Type)\n\n\nState 208\n\n 54 ConstSpec1: ConstSpec11 '=' ExpressionList .\n\n $v\u00fdchoz\u00ed reduce using rule 54 (ConstSpec1)\n\n\nState 209\n\n 210 QualifiedIdent: PackageName '.' IDENTIFIER .\n\n $v\u00fdchoz\u00ed reduce using rule 210 (QualifiedIdent)\n\n\nState 210\n\n 11 BaseTypeName: IDENTIFIER .\n\n $v\u00fdchoz\u00ed reduce using rule 11 (BaseTypeName)\n\n\nState 211\n\n 214 Receiver: '(' Receiver1 Receiver2 BaseTypeName . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 271\n\n\nState 212\n\n 192 ParameterList: ParameterDecl ParameterList1 . [',', ')']\n 194 ParameterList1: ParameterList1 . ',' ParameterDecl\n\n ',' posunout a p\u0159ej\u00edt do stavu 272\n\n ',' [reduce using rule 192 (ParameterList)]\n $v\u00fdchoz\u00ed reduce using rule 192 (ParameterList)\n\n\nState 213\n\n 191 ParameterDecl2: TOK4 .\n\n $v\u00fdchoz\u00ed reduce using rule 191 (ParameterDecl2)\n\n\nState 214\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 187 ParameterDecl: ParameterDecl1 ParameterDecl2 . Type\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 273\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 215\n\n 199 Parameters11: ',' .\n\n $v\u00fdchoz\u00ed reduce using rule 199 (Parameters11)\n\n\nState 216\n\n 197 Parameters1: ParameterList Parameters11 .\n\n $v\u00fdchoz\u00ed reduce using rule 197 (Parameters1)\n\n\nState 217\n\n 195 Parameters: '(' Parameters1 ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 195 (Parameters)\n\n\nState 218\n\n 122 IdentifierList: IDENTIFIER . IdentifierList1\n 123 IdentifierList1: . %empty [IDENTIFIER, TOK4, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', ',', '(']\n 124 | . IdentifierList1 ',' IDENTIFIER\n 186 PackageName: IDENTIFIER . ['.']\n 313 TypeName: IDENTIFIER . [')']\n\n ')' reduce using rule 313 (TypeName)\n '.' reduce using rule 186 (PackageName)\n $v\u00fdchoz\u00ed reduce using rule 123 (IdentifierList1)\n\n IdentifierList1 p\u0159ej\u00edt do stavu 55\n\n\nState 219\n\n 17 Block: '{' StatementList . '}'\n\n '}' posunout a p\u0159ej\u00edt do stavu 274\n\n\nState 220\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 9 Assignment: . ExpressionList ASSIGN_OP ExpressionList\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 17 Block: . '{' StatementList '}'\n 18 BreakStmt: . BREAK BreakStmt1\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 35 Channel: . Expression\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 47 ConstDecl: . CONST ConstDecl1\n 57 ContinueStmt: . CONTINUE ContinueStmt1\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 63 Declaration: . ConstDecl\n 64 | . TypeDecl\n 65 | . VarDecl\n 66 DeferStmt: . DEFER Expression\n 75 EmptyStmt: . %empty [';']\n 79 ExprSwitchStmt: . SWITCH ExprSwitchStmt1 ExprSwitchStmt2 '{' ExprSwitchStmt3 '}'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 91 ExpressionStmt: . Expression\n 92 FallthroughStmt: . FALLTHROUGH\n 106 ForStmt: . FOR ForStmt1 Block\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 120 GoStmt: . GO Expression\n 121 GotoStmt: . GOTO Label\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 125 IfStmt: . IF IfStmt1 Expression Block IfStmt2\n 143 IncDecStmt: . Expression IncDecStmt1\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 155 Label: . IDENTIFIER\n 156 LabeledStmt: . Label ':' Statement\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 230 ReturnStmt: . RETURN ReturnStmt1\n 233 SelectStmt: . SELECT '{' SelectStmt1 '}'\n 237 SendStmt: . Channel TOK5 Expression\n 238 ShortVarDecl: . IdentifierList TOK3 ExpressionList\n 242 SimpleStmt: . EmptyStmt\n 243 | . ExpressionStmt\n 244 | . SendStmt\n 245 | . IncDecStmt\n 246 | . Assignment\n 247 | . ShortVarDecl\n 258 SliceType: . '[' ']' ElementType\n 265 Statement: . Declaration\n 266 | . LabeledStmt\n 267 | . SimpleStmt\n 268 | . GoStmt\n 269 | . ReturnStmt\n 270 | . BreakStmt\n 271 | . ContinueStmt\n 272 | . GotoStmt\n 273 | . FallthroughStmt\n 274 | . Block\n 275 | . IfStmt\n 276 | . SwitchStmt\n 277 | . SelectStmt\n 278 | . ForStmt\n 279 | . DeferStmt\n 280 StatementList: StatementList1 . [CASE, DEFAULT, '}']\n 282 StatementList1: StatementList1 . Statement ';'\n 283 StructType: . STRUCT '{' StructType1 '}'\n 286 SwitchStmt: . ExprSwitchStmt\n 287 | . TypeSwitchStmt\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 297 TypeDecl: . TYPE TypeDecl1\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 321 TypeSwitchStmt: . SWITCH TypeSwitchStmt1 TypeSwitchGuard '{' TypeSwitchStmt2 '}'\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n 330 VarDecl: . VAR VarDecl1\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 275\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n BREAK posunout a p\u0159ej\u00edt do stavu 276\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n CONST posunout a p\u0159ej\u00edt do stavu 21\n CONTINUE posunout a p\u0159ej\u00edt do stavu 277\n DEFER posunout a p\u0159ej\u00edt do stavu 278\n FALLTHROUGH posunout a p\u0159ej\u00edt do stavu 279\n FOR posunout a p\u0159ej\u00edt do stavu 280\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n GO posunout a p\u0159ej\u00edt do stavu 281\n GOTO posunout a p\u0159ej\u00edt do stavu 282\n IF posunout a p\u0159ej\u00edt do stavu 283\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n RETURN posunout a p\u0159ej\u00edt do stavu 284\n SELECT posunout a p\u0159ej\u00edt do stavu 285\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n SWITCH posunout a p\u0159ej\u00edt do stavu 286\n TYPE posunout a p\u0159ej\u00edt do stavu 23\n VAR posunout a p\u0159ej\u00edt do stavu 24\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '{' posunout a p\u0159ej\u00edt do stavu 160\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ';' reduce using rule 75 (EmptyStmt)\n $v\u00fdchoz\u00ed reduce using rule 280 (StatementList)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n Assignment p\u0159ej\u00edt do stavu 287\n BasicLit p\u0159ej\u00edt do stavu 123\n Block p\u0159ej\u00edt do stavu 288\n BreakStmt p\u0159ej\u00edt do stavu 289\n BuiltinCall p\u0159ej\u00edt do stavu 124\n Channel p\u0159ej\u00edt do stavu 290\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n ConstDecl p\u0159ej\u00edt do stavu 25\n ContinueStmt p\u0159ej\u00edt do stavu 291\n Conversion p\u0159ej\u00edt do stavu 126\n Declaration p\u0159ej\u00edt do stavu 292\n DeferStmt p\u0159ej\u00edt do stavu 293\n EmptyStmt p\u0159ej\u00edt do stavu 294\n ExprSwitchStmt p\u0159ej\u00edt do stavu 295\n Expression p\u0159ej\u00edt do stavu 296\n ExpressionList p\u0159ej\u00edt do stavu 297\n ExpressionStmt p\u0159ej\u00edt do stavu 298\n FallthroughStmt p\u0159ej\u00edt do stavu 299\n ForStmt p\u0159ej\u00edt do stavu 300\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n GoStmt p\u0159ej\u00edt do stavu 301\n GotoStmt p\u0159ej\u00edt do stavu 302\n IdentifierList p\u0159ej\u00edt do stavu 303\n IfStmt p\u0159ej\u00edt do stavu 304\n IncDecStmt p\u0159ej\u00edt do stavu 305\n InterfaceType p\u0159ej\u00edt do stavu 73\n Label p\u0159ej\u00edt do stavu 306\n LabeledStmt p\u0159ej\u00edt do stavu 307\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n ReturnStmt p\u0159ej\u00edt do stavu 308\n SelectStmt p\u0159ej\u00edt do stavu 309\n SendStmt p\u0159ej\u00edt do stavu 310\n ShortVarDecl p\u0159ej\u00edt do stavu 311\n SimpleStmt p\u0159ej\u00edt do stavu 312\n SliceType p\u0159ej\u00edt do stavu 138\n Statement p\u0159ej\u00edt do stavu 313\n StructType p\u0159ej\u00edt do stavu 139\n SwitchStmt p\u0159ej\u00edt do stavu 314\n Type p\u0159ej\u00edt do stavu 140\n TypeDecl p\u0159ej\u00edt do stavu 30\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n TypeSwitchStmt p\u0159ej\u00edt do stavu 315\n UnaryExpr p\u0159ej\u00edt do stavu 142\n VarDecl p\u0159ej\u00edt do stavu 31\n\n\nState 221\n\n 301 TypeDecl11: TypeDecl11 TypeSpec ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 301 (TypeDecl11)\n\n\nState 222\n\n 334 VarDecl11: VarDecl11 VarSpec ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 334 (VarDecl11)\n\n\nState 223\n\n 88 ExpressionList: Expression ExpressionList1 . [ASSIGN_OP, TOK4, '{', ',', ')', ':', ';', '=']\n 90 ExpressionList1: ExpressionList1 . ',' Expression\n\n ',' posunout a p\u0159ej\u00edt do stavu 316\n\n ',' [reduce using rule 88 (ExpressionList)]\n $v\u00fdchoz\u00ed reduce using rule 88 (ExpressionList)\n\n\nState 224\n\n 339 VarSpec11: '=' ExpressionList .\n\n $v\u00fdchoz\u00ed reduce using rule 339 (VarSpec11)\n\n\nState 225\n\n 176 MethodName: IDENTIFIER . ['(']\n 186 PackageName: IDENTIFIER . ['.']\n 313 TypeName: IDENTIFIER . [';']\n\n ';' reduce using rule 313 (TypeName)\n '.' reduce using rule 186 (PackageName)\n $v\u00fdchoz\u00ed reduce using rule 176 (MethodName)\n\n\nState 226\n\n 148 InterfaceType: INTERFACE '{' InterfaceType1 '}' .\n\n $v\u00fdchoz\u00ed reduce using rule 148 (InterfaceType)\n\n\nState 227\n\n 178 MethodSpec: InterfaceTypeName .\n\n $v\u00fdchoz\u00ed reduce using rule 178 (MethodSpec)\n\n\nState 228\n\n 177 MethodSpec: MethodName . Signature\n 195 Parameters: . '(' Parameters1 ')'\n 239 Signature: . Parameters Signature1\n\n '(' posunout a p\u0159ej\u00edt do stavu 85\n\n Parameters p\u0159ej\u00edt do stavu 88\n Signature p\u0159ej\u00edt do stavu 317\n\n\nState 229\n\n 150 InterfaceType1: InterfaceType1 MethodSpec . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 318\n\n\nState 230\n\n 151 InterfaceTypeName: TypeName .\n\n $v\u00fdchoz\u00ed reduce using rule 151 (InterfaceTypeName)\n\n\nState 231\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 74 ElementType: . Type\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 171 | MAP '[' KeyType ']' . ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n ElementType p\u0159ej\u00edt do stavu 319\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 145\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 232\n\n 3 AnonymousField1: '*' .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (AnonymousField1)\n\n\nState 233\n\n 283 StructType: STRUCT '{' StructType1 '}' .\n\n $v\u00fdchoz\u00ed reduce using rule 283 (StructType)\n\n\nState 234\n\n 95 FieldDecl1: AnonymousField .\n\n $v\u00fdchoz\u00ed reduce using rule 95 (FieldDecl1)\n\n\nState 235\n\n 1 AnonymousField: AnonymousField1 . TypeName\n 186 PackageName: . IDENTIFIER\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n\n PackageName p\u0159ej\u00edt do stavu 75\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n TypeName p\u0159ej\u00edt do stavu 320\n\n\nState 236\n\n 285 StructType1: StructType1 FieldDecl . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 321\n\n\nState 237\n\n 93 FieldDecl: FieldDecl1 . FieldDecl2\n 96 FieldDecl2: . %empty [';']\n 97 | . Tag\n 288 Tag: . STRING_LIT\n\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 322\n\n $v\u00fdchoz\u00ed reduce using rule 96 (FieldDecl2)\n\n FieldDecl2 p\u0159ej\u00edt do stavu 323\n Tag p\u0159ej\u00edt do stavu 324\n\n\nState 238\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 94 FieldDecl1: IdentifierList . Type\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 325\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 239\n\n 22 BuiltinArgs: ArgumentList .\n\n $v\u00fdchoz\u00ed reduce using rule 22 (BuiltinArgs)\n\n\nState 240\n\n 27 BuiltinCall1: BuiltinArgs . BuiltinCall11\n 28 BuiltinCall11: . %empty [')']\n 29 | . ','\n\n ',' posunout a p\u0159ej\u00edt do stavu 326\n\n $v\u00fdchoz\u00ed reduce using rule 28 (BuiltinCall11)\n\n BuiltinCall11 p\u0159ej\u00edt do stavu 327\n\n\nState 241\n\n 25 BuiltinCall: IDENTIFIER '(' BuiltinCall1 . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 328\n\n\nState 242\n\n 4 ArgumentList: ExpressionList . ArgumentList1\n 5 ArgumentList1: . %empty [',', ')']\n 6 | . TOK4\n\n TOK4 posunout a p\u0159ej\u00edt do stavu 329\n\n $v\u00fdchoz\u00ed reduce using rule 5 (ArgumentList1)\n\n ArgumentList1 p\u0159ej\u00edt do stavu 330\n\n\nState 243\n\n 21 BuiltinArgs: Type . BuiltinArgs1\n 23 BuiltinArgs1: . %empty [',', ')']\n 24 | . ',' ArgumentList\n 60 Conversion: Type . '(' Expression Conversion1 ')'\n\n ',' posunout a p\u0159ej\u00edt do stavu 331\n '(' posunout a p\u0159ej\u00edt do stavu 206\n\n ',' [reduce using rule 23 (BuiltinArgs1)]\n $v\u00fdchoz\u00ed reduce using rule 23 (BuiltinArgs1)\n\n BuiltinArgs1 p\u0159ej\u00edt do stavu 332\n\n\nState 244\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 74 ElementType: . Type\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 162 LiteralType: '[' TOK4 ']' . ElementType\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n ElementType p\u0159ej\u00edt do stavu 333\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 145\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 245\n\n 220 ReceiverType: '(' '*' TypeName . ')'\n 292 Type: TypeName . ['(', ')']\n\n ')' posunout a p\u0159ej\u00edt do stavu 334\n\n ')' [reduce using rule 292 (Type)]\n $v\u00fdchoz\u00ed reduce using rule 292 (Type)\n\n\nState 246\n\n 182 Operand: '(' Expression ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 182 (Operand)\n\n\nState 247\n\n 221 ReceiverType: '(' ReceiverType ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 221 (ReceiverType)\n\n\nState 248\n\n 8 ArrayType: '[' ArrayLength ']' ElementType .\n\n $v\u00fdchoz\u00ed reduce using rule 8 (ArrayType)\n\n\nState 249\n\n 87 Expression: Expression BINARY_OP UnaryExpr .\n\n $v\u00fdchoz\u00ed reduce using rule 87 (Expression)\n\n\nState 250\n\n 25 BuiltinCall: IDENTIFIER . '(' BuiltinCall1 ')'\n 98 FieldName: IDENTIFIER . [':']\n 183 OperandName: IDENTIFIER . [BINARY_OP, FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(', ':', '.']\n 186 PackageName: IDENTIFIER . ['.']\n 313 TypeName: IDENTIFIER . ['{', '(', '.']\n\n '(' posunout a p\u0159ej\u00edt do stavu 180\n\n '{' reduce using rule 313 (TypeName)\n '(' [reduce using rule 183 (OperandName)]\n '(' [reduce using rule 313 (TypeName)]\n ':' reduce using rule 98 (FieldName)\n ':' [reduce using rule 183 (OperandName)]\n '.' reduce using rule 183 (OperandName)\n '.' [reduce using rule 186 (PackageName)]\n '.' [reduce using rule 313 (TypeName)]\n $v\u00fdchoz\u00ed reduce using rule 183 (OperandName)\n\n\nState 251\n\n 71 ElementList: Element . ElementList1\n 72 ElementList1: . %empty\n 73 | . ElementList1 ',' Element\n\n $v\u00fdchoz\u00ed reduce using rule 72 (ElementList1)\n\n ElementList1 p\u0159ej\u00edt do stavu 335\n\n\nState 252\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 67 Element: Element1 . Value\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 166 LiteralValue: . '{' LiteralValue1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n 328 Value: . Expression\n 329 | . LiteralValue\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '{' posunout a p\u0159ej\u00edt do stavu 192\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 336\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n LiteralValue p\u0159ej\u00edt do stavu 337\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n Value p\u0159ej\u00edt do stavu 338\n\n\nState 253\n\n 153 Key: ElementIndex .\n\n $v\u00fdchoz\u00ed reduce using rule 153 (Key)\n\n\nState 254\n\n 168 LiteralValue1: ElementList . LiteralValue11\n 169 LiteralValue11: . %empty ['}']\n 170 | . ','\n\n ',' posunout a p\u0159ej\u00edt do stavu 339\n\n $v\u00fdchoz\u00ed reduce using rule 169 (LiteralValue11)\n\n LiteralValue11 p\u0159ej\u00edt do stavu 340\n\n\nState 255\n\n 70 ElementIndex: Expression . [':']\n 87 Expression: Expression . BINARY_OP UnaryExpr\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 70 (ElementIndex)\n\n\nState 256\n\n 152 Key: FieldName .\n\n $v\u00fdchoz\u00ed reduce using rule 152 (Key)\n\n\nState 257\n\n 69 Element1: Key . ':'\n\n ':' posunout a p\u0159ej\u00edt do stavu 341\n\n\nState 258\n\n 166 LiteralValue: '{' LiteralValue1 . '}'\n\n '}' posunout a p\u0159ej\u00edt do stavu 342\n\n\nState 259\n\n 7 ArrayLength: Expression . [']']\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 146 Index: '[' Expression . ']'\n 252 Slice11: Expression . [':']\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n ']' posunout a p\u0159ej\u00edt do stavu 343\n\n ']' [reduce using rule 7 (ArrayLength)]\n $v\u00fdchoz\u00ed reduce using rule 252 (Slice11)\n\n\nState 260\n\n 248 Slice: '[' Slice1 .\n\n $v\u00fdchoz\u00ed reduce using rule 248 (Slice)\n\n\nState 261\n\n 250 Slice1: Slice11 . ':' Slice12\n\n ':' posunout a p\u0159ej\u00edt do stavu 344\n\n\nState 262\n\n 32 Call1: ArgumentList . Call11\n 33 Call11: . %empty [')']\n 34 | . ','\n\n ',' posunout a p\u0159ej\u00edt do stavu 345\n\n $v\u00fdchoz\u00ed reduce using rule 33 (Call11)\n\n Call11 p\u0159ej\u00edt do stavu 346\n\n\nState 263\n\n 30 Call: '(' Call1 . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 347\n\n\nState 264\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 88 ExpressionList: Expression . ExpressionList1\n 89 ExpressionList1: . %empty [TOK4, ',', ')']\n 90 | . ExpressionList1 ',' Expression\n 182 Operand: '(' Expression . ')'\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n ')' posunout a p\u0159ej\u00edt do stavu 246\n\n ')' [reduce using rule 89 (ExpressionList1)]\n $v\u00fdchoz\u00ed reduce using rule 89 (ExpressionList1)\n\n ExpressionList1 p\u0159ej\u00edt do stavu 223\n\n\nState 265\n\n 236 Selector: '.' IDENTIFIER .\n\n $v\u00fdchoz\u00ed reduce using rule 236 (Selector)\n\n\nState 266\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 295 TypeAssertion: '.' '(' . Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 348\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 267\n\n 249 Slice: Slice2 ']' .\n\n $v\u00fdchoz\u00ed reduce using rule 249 (Slice)\n\n\nState 268\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 255 Slice2: Slice21 ':' . Expression ':' Expression\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 349\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 269\n\n 175 MethodExpr: ReceiverType '.' MethodName .\n\n $v\u00fdchoz\u00ed reduce using rule 175 (MethodExpr)\n\n\nState 270\n\n 60 Conversion: Type '(' Expression . Conversion1 ')'\n 61 Conversion1: . %empty [')']\n 62 | . ','\n 87 Expression: Expression . BINARY_OP UnaryExpr\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n ',' posunout a p\u0159ej\u00edt do stavu 350\n\n $v\u00fdchoz\u00ed reduce using rule 61 (Conversion1)\n\n Conversion1 p\u0159ej\u00edt do stavu 351\n\n\nState 271\n\n 214 Receiver: '(' Receiver1 Receiver2 BaseTypeName ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 214 (Receiver)\n\n\nState 272\n\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 187 ParameterDecl: . ParameterDecl1 ParameterDecl2 Type\n 188 ParameterDecl1: . %empty [IDENTIFIER, TOK4, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(']\n 189 | . IdentifierList\n 194 ParameterList1: ParameterList1 ',' . ParameterDecl\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 35\n\n IDENTIFIER [reduce using rule 188 (ParameterDecl1)]\n $v\u00fdchoz\u00ed reduce using rule 188 (ParameterDecl1)\n\n IdentifierList p\u0159ej\u00edt do stavu 150\n ParameterDecl p\u0159ej\u00edt do stavu 352\n ParameterDecl1 p\u0159ej\u00edt do stavu 152\n\n\nState 273\n\n 187 ParameterDecl: ParameterDecl1 ParameterDecl2 Type .\n\n $v\u00fdchoz\u00ed reduce using rule 187 (ParameterDecl)\n\n\nState 274\n\n 17 Block: '{' StatementList '}' .\n\n $v\u00fdchoz\u00ed reduce using rule 17 (Block)\n\n\nState 275\n\n 25 BuiltinCall: IDENTIFIER . '(' BuiltinCall1 ')'\n 122 IdentifierList: IDENTIFIER . IdentifierList1\n 123 IdentifierList1: . %empty [TOK3, ',']\n 124 | . IdentifierList1 ',' IDENTIFIER\n 155 Label: IDENTIFIER . [':']\n 183 OperandName: IDENTIFIER . [ASSIGN_OP, BINARY_OP, FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK1, TOK2, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', ',', '(', ':', ';', '.']\n 186 PackageName: IDENTIFIER . ['.']\n 313 TypeName: IDENTIFIER . ['{', '(', '.']\n\n '(' posunout a p\u0159ej\u00edt do stavu 180\n\n TOK3 reduce using rule 123 (IdentifierList1)\n '{' reduce using rule 313 (TypeName)\n ',' reduce using rule 123 (IdentifierList1)\n ',' [reduce using rule 183 (OperandName)]\n '(' [reduce using rule 183 (OperandName)]\n '(' [reduce using rule 313 (TypeName)]\n ':' reduce using rule 155 (Label)\n ':' [reduce using rule 183 (OperandName)]\n '.' reduce using rule 183 (OperandName)\n '.' [reduce using rule 186 (PackageName)]\n '.' [reduce using rule 313 (TypeName)]\n $v\u00fdchoz\u00ed reduce using rule 183 (OperandName)\n\n IdentifierList1 p\u0159ej\u00edt do stavu 55\n\n\nState 276\n\n 18 BreakStmt: BREAK . BreakStmt1\n 19 BreakStmt1: . %empty [';']\n 20 | . Label\n 155 Label: . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 353\n\n $v\u00fdchoz\u00ed reduce using rule 19 (BreakStmt1)\n\n BreakStmt1 p\u0159ej\u00edt do stavu 354\n Label p\u0159ej\u00edt do stavu 355\n\n\nState 277\n\n 57 ContinueStmt: CONTINUE . ContinueStmt1\n 58 ContinueStmt1: . %empty [';']\n 59 | . Label\n 155 Label: . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 353\n\n $v\u00fdchoz\u00ed reduce using rule 58 (ContinueStmt1)\n\n ContinueStmt1 p\u0159ej\u00edt do stavu 356\n Label p\u0159ej\u00edt do stavu 357\n\n\nState 278\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 66 DeferStmt: DEFER . Expression\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 358\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 279\n\n 92 FallthroughStmt: FALLTHROUGH .\n\n $v\u00fdchoz\u00ed reduce using rule 92 (FallthroughStmt)\n\n\nState 280\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 9 Assignment: . ExpressionList ASSIGN_OP ExpressionList\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 35 Channel: . Expression\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 46 Condition: . Expression\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 75 EmptyStmt: . %empty [';']\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 91 ExpressionStmt: . Expression\n 99 ForClause: . ForClause1 ';' ForClause2 ';' ForClause3\n 100 ForClause1: . %empty [';']\n 101 | . InitStmt\n 106 ForStmt: FOR . ForStmt1 Block\n 107 ForStmt1: . %empty ['{']\n 108 | . ForStmt11\n 109 ForStmt11: . Condition\n 110 | . ForClause\n 111 | . RangeClause\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 143 IncDecStmt: . Expression IncDecStmt1\n 147 InitStmt: . SimpleStmt\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 211 RangeClause: . RangeClause1 RANGE Expression\n 212 RangeClause1: . ExpressionList '='\n 213 | . IdentifierList TOK3\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 237 SendStmt: . Channel TOK5 Expression\n 238 ShortVarDecl: . IdentifierList TOK3 ExpressionList\n 242 SimpleStmt: . EmptyStmt\n 243 | . ExpressionStmt\n 244 | . SendStmt\n 245 | . IncDecStmt\n 246 | . Assignment\n 247 | . ShortVarDecl\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 359\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n '{' reduce using rule 107 (ForStmt1)\n ';' reduce using rule 75 (EmptyStmt)\n ';' [reduce using rule 100 (ForClause1)]\n $v\u00fdchoz\u00ed reduce using rule 75 (EmptyStmt)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n Assignment p\u0159ej\u00edt do stavu 287\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n Channel p\u0159ej\u00edt do stavu 290\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Condition p\u0159ej\u00edt do stavu 360\n Conversion p\u0159ej\u00edt do stavu 126\n EmptyStmt p\u0159ej\u00edt do stavu 294\n Expression p\u0159ej\u00edt do stavu 361\n ExpressionList p\u0159ej\u00edt do stavu 362\n ExpressionStmt p\u0159ej\u00edt do stavu 298\n ForClause p\u0159ej\u00edt do stavu 363\n ForClause1 p\u0159ej\u00edt do stavu 364\n ForStmt1 p\u0159ej\u00edt do stavu 365\n ForStmt11 p\u0159ej\u00edt do stavu 366\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n IdentifierList p\u0159ej\u00edt do stavu 367\n IncDecStmt p\u0159ej\u00edt do stavu 305\n InitStmt p\u0159ej\u00edt do stavu 368\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n RangeClause p\u0159ej\u00edt do stavu 369\n RangeClause1 p\u0159ej\u00edt do stavu 370\n ReceiverType p\u0159ej\u00edt do stavu 137\n SendStmt p\u0159ej\u00edt do stavu 310\n ShortVarDecl p\u0159ej\u00edt do stavu 311\n SimpleStmt p\u0159ej\u00edt do stavu 371\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 281\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 120 GoStmt: GO . Expression\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 372\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 282\n\n 121 GotoStmt: GOTO . Label\n 155 Label: . IDENTIFIER\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 353\n\n Label p\u0159ej\u00edt do stavu 373\n\n\nState 283\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 9 Assignment: . ExpressionList ASSIGN_OP ExpressionList\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 35 Channel: . Expression\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 75 EmptyStmt: . %empty [';']\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 91 ExpressionStmt: . Expression\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 125 IfStmt: IF . IfStmt1 Expression Block IfStmt2\n 126 IfStmt1: . %empty [FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(']\n 127 | . SimpleStmt ';'\n 143 IncDecStmt: . Expression IncDecStmt1\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 237 SendStmt: . Channel TOK5 Expression\n 238 ShortVarDecl: . IdentifierList TOK3 ExpressionList\n 242 SimpleStmt: . EmptyStmt\n 243 | . ExpressionStmt\n 244 | . SendStmt\n 245 | . IncDecStmt\n 246 | . Assignment\n 247 | . ShortVarDecl\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 359\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n FLOAT_LIT [reduce using rule 126 (IfStmt1)]\n IDENTIFIER [reduce using rule 126 (IfStmt1)]\n IMAGINARY_LIT [reduce using rule 126 (IfStmt1)]\n INT_LIT [reduce using rule 126 (IfStmt1)]\n RUNE_LIT [reduce using rule 126 (IfStmt1)]\n STRING_LIT [reduce using rule 126 (IfStmt1)]\n UNARY_OP [reduce using rule 126 (IfStmt1)]\n TOK5 [reduce using rule 126 (IfStmt1)]\n CHAN [reduce using rule 126 (IfStmt1)]\n FUNC [reduce using rule 126 (IfStmt1)]\n INTERFACE [reduce using rule 126 (IfStmt1)]\n MAP [reduce using rule 126 (IfStmt1)]\n STRUCT [reduce using rule 126 (IfStmt1)]\n '*' [reduce using rule 126 (IfStmt1)]\n '[' [reduce using rule 126 (IfStmt1)]\n '(' [reduce using rule 126 (IfStmt1)]\n $v\u00fdchoz\u00ed reduce using rule 75 (EmptyStmt)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n Assignment p\u0159ej\u00edt do stavu 287\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n Channel p\u0159ej\u00edt do stavu 290\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n EmptyStmt p\u0159ej\u00edt do stavu 294\n Expression p\u0159ej\u00edt do stavu 296\n ExpressionList p\u0159ej\u00edt do stavu 297\n ExpressionStmt p\u0159ej\u00edt do stavu 298\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n IdentifierList p\u0159ej\u00edt do stavu 303\n IfStmt1 p\u0159ej\u00edt do stavu 374\n IncDecStmt p\u0159ej\u00edt do stavu 305\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SendStmt p\u0159ej\u00edt do stavu 310\n ShortVarDecl p\u0159ej\u00edt do stavu 311\n SimpleStmt p\u0159ej\u00edt do stavu 375\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 284\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 230 ReturnStmt: RETURN . ReturnStmt1\n 231 ReturnStmt1: . %empty [';']\n 232 | . ExpressionList\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n $v\u00fdchoz\u00ed reduce using rule 231 (ReturnStmt1)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 170\n ExpressionList p\u0159ej\u00edt do stavu 376\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n ReturnStmt1 p\u0159ej\u00edt do stavu 377\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 285\n\n 233 SelectStmt: SELECT . '{' SelectStmt1 '}'\n\n '{' posunout a p\u0159ej\u00edt do stavu 378\n\n\nState 286\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 9 Assignment: . ExpressionList ASSIGN_OP ExpressionList\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 35 Channel: . Expression\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 75 EmptyStmt: . %empty [';']\n 79 ExprSwitchStmt: SWITCH . ExprSwitchStmt1 ExprSwitchStmt2 '{' ExprSwitchStmt3 '}'\n 80 ExprSwitchStmt1: . %empty [FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '{', '(']\n 81 | . SimpleStmt ';'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 91 ExpressionStmt: . Expression\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 143 IncDecStmt: . Expression IncDecStmt1\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 237 SendStmt: . Channel TOK5 Expression\n 238 ShortVarDecl: . IdentifierList TOK3 ExpressionList\n 242 SimpleStmt: . EmptyStmt\n 243 | . ExpressionStmt\n 244 | . SendStmt\n 245 | . IncDecStmt\n 246 | . Assignment\n 247 | . ShortVarDecl\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 321 TypeSwitchStmt: SWITCH . TypeSwitchStmt1 TypeSwitchGuard '{' TypeSwitchStmt2 '}'\n 322 TypeSwitchStmt1: . %empty [FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(']\n 323 | . SimpleStmt ';'\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 359\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n FLOAT_LIT [reduce using rule 80 (ExprSwitchStmt1)]\n FLOAT_LIT [reduce using rule 322 (TypeSwitchStmt1)]\n IDENTIFIER [reduce using rule 80 (ExprSwitchStmt1)]\n IDENTIFIER [reduce using rule 322 (TypeSwitchStmt1)]\n IMAGINARY_LIT [reduce using rule 80 (ExprSwitchStmt1)]\n IMAGINARY_LIT [reduce using rule 322 (TypeSwitchStmt1)]\n INT_LIT [reduce using rule 80 (ExprSwitchStmt1)]\n INT_LIT [reduce using rule 322 (TypeSwitchStmt1)]\n RUNE_LIT [reduce using rule 80 (ExprSwitchStmt1)]\n RUNE_LIT [reduce using rule 322 (TypeSwitchStmt1)]\n STRING_LIT [reduce using rule 80 (ExprSwitchStmt1)]\n STRING_LIT [reduce using rule 322 (TypeSwitchStmt1)]\n UNARY_OP [reduce using rule 80 (ExprSwitchStmt1)]\n TOK5 [reduce using rule 80 (ExprSwitchStmt1)]\n TOK5 [reduce using rule 322 (TypeSwitchStmt1)]\n CHAN [reduce using rule 80 (ExprSwitchStmt1)]\n CHAN [reduce using rule 322 (TypeSwitchStmt1)]\n FUNC [reduce using rule 80 (ExprSwitchStmt1)]\n FUNC [reduce using rule 322 (TypeSwitchStmt1)]\n INTERFACE [reduce using rule 80 (ExprSwitchStmt1)]\n INTERFACE [reduce using rule 322 (TypeSwitchStmt1)]\n MAP [reduce using rule 80 (ExprSwitchStmt1)]\n MAP [reduce using rule 322 (TypeSwitchStmt1)]\n STRUCT [reduce using rule 80 (ExprSwitchStmt1)]\n STRUCT [reduce using rule 322 (TypeSwitchStmt1)]\n '*' [reduce using rule 80 (ExprSwitchStmt1)]\n '*' [reduce using rule 322 (TypeSwitchStmt1)]\n '[' [reduce using rule 80 (ExprSwitchStmt1)]\n '[' [reduce using rule 322 (TypeSwitchStmt1)]\n '{' reduce using rule 80 (ExprSwitchStmt1)\n '(' [reduce using rule 80 (ExprSwitchStmt1)]\n '(' [reduce using rule 322 (TypeSwitchStmt1)]\n $v\u00fdchoz\u00ed reduce using rule 75 (EmptyStmt)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n Assignment p\u0159ej\u00edt do stavu 287\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n Channel p\u0159ej\u00edt do stavu 290\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n EmptyStmt p\u0159ej\u00edt do stavu 294\n ExprSwitchStmt1 p\u0159ej\u00edt do stavu 379\n Expression p\u0159ej\u00edt do stavu 296\n ExpressionList p\u0159ej\u00edt do stavu 297\n ExpressionStmt p\u0159ej\u00edt do stavu 298\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n IdentifierList p\u0159ej\u00edt do stavu 303\n IncDecStmt p\u0159ej\u00edt do stavu 305\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SendStmt p\u0159ej\u00edt do stavu 310\n ShortVarDecl p\u0159ej\u00edt do stavu 311\n SimpleStmt p\u0159ej\u00edt do stavu 380\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n TypeSwitchStmt1 p\u0159ej\u00edt do stavu 381\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 287\n\n 246 SimpleStmt: Assignment .\n\n $v\u00fdchoz\u00ed reduce using rule 246 (SimpleStmt)\n\n\nState 288\n\n 274 Statement: Block .\n\n $v\u00fdchoz\u00ed reduce using rule 274 (Statement)\n\n\nState 289\n\n 270 Statement: BreakStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 270 (Statement)\n\n\nState 290\n\n 237 SendStmt: Channel . TOK5 Expression\n\n TOK5 posunout a p\u0159ej\u00edt do stavu 382\n\n\nState 291\n\n 271 Statement: ContinueStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 271 (Statement)\n\n\nState 292\n\n 265 Statement: Declaration .\n\n $v\u00fdchoz\u00ed reduce using rule 265 (Statement)\n\n\nState 293\n\n 279 Statement: DeferStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 279 (Statement)\n\n\nState 294\n\n 242 SimpleStmt: EmptyStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 242 (SimpleStmt)\n\n\nState 295\n\n 286 SwitchStmt: ExprSwitchStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 286 (SwitchStmt)\n\n\nState 296\n\n 35 Channel: Expression . [TOK5]\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 88 ExpressionList: Expression . ExpressionList1\n 89 ExpressionList1: . %empty [ASSIGN_OP, ',']\n 90 | . ExpressionList1 ',' Expression\n 91 ExpressionStmt: Expression . ['{', ';']\n 143 IncDecStmt: Expression . IncDecStmt1\n 144 IncDecStmt1: . TOK2\n 145 | . TOK1\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n TOK1 posunout a p\u0159ej\u00edt do stavu 383\n TOK2 posunout a p\u0159ej\u00edt do stavu 384\n\n TOK5 reduce using rule 35 (Channel)\n '{' reduce using rule 91 (ExpressionStmt)\n ';' reduce using rule 91 (ExpressionStmt)\n $v\u00fdchoz\u00ed reduce using rule 89 (ExpressionList1)\n\n ExpressionList1 p\u0159ej\u00edt do stavu 223\n IncDecStmt1 p\u0159ej\u00edt do stavu 385\n\n\nState 297\n\n 9 Assignment: ExpressionList . ASSIGN_OP ExpressionList\n\n ASSIGN_OP posunout a p\u0159ej\u00edt do stavu 386\n\n\nState 298\n\n 243 SimpleStmt: ExpressionStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 243 (SimpleStmt)\n\n\nState 299\n\n 273 Statement: FallthroughStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 273 (Statement)\n\n\nState 300\n\n 278 Statement: ForStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 278 (Statement)\n\n\nState 301\n\n 268 Statement: GoStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 268 (Statement)\n\n\nState 302\n\n 272 Statement: GotoStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 272 (Statement)\n\n\nState 303\n\n 238 ShortVarDecl: IdentifierList . TOK3 ExpressionList\n\n TOK3 posunout a p\u0159ej\u00edt do stavu 387\n\n\nState 304\n\n 275 Statement: IfStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 275 (Statement)\n\n\nState 305\n\n 245 SimpleStmt: IncDecStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 245 (SimpleStmt)\n\n\nState 306\n\n 156 LabeledStmt: Label . ':' Statement\n\n ':' posunout a p\u0159ej\u00edt do stavu 388\n\n\nState 307\n\n 266 Statement: LabeledStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 266 (Statement)\n\n\nState 308\n\n 269 Statement: ReturnStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 269 (Statement)\n\n\nState 309\n\n 277 Statement: SelectStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 277 (Statement)\n\n\nState 310\n\n 244 SimpleStmt: SendStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 244 (SimpleStmt)\n\n\nState 311\n\n 247 SimpleStmt: ShortVarDecl .\n\n $v\u00fdchoz\u00ed reduce using rule 247 (SimpleStmt)\n\n\nState 312\n\n 267 Statement: SimpleStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 267 (Statement)\n\n\nState 313\n\n 282 StatementList1: StatementList1 Statement . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 389\n\n\nState 314\n\n 276 Statement: SwitchStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 276 (Statement)\n\n\nState 315\n\n 287 SwitchStmt: TypeSwitchStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 287 (SwitchStmt)\n\n\nState 316\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 90 ExpressionList1: ExpressionList1 ',' . Expression\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 390\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 317\n\n 177 MethodSpec: MethodName Signature .\n\n $v\u00fdchoz\u00ed reduce using rule 177 (MethodSpec)\n\n\nState 318\n\n 150 InterfaceType1: InterfaceType1 MethodSpec ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 150 (InterfaceType1)\n\n\nState 319\n\n 171 MapType: MAP '[' KeyType ']' ElementType .\n\n $v\u00fdchoz\u00ed reduce using rule 171 (MapType)\n\n\nState 320\n\n 1 AnonymousField: AnonymousField1 TypeName .\n\n $v\u00fdchoz\u00ed reduce using rule 1 (AnonymousField)\n\n\nState 321\n\n 285 StructType1: StructType1 FieldDecl ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 285 (StructType1)\n\n\nState 322\n\n 288 Tag: STRING_LIT .\n\n $v\u00fdchoz\u00ed reduce using rule 288 (Tag)\n\n\nState 323\n\n 93 FieldDecl: FieldDecl1 FieldDecl2 .\n\n $v\u00fdchoz\u00ed reduce using rule 93 (FieldDecl)\n\n\nState 324\n\n 97 FieldDecl2: Tag .\n\n $v\u00fdchoz\u00ed reduce using rule 97 (FieldDecl2)\n\n\nState 325\n\n 94 FieldDecl1: IdentifierList Type .\n\n $v\u00fdchoz\u00ed reduce using rule 94 (FieldDecl1)\n\n\nState 326\n\n 29 BuiltinCall11: ',' .\n\n $v\u00fdchoz\u00ed reduce using rule 29 (BuiltinCall11)\n\n\nState 327\n\n 27 BuiltinCall1: BuiltinArgs BuiltinCall11 .\n\n $v\u00fdchoz\u00ed reduce using rule 27 (BuiltinCall1)\n\n\nState 328\n\n 25 BuiltinCall: IDENTIFIER '(' BuiltinCall1 ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 25 (BuiltinCall)\n\n\nState 329\n\n 6 ArgumentList1: TOK4 .\n\n $v\u00fdchoz\u00ed reduce using rule 6 (ArgumentList1)\n\n\nState 330\n\n 4 ArgumentList: ExpressionList ArgumentList1 .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (ArgumentList)\n\n\nState 331\n\n 4 ArgumentList: . ExpressionList ArgumentList1\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 24 BuiltinArgs1: ',' . ArgumentList\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArgumentList p\u0159ej\u00edt do stavu 391\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 170\n ExpressionList p\u0159ej\u00edt do stavu 242\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 332\n\n 21 BuiltinArgs: Type BuiltinArgs1 .\n\n $v\u00fdchoz\u00ed reduce using rule 21 (BuiltinArgs)\n\n\nState 333\n\n 162 LiteralType: '[' TOK4 ']' ElementType .\n\n $v\u00fdchoz\u00ed reduce using rule 162 (LiteralType)\n\n\nState 334\n\n 220 ReceiverType: '(' '*' TypeName ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 220 (ReceiverType)\n\n\nState 335\n\n 71 ElementList: Element ElementList1 . ['}', ',']\n 73 ElementList1: ElementList1 . ',' Element\n\n ',' posunout a p\u0159ej\u00edt do stavu 392\n\n ',' [reduce using rule 71 (ElementList)]\n $v\u00fdchoz\u00ed reduce using rule 71 (ElementList)\n\n\nState 336\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 328 Value: Expression . ['}', ',']\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 328 (Value)\n\n\nState 337\n\n 329 Value: LiteralValue .\n\n $v\u00fdchoz\u00ed reduce using rule 329 (Value)\n\n\nState 338\n\n 67 Element: Element1 Value .\n\n $v\u00fdchoz\u00ed reduce using rule 67 (Element)\n\n\nState 339\n\n 170 LiteralValue11: ',' .\n\n $v\u00fdchoz\u00ed reduce using rule 170 (LiteralValue11)\n\n\nState 340\n\n 168 LiteralValue1: ElementList LiteralValue11 .\n\n $v\u00fdchoz\u00ed reduce using rule 168 (LiteralValue1)\n\n\nState 341\n\n 69 Element1: Key ':' .\n\n $v\u00fdchoz\u00ed reduce using rule 69 (Element1)\n\n\nState 342\n\n 166 LiteralValue: '{' LiteralValue1 '}' .\n\n $v\u00fdchoz\u00ed reduce using rule 166 (LiteralValue)\n\n\nState 343\n\n 146 Index: '[' Expression ']' .\n\n $v\u00fdchoz\u00ed reduce using rule 146 (Index)\n\n\nState 344\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 250 Slice1: Slice11 ':' . Slice12\n 253 Slice12: . %empty [ASSIGN_OP, BINARY_OP, FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK1, TOK2, TOK4, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', ']', '{', '}', ',', '(', ')', ':', ';', '=', '.']\n 254 | . Expression\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n FLOAT_LIT [reduce using rule 253 (Slice12)]\n IDENTIFIER [reduce using rule 253 (Slice12)]\n IMAGINARY_LIT [reduce using rule 253 (Slice12)]\n INT_LIT [reduce using rule 253 (Slice12)]\n RUNE_LIT [reduce using rule 253 (Slice12)]\n STRING_LIT [reduce using rule 253 (Slice12)]\n UNARY_OP [reduce using rule 253 (Slice12)]\n TOK5 [reduce using rule 253 (Slice12)]\n CHAN [reduce using rule 253 (Slice12)]\n FUNC [reduce using rule 253 (Slice12)]\n INTERFACE [reduce using rule 253 (Slice12)]\n MAP [reduce using rule 253 (Slice12)]\n STRUCT [reduce using rule 253 (Slice12)]\n '*' [reduce using rule 253 (Slice12)]\n '[' [reduce using rule 253 (Slice12)]\n '(' [reduce using rule 253 (Slice12)]\n $v\u00fdchoz\u00ed reduce using rule 253 (Slice12)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 393\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n Slice12 p\u0159ej\u00edt do stavu 394\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 345\n\n 34 Call11: ',' .\n\n $v\u00fdchoz\u00ed reduce using rule 34 (Call11)\n\n\nState 346\n\n 32 Call1: ArgumentList Call11 .\n\n $v\u00fdchoz\u00ed reduce using rule 32 (Call1)\n\n\nState 347\n\n 30 Call: '(' Call1 ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 30 (Call)\n\n\nState 348\n\n 295 TypeAssertion: '.' '(' Type . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 395\n\n\nState 349\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 255 Slice2: Slice21 ':' Expression . ':' Expression\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n ':' posunout a p\u0159ej\u00edt do stavu 396\n\n\nState 350\n\n 62 Conversion1: ',' .\n\n $v\u00fdchoz\u00ed reduce using rule 62 (Conversion1)\n\n\nState 351\n\n 60 Conversion: Type '(' Expression Conversion1 . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 397\n\n\nState 352\n\n 194 ParameterList1: ParameterList1 ',' ParameterDecl .\n\n $v\u00fdchoz\u00ed reduce using rule 194 (ParameterList1)\n\n\nState 353\n\n 155 Label: IDENTIFIER .\n\n $v\u00fdchoz\u00ed reduce using rule 155 (Label)\n\n\nState 354\n\n 18 BreakStmt: BREAK BreakStmt1 .\n\n $v\u00fdchoz\u00ed reduce using rule 18 (BreakStmt)\n\n\nState 355\n\n 20 BreakStmt1: Label .\n\n $v\u00fdchoz\u00ed reduce using rule 20 (BreakStmt1)\n\n\nState 356\n\n 57 ContinueStmt: CONTINUE ContinueStmt1 .\n\n $v\u00fdchoz\u00ed reduce using rule 57 (ContinueStmt)\n\n\nState 357\n\n 59 ContinueStmt1: Label .\n\n $v\u00fdchoz\u00ed reduce using rule 59 (ContinueStmt1)\n\n\nState 358\n\n 66 DeferStmt: DEFER Expression . [';']\n 87 Expression: Expression . BINARY_OP UnaryExpr\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 66 (DeferStmt)\n\n\nState 359\n\n 25 BuiltinCall: IDENTIFIER . '(' BuiltinCall1 ')'\n 122 IdentifierList: IDENTIFIER . IdentifierList1\n 123 IdentifierList1: . %empty [TOK3, ',']\n 124 | . IdentifierList1 ',' IDENTIFIER\n 183 OperandName: IDENTIFIER . [ASSIGN_OP, BINARY_OP, FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK1, TOK2, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '{', ',', '(', ':', ';', '=', '.']\n 186 PackageName: IDENTIFIER . ['.']\n 313 TypeName: IDENTIFIER . ['{', '(', '.']\n\n '(' posunout a p\u0159ej\u00edt do stavu 180\n\n TOK3 reduce using rule 123 (IdentifierList1)\n '{' reduce using rule 183 (OperandName)\n '{' [reduce using rule 313 (TypeName)]\n ',' reduce using rule 123 (IdentifierList1)\n ',' [reduce using rule 183 (OperandName)]\n '(' [reduce using rule 183 (OperandName)]\n '(' [reduce using rule 313 (TypeName)]\n '.' reduce using rule 183 (OperandName)\n '.' [reduce using rule 186 (PackageName)]\n '.' [reduce using rule 313 (TypeName)]\n $v\u00fdchoz\u00ed reduce using rule 183 (OperandName)\n\n IdentifierList1 p\u0159ej\u00edt do stavu 55\n\n\nState 360\n\n 109 ForStmt11: Condition .\n\n $v\u00fdchoz\u00ed reduce using rule 109 (ForStmt11)\n\n\nState 361\n\n 35 Channel: Expression . [TOK5]\n 46 Condition: Expression . ['{']\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 88 ExpressionList: Expression . ExpressionList1\n 89 ExpressionList1: . %empty [ASSIGN_OP, ',', '=']\n 90 | . ExpressionList1 ',' Expression\n 91 ExpressionStmt: Expression . [';']\n 143 IncDecStmt: Expression . IncDecStmt1\n 144 IncDecStmt1: . TOK2\n 145 | . TOK1\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n TOK1 posunout a p\u0159ej\u00edt do stavu 383\n TOK2 posunout a p\u0159ej\u00edt do stavu 384\n\n TOK5 reduce using rule 35 (Channel)\n '{' reduce using rule 46 (Condition)\n ';' reduce using rule 91 (ExpressionStmt)\n $v\u00fdchoz\u00ed reduce using rule 89 (ExpressionList1)\n\n ExpressionList1 p\u0159ej\u00edt do stavu 223\n IncDecStmt1 p\u0159ej\u00edt do stavu 385\n\n\nState 362\n\n 9 Assignment: ExpressionList . ASSIGN_OP ExpressionList\n 212 RangeClause1: ExpressionList . '='\n\n ASSIGN_OP posunout a p\u0159ej\u00edt do stavu 386\n '=' posunout a p\u0159ej\u00edt do stavu 398\n\n\nState 363\n\n 110 ForStmt11: ForClause .\n\n $v\u00fdchoz\u00ed reduce using rule 110 (ForStmt11)\n\n\nState 364\n\n 99 ForClause: ForClause1 . ';' ForClause2 ';' ForClause3\n\n ';' posunout a p\u0159ej\u00edt do stavu 399\n\n\nState 365\n\n 17 Block: . '{' StatementList '}'\n 106 ForStmt: FOR ForStmt1 . Block\n\n '{' posunout a p\u0159ej\u00edt do stavu 160\n\n Block p\u0159ej\u00edt do stavu 400\n\n\nState 366\n\n 108 ForStmt1: ForStmt11 .\n\n $v\u00fdchoz\u00ed reduce using rule 108 (ForStmt1)\n\n\nState 367\n\n 213 RangeClause1: IdentifierList . TOK3\n 238 ShortVarDecl: IdentifierList . TOK3 ExpressionList\n\n TOK3 posunout a p\u0159ej\u00edt do stavu 401\n\n\nState 368\n\n 101 ForClause1: InitStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 101 (ForClause1)\n\n\nState 369\n\n 111 ForStmt11: RangeClause .\n\n $v\u00fdchoz\u00ed reduce using rule 111 (ForStmt11)\n\n\nState 370\n\n 211 RangeClause: RangeClause1 . RANGE Expression\n\n RANGE posunout a p\u0159ej\u00edt do stavu 402\n\n\nState 371\n\n 147 InitStmt: SimpleStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 147 (InitStmt)\n\n\nState 372\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 120 GoStmt: GO Expression . [';']\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 120 (GoStmt)\n\n\nState 373\n\n 121 GotoStmt: GOTO Label .\n\n $v\u00fdchoz\u00ed reduce using rule 121 (GotoStmt)\n\n\nState 374\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 125 IfStmt: IF IfStmt1 . Expression Block IfStmt2\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 403\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 375\n\n 127 IfStmt1: SimpleStmt . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 404\n\n\nState 376\n\n 232 ReturnStmt1: ExpressionList .\n\n $v\u00fdchoz\u00ed reduce using rule 232 (ReturnStmt1)\n\n\nState 377\n\n 230 ReturnStmt: RETURN ReturnStmt1 .\n\n $v\u00fdchoz\u00ed reduce using rule 230 (ReturnStmt)\n\n\nState 378\n\n 233 SelectStmt: SELECT '{' . SelectStmt1 '}'\n 234 SelectStmt1: . %empty\n 235 | . SelectStmt1 CommClause\n\n $v\u00fdchoz\u00ed reduce using rule 234 (SelectStmt1)\n\n SelectStmt1 p\u0159ej\u00edt do stavu 405\n\n\nState 379\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 79 ExprSwitchStmt: SWITCH ExprSwitchStmt1 . ExprSwitchStmt2 '{' ExprSwitchStmt3 '}'\n 82 ExprSwitchStmt2: . %empty ['{']\n 83 | . Expression\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n $v\u00fdchoz\u00ed reduce using rule 82 (ExprSwitchStmt2)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n ExprSwitchStmt2 p\u0159ej\u00edt do stavu 406\n Expression p\u0159ej\u00edt do stavu 407\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 380\n\n 81 ExprSwitchStmt1: SimpleStmt . ';'\n 323 TypeSwitchStmt1: SimpleStmt . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 408\n\n\nState 381\n\n 318 TypeSwitchGuard: . TypeSwitchGuard1 PrimaryExpr '.' '(' TYPE ')'\n 319 TypeSwitchGuard1: . %empty [FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(']\n 320 | . IDENTIFIER TOK3\n 321 TypeSwitchStmt: SWITCH TypeSwitchStmt1 . TypeSwitchGuard '{' TypeSwitchStmt2 '}'\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 409\n\n IDENTIFIER [reduce using rule 319 (TypeSwitchGuard1)]\n $v\u00fdchoz\u00ed reduce using rule 319 (TypeSwitchGuard1)\n\n TypeSwitchGuard p\u0159ej\u00edt do stavu 410\n TypeSwitchGuard1 p\u0159ej\u00edt do stavu 411\n\n\nState 382\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 237 SendStmt: Channel TOK5 . Expression\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 412\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 383\n\n 145 IncDecStmt1: TOK1 .\n\n $v\u00fdchoz\u00ed reduce using rule 145 (IncDecStmt1)\n\n\nState 384\n\n 144 IncDecStmt1: TOK2 .\n\n $v\u00fdchoz\u00ed reduce using rule 144 (IncDecStmt1)\n\n\nState 385\n\n 143 IncDecStmt: Expression IncDecStmt1 .\n\n $v\u00fdchoz\u00ed reduce using rule 143 (IncDecStmt)\n\n\nState 386\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 9 Assignment: ExpressionList ASSIGN_OP . ExpressionList\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 170\n ExpressionList p\u0159ej\u00edt do stavu 413\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 387\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 238 ShortVarDecl: IdentifierList TOK3 . ExpressionList\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 170\n ExpressionList p\u0159ej\u00edt do stavu 414\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 388\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 9 Assignment: . ExpressionList ASSIGN_OP ExpressionList\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 17 Block: . '{' StatementList '}'\n 18 BreakStmt: . BREAK BreakStmt1\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 35 Channel: . Expression\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 47 ConstDecl: . CONST ConstDecl1\n 57 ContinueStmt: . CONTINUE ContinueStmt1\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 63 Declaration: . ConstDecl\n 64 | . TypeDecl\n 65 | . VarDecl\n 66 DeferStmt: . DEFER Expression\n 75 EmptyStmt: . %empty [';']\n 79 ExprSwitchStmt: . SWITCH ExprSwitchStmt1 ExprSwitchStmt2 '{' ExprSwitchStmt3 '}'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 91 ExpressionStmt: . Expression\n 92 FallthroughStmt: . FALLTHROUGH\n 106 ForStmt: . FOR ForStmt1 Block\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 120 GoStmt: . GO Expression\n 121 GotoStmt: . GOTO Label\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 125 IfStmt: . IF IfStmt1 Expression Block IfStmt2\n 143 IncDecStmt: . Expression IncDecStmt1\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 155 Label: . IDENTIFIER\n 156 LabeledStmt: . Label ':' Statement\n 156 | Label ':' . Statement\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 230 ReturnStmt: . RETURN ReturnStmt1\n 233 SelectStmt: . SELECT '{' SelectStmt1 '}'\n 237 SendStmt: . Channel TOK5 Expression\n 238 ShortVarDecl: . IdentifierList TOK3 ExpressionList\n 242 SimpleStmt: . EmptyStmt\n 243 | . ExpressionStmt\n 244 | . SendStmt\n 245 | . IncDecStmt\n 246 | . Assignment\n 247 | . ShortVarDecl\n 258 SliceType: . '[' ']' ElementType\n 265 Statement: . Declaration\n 266 | . LabeledStmt\n 267 | . SimpleStmt\n 268 | . GoStmt\n 269 | . ReturnStmt\n 270 | . BreakStmt\n 271 | . ContinueStmt\n 272 | . GotoStmt\n 273 | . FallthroughStmt\n 274 | . Block\n 275 | . IfStmt\n 276 | . SwitchStmt\n 277 | . SelectStmt\n 278 | . ForStmt\n 279 | . DeferStmt\n 283 StructType: . STRUCT '{' StructType1 '}'\n 286 SwitchStmt: . ExprSwitchStmt\n 287 | . TypeSwitchStmt\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 297 TypeDecl: . TYPE TypeDecl1\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 321 TypeSwitchStmt: . SWITCH TypeSwitchStmt1 TypeSwitchGuard '{' TypeSwitchStmt2 '}'\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n 330 VarDecl: . VAR VarDecl1\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 275\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n BREAK posunout a p\u0159ej\u00edt do stavu 276\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n CONST posunout a p\u0159ej\u00edt do stavu 21\n CONTINUE posunout a p\u0159ej\u00edt do stavu 277\n DEFER posunout a p\u0159ej\u00edt do stavu 278\n FALLTHROUGH posunout a p\u0159ej\u00edt do stavu 279\n FOR posunout a p\u0159ej\u00edt do stavu 280\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n GO posunout a p\u0159ej\u00edt do stavu 281\n GOTO posunout a p\u0159ej\u00edt do stavu 282\n IF posunout a p\u0159ej\u00edt do stavu 283\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n RETURN posunout a p\u0159ej\u00edt do stavu 284\n SELECT posunout a p\u0159ej\u00edt do stavu 285\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n SWITCH posunout a p\u0159ej\u00edt do stavu 286\n TYPE posunout a p\u0159ej\u00edt do stavu 23\n VAR posunout a p\u0159ej\u00edt do stavu 24\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '{' posunout a p\u0159ej\u00edt do stavu 160\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n $v\u00fdchoz\u00ed reduce using rule 75 (EmptyStmt)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n Assignment p\u0159ej\u00edt do stavu 287\n BasicLit p\u0159ej\u00edt do stavu 123\n Block p\u0159ej\u00edt do stavu 288\n BreakStmt p\u0159ej\u00edt do stavu 289\n BuiltinCall p\u0159ej\u00edt do stavu 124\n Channel p\u0159ej\u00edt do stavu 290\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n ConstDecl p\u0159ej\u00edt do stavu 25\n ContinueStmt p\u0159ej\u00edt do stavu 291\n Conversion p\u0159ej\u00edt do stavu 126\n Declaration p\u0159ej\u00edt do stavu 292\n DeferStmt p\u0159ej\u00edt do stavu 293\n EmptyStmt p\u0159ej\u00edt do stavu 294\n ExprSwitchStmt p\u0159ej\u00edt do stavu 295\n Expression p\u0159ej\u00edt do stavu 296\n ExpressionList p\u0159ej\u00edt do stavu 297\n ExpressionStmt p\u0159ej\u00edt do stavu 298\n FallthroughStmt p\u0159ej\u00edt do stavu 299\n ForStmt p\u0159ej\u00edt do stavu 300\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n GoStmt p\u0159ej\u00edt do stavu 301\n GotoStmt p\u0159ej\u00edt do stavu 302\n IdentifierList p\u0159ej\u00edt do stavu 303\n IfStmt p\u0159ej\u00edt do stavu 304\n IncDecStmt p\u0159ej\u00edt do stavu 305\n InterfaceType p\u0159ej\u00edt do stavu 73\n Label p\u0159ej\u00edt do stavu 306\n LabeledStmt p\u0159ej\u00edt do stavu 307\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n ReturnStmt p\u0159ej\u00edt do stavu 308\n SelectStmt p\u0159ej\u00edt do stavu 309\n SendStmt p\u0159ej\u00edt do stavu 310\n ShortVarDecl p\u0159ej\u00edt do stavu 311\n SimpleStmt p\u0159ej\u00edt do stavu 312\n SliceType p\u0159ej\u00edt do stavu 138\n Statement p\u0159ej\u00edt do stavu 415\n StructType p\u0159ej\u00edt do stavu 139\n SwitchStmt p\u0159ej\u00edt do stavu 314\n Type p\u0159ej\u00edt do stavu 140\n TypeDecl p\u0159ej\u00edt do stavu 30\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n TypeSwitchStmt p\u0159ej\u00edt do stavu 315\n UnaryExpr p\u0159ej\u00edt do stavu 142\n VarDecl p\u0159ej\u00edt do stavu 31\n\n\nState 389\n\n 282 StatementList1: StatementList1 Statement ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 282 (StatementList1)\n\n\nState 390\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 90 ExpressionList1: ExpressionList1 ',' Expression . [ASSIGN_OP, TOK4, '{', ',', ')', ':', ';', '=']\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 90 (ExpressionList1)\n\n\nState 391\n\n 24 BuiltinArgs1: ',' ArgumentList .\n\n $v\u00fdchoz\u00ed reduce using rule 24 (BuiltinArgs1)\n\n\nState 392\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 67 Element: . Element1 Value\n 68 Element1: . %empty [FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '{', '(']\n 69 | . Key ':'\n 70 ElementIndex: . Expression\n 73 ElementList1: ElementList1 ',' . Element\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 98 FieldName: . IDENTIFIER\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 152 Key: . FieldName\n 153 | . ElementIndex\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 250\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n FLOAT_LIT [reduce using rule 68 (Element1)]\n IDENTIFIER [reduce using rule 68 (Element1)]\n IMAGINARY_LIT [reduce using rule 68 (Element1)]\n INT_LIT [reduce using rule 68 (Element1)]\n RUNE_LIT [reduce using rule 68 (Element1)]\n STRING_LIT [reduce using rule 68 (Element1)]\n UNARY_OP [reduce using rule 68 (Element1)]\n TOK5 [reduce using rule 68 (Element1)]\n CHAN [reduce using rule 68 (Element1)]\n FUNC [reduce using rule 68 (Element1)]\n INTERFACE [reduce using rule 68 (Element1)]\n MAP [reduce using rule 68 (Element1)]\n STRUCT [reduce using rule 68 (Element1)]\n '*' [reduce using rule 68 (Element1)]\n '[' [reduce using rule 68 (Element1)]\n '(' [reduce using rule 68 (Element1)]\n $v\u00fdchoz\u00ed reduce using rule 68 (Element1)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Element p\u0159ej\u00edt do stavu 416\n Element1 p\u0159ej\u00edt do stavu 252\n ElementIndex p\u0159ej\u00edt do stavu 253\n Expression p\u0159ej\u00edt do stavu 255\n FieldName p\u0159ej\u00edt do stavu 256\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Key p\u0159ej\u00edt do stavu 257\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 393\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 254 Slice12: Expression . [ASSIGN_OP, BINARY_OP, FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK1, TOK2, TOK4, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', ']', '{', '}', ',', '(', ')', ':', ';', '=', '.']\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n BINARY_OP [reduce using rule 254 (Slice12)]\n $v\u00fdchoz\u00ed reduce using rule 254 (Slice12)\n\n\nState 394\n\n 250 Slice1: Slice11 ':' Slice12 .\n\n $v\u00fdchoz\u00ed reduce using rule 250 (Slice1)\n\n\nState 395\n\n 295 TypeAssertion: '.' '(' Type ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 295 (TypeAssertion)\n\n\nState 396\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 255 Slice2: Slice21 ':' Expression ':' . Expression\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 417\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 397\n\n 60 Conversion: Type '(' Expression Conversion1 ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 60 (Conversion)\n\n\nState 398\n\n 212 RangeClause1: ExpressionList '=' .\n\n $v\u00fdchoz\u00ed reduce using rule 212 (RangeClause1)\n\n\nState 399\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 46 Condition: . Expression\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 99 ForClause: ForClause1 ';' . ForClause2 ';' ForClause3\n 102 ForClause2: . %empty [';']\n 103 | . Condition\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n $v\u00fdchoz\u00ed reduce using rule 102 (ForClause2)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Condition p\u0159ej\u00edt do stavu 418\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 419\n ForClause2 p\u0159ej\u00edt do stavu 420\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 400\n\n 106 ForStmt: FOR ForStmt1 Block .\n\n $v\u00fdchoz\u00ed reduce using rule 106 (ForStmt)\n\n\nState 401\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 213 RangeClause1: IdentifierList TOK3 . [RANGE]\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 238 ShortVarDecl: IdentifierList TOK3 . ExpressionList\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n $v\u00fdchoz\u00ed reduce using rule 213 (RangeClause1)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 170\n ExpressionList p\u0159ej\u00edt do stavu 414\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 402\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 211 RangeClause: RangeClause1 RANGE . Expression\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 421\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 403\n\n 17 Block: . '{' StatementList '}'\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 125 IfStmt: IF IfStmt1 Expression . Block IfStmt2\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n '{' posunout a p\u0159ej\u00edt do stavu 160\n\n Block p\u0159ej\u00edt do stavu 422\n\n\nState 404\n\n 127 IfStmt1: SimpleStmt ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 127 (IfStmt1)\n\n\nState 405\n\n 40 CommCase: . CASE CommCase1\n 41 | . DEFAULT\n 44 CommClause: . CommCase ':' StatementList\n 233 SelectStmt: SELECT '{' SelectStmt1 . '}'\n 235 SelectStmt1: SelectStmt1 . CommClause\n\n CASE posunout a p\u0159ej\u00edt do stavu 423\n DEFAULT posunout a p\u0159ej\u00edt do stavu 424\n '}' posunout a p\u0159ej\u00edt do stavu 425\n\n CommCase p\u0159ej\u00edt do stavu 426\n CommClause p\u0159ej\u00edt do stavu 427\n\n\nState 406\n\n 79 ExprSwitchStmt: SWITCH ExprSwitchStmt1 ExprSwitchStmt2 . '{' ExprSwitchStmt3 '}'\n\n '{' posunout a p\u0159ej\u00edt do stavu 428\n\n\nState 407\n\n 83 ExprSwitchStmt2: Expression . ['{']\n 87 Expression: Expression . BINARY_OP UnaryExpr\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 83 (ExprSwitchStmt2)\n\n\nState 408\n\n 81 ExprSwitchStmt1: SimpleStmt ';' . [FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '{', '(']\n 323 TypeSwitchStmt1: SimpleStmt ';' . [FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(']\n\n FLOAT_LIT reduce using rule 81 (ExprSwitchStmt1)\n FLOAT_LIT [reduce using rule 323 (TypeSwitchStmt1)]\n IDENTIFIER reduce using rule 81 (ExprSwitchStmt1)\n IDENTIFIER [reduce using rule 323 (TypeSwitchStmt1)]\n IMAGINARY_LIT reduce using rule 81 (ExprSwitchStmt1)\n IMAGINARY_LIT [reduce using rule 323 (TypeSwitchStmt1)]\n INT_LIT reduce using rule 81 (ExprSwitchStmt1)\n INT_LIT [reduce using rule 323 (TypeSwitchStmt1)]\n RUNE_LIT reduce using rule 81 (ExprSwitchStmt1)\n RUNE_LIT [reduce using rule 323 (TypeSwitchStmt1)]\n STRING_LIT reduce using rule 81 (ExprSwitchStmt1)\n STRING_LIT [reduce using rule 323 (TypeSwitchStmt1)]\n TOK5 reduce using rule 81 (ExprSwitchStmt1)\n TOK5 [reduce using rule 323 (TypeSwitchStmt1)]\n CHAN reduce using rule 81 (ExprSwitchStmt1)\n CHAN [reduce using rule 323 (TypeSwitchStmt1)]\n FUNC reduce using rule 81 (ExprSwitchStmt1)\n FUNC [reduce using rule 323 (TypeSwitchStmt1)]\n INTERFACE reduce using rule 81 (ExprSwitchStmt1)\n INTERFACE [reduce using rule 323 (TypeSwitchStmt1)]\n MAP reduce using rule 81 (ExprSwitchStmt1)\n MAP [reduce using rule 323 (TypeSwitchStmt1)]\n STRUCT reduce using rule 81 (ExprSwitchStmt1)\n STRUCT [reduce using rule 323 (TypeSwitchStmt1)]\n '*' reduce using rule 81 (ExprSwitchStmt1)\n '*' [reduce using rule 323 (TypeSwitchStmt1)]\n '[' reduce using rule 81 (ExprSwitchStmt1)\n '[' [reduce using rule 323 (TypeSwitchStmt1)]\n '(' reduce using rule 81 (ExprSwitchStmt1)\n '(' [reduce using rule 323 (TypeSwitchStmt1)]\n $v\u00fdchoz\u00ed reduce using rule 81 (ExprSwitchStmt1)\n\n\nState 409\n\n 320 TypeSwitchGuard1: IDENTIFIER . TOK3\n\n TOK3 posunout a p\u0159ej\u00edt do stavu 429\n\n\nState 410\n\n 321 TypeSwitchStmt: SWITCH TypeSwitchStmt1 TypeSwitchGuard . '{' TypeSwitchStmt2 '}'\n\n '{' posunout a p\u0159ej\u00edt do stavu 430\n\n\nState 411\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 318 TypeSwitchGuard: TypeSwitchGuard1 . PrimaryExpr '.' '(' TYPE ')'\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 431\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n\n\nState 412\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 237 SendStmt: Channel TOK5 Expression . ['{', ':', ';']\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 237 (SendStmt)\n\n\nState 413\n\n 9 Assignment: ExpressionList ASSIGN_OP ExpressionList .\n\n $v\u00fdchoz\u00ed reduce using rule 9 (Assignment)\n\n\nState 414\n\n 238 ShortVarDecl: IdentifierList TOK3 ExpressionList .\n\n $v\u00fdchoz\u00ed reduce using rule 238 (ShortVarDecl)\n\n\nState 415\n\n 156 LabeledStmt: Label ':' Statement .\n\n $v\u00fdchoz\u00ed reduce using rule 156 (LabeledStmt)\n\n\nState 416\n\n 73 ElementList1: ElementList1 ',' Element .\n\n $v\u00fdchoz\u00ed reduce using rule 73 (ElementList1)\n\n\nState 417\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 255 Slice2: Slice21 ':' Expression ':' Expression . [']']\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 255 (Slice2)\n\n\nState 418\n\n 103 ForClause2: Condition .\n\n $v\u00fdchoz\u00ed reduce using rule 103 (ForClause2)\n\n\nState 419\n\n 46 Condition: Expression . [';']\n 87 Expression: Expression . BINARY_OP UnaryExpr\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 46 (Condition)\n\n\nState 420\n\n 99 ForClause: ForClause1 ';' ForClause2 . ';' ForClause3\n\n ';' posunout a p\u0159ej\u00edt do stavu 432\n\n\nState 421\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 211 RangeClause: RangeClause1 RANGE Expression . ['{']\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 211 (RangeClause)\n\n\nState 422\n\n 125 IfStmt: IF IfStmt1 Expression Block . IfStmt2\n 128 IfStmt2: . %empty [';']\n 129 | . ELSE IfStmt21\n\n ELSE posunout a p\u0159ej\u00edt do stavu 433\n\n $v\u00fdchoz\u00ed reduce using rule 128 (IfStmt2)\n\n IfStmt2 p\u0159ej\u00edt do stavu 434\n\n\nState 423\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 35 Channel: . Expression\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 40 CommCase: CASE . CommCase1\n 42 CommCase1: . SendStmt\n 43 | . RecvStmt\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 223 RecvStmt: . RecvStmt1 RecvExpr\n 224 RecvStmt1: . %empty [FLOAT_LIT, IDENTIFIER, IMAGINARY_LIT, INT_LIT, RUNE_LIT, STRING_LIT, UNARY_OP, TOK5, CHAN, FUNC, INTERFACE, MAP, STRUCT, '*', '[', '(']\n 225 | . RecvStmt11\n 226 RecvStmt11: . ExpressionList '='\n 227 | . IdentifierList TOK3\n 237 SendStmt: . Channel TOK5 Expression\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 359\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n FLOAT_LIT [reduce using rule 224 (RecvStmt1)]\n IDENTIFIER [reduce using rule 224 (RecvStmt1)]\n IMAGINARY_LIT [reduce using rule 224 (RecvStmt1)]\n INT_LIT [reduce using rule 224 (RecvStmt1)]\n RUNE_LIT [reduce using rule 224 (RecvStmt1)]\n STRING_LIT [reduce using rule 224 (RecvStmt1)]\n UNARY_OP [reduce using rule 224 (RecvStmt1)]\n TOK5 [reduce using rule 224 (RecvStmt1)]\n CHAN [reduce using rule 224 (RecvStmt1)]\n FUNC [reduce using rule 224 (RecvStmt1)]\n INTERFACE [reduce using rule 224 (RecvStmt1)]\n MAP [reduce using rule 224 (RecvStmt1)]\n STRUCT [reduce using rule 224 (RecvStmt1)]\n '*' [reduce using rule 224 (RecvStmt1)]\n '[' [reduce using rule 224 (RecvStmt1)]\n '(' [reduce using rule 224 (RecvStmt1)]\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n Channel p\u0159ej\u00edt do stavu 290\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CommCase1 p\u0159ej\u00edt do stavu 435\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 436\n ExpressionList p\u0159ej\u00edt do stavu 437\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n IdentifierList p\u0159ej\u00edt do stavu 438\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n RecvStmt p\u0159ej\u00edt do stavu 439\n RecvStmt1 p\u0159ej\u00edt do stavu 440\n RecvStmt11 p\u0159ej\u00edt do stavu 441\n SendStmt p\u0159ej\u00edt do stavu 442\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 424\n\n 41 CommCase: DEFAULT .\n\n $v\u00fdchoz\u00ed reduce using rule 41 (CommCase)\n\n\nState 425\n\n 233 SelectStmt: SELECT '{' SelectStmt1 '}' .\n\n $v\u00fdchoz\u00ed reduce using rule 233 (SelectStmt)\n\n\nState 426\n\n 44 CommClause: CommCase . ':' StatementList\n\n ':' posunout a p\u0159ej\u00edt do stavu 443\n\n\nState 427\n\n 235 SelectStmt1: SelectStmt1 CommClause .\n\n $v\u00fdchoz\u00ed reduce using rule 235 (SelectStmt1)\n\n\nState 428\n\n 79 ExprSwitchStmt: SWITCH ExprSwitchStmt1 ExprSwitchStmt2 '{' . ExprSwitchStmt3 '}'\n 84 ExprSwitchStmt3: . %empty\n 85 | . ExprSwitchStmt3 ExprCaseClause\n\n $v\u00fdchoz\u00ed reduce using rule 84 (ExprSwitchStmt3)\n\n ExprSwitchStmt3 p\u0159ej\u00edt do stavu 444\n\n\nState 429\n\n 320 TypeSwitchGuard1: IDENTIFIER TOK3 .\n\n $v\u00fdchoz\u00ed reduce using rule 320 (TypeSwitchGuard1)\n\n\nState 430\n\n 321 TypeSwitchStmt: SWITCH TypeSwitchStmt1 TypeSwitchGuard '{' . TypeSwitchStmt2 '}'\n 324 TypeSwitchStmt2: . %empty\n 325 | . TypeSwitchStmt2 TypeCaseClause\n\n $v\u00fdchoz\u00ed reduce using rule 324 (TypeSwitchStmt2)\n\n TypeSwitchStmt2 p\u0159ej\u00edt do stavu 445\n\n\nState 431\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 30 Call: . '(' Call1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 146 Index: . '[' Expression ']'\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 205 | PrimaryExpr . Selector\n 206 | . PrimaryExpr Index\n 206 | PrimaryExpr . Index\n 207 | . PrimaryExpr Slice\n 207 | PrimaryExpr . Slice\n 208 | . PrimaryExpr TypeAssertion\n 208 | PrimaryExpr . TypeAssertion\n 209 | . PrimaryExpr Call\n 209 | PrimaryExpr . Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 236 Selector: . '.' IDENTIFIER\n 248 Slice: . '[' Slice1\n 249 | . Slice2 ']'\n 255 Slice2: . Slice21 ':' Expression ':' Expression\n 256 Slice21: . %empty [':']\n 257 | . Expression\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 295 TypeAssertion: . '.' '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 318 TypeSwitchGuard: TypeSwitchGuard1 PrimaryExpr . '.' '(' TYPE ')'\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 194\n '(' posunout a p\u0159ej\u00edt do stavu 195\n '.' posunout a p\u0159ej\u00edt do stavu 446\n\n $v\u00fdchoz\u00ed reduce using rule 256 (Slice21)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n Call p\u0159ej\u00edt do stavu 197\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 198\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n Index p\u0159ej\u00edt do stavu 199\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n Selector p\u0159ej\u00edt do stavu 200\n Slice p\u0159ej\u00edt do stavu 201\n Slice2 p\u0159ej\u00edt do stavu 202\n Slice21 p\u0159ej\u00edt do stavu 203\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeAssertion p\u0159ej\u00edt do stavu 204\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 432\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 9 Assignment: . ExpressionList ASSIGN_OP ExpressionList\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 35 Channel: . Expression\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 75 EmptyStmt: . %empty ['{']\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 91 ExpressionStmt: . Expression\n 99 ForClause: ForClause1 ';' ForClause2 ';' . ForClause3\n 104 ForClause3: . %empty ['{']\n 105 | . PostStmt\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 122 IdentifierList: . IDENTIFIER IdentifierList1\n 143 IncDecStmt: . Expression IncDecStmt1\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 201 PostStmt: . SimpleStmt\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 237 SendStmt: . Channel TOK5 Expression\n 238 ShortVarDecl: . IdentifierList TOK3 ExpressionList\n 242 SimpleStmt: . EmptyStmt\n 243 | . ExpressionStmt\n 244 | . SendStmt\n 245 | . IncDecStmt\n 246 | . Assignment\n 247 | . ShortVarDecl\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 359\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n '{' reduce using rule 75 (EmptyStmt)\n '{' [reduce using rule 104 (ForClause3)]\n $v\u00fdchoz\u00ed reduce using rule 75 (EmptyStmt)\n\n ArrayType p\u0159ej\u00edt do stavu 122\n Assignment p\u0159ej\u00edt do stavu 287\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n Channel p\u0159ej\u00edt do stavu 290\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n EmptyStmt p\u0159ej\u00edt do stavu 294\n Expression p\u0159ej\u00edt do stavu 296\n ExpressionList p\u0159ej\u00edt do stavu 297\n ExpressionStmt p\u0159ej\u00edt do stavu 298\n ForClause3 p\u0159ej\u00edt do stavu 447\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n IdentifierList p\u0159ej\u00edt do stavu 303\n IncDecStmt p\u0159ej\u00edt do stavu 305\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PostStmt p\u0159ej\u00edt do stavu 448\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SendStmt p\u0159ej\u00edt do stavu 310\n ShortVarDecl p\u0159ej\u00edt do stavu 311\n SimpleStmt p\u0159ej\u00edt do stavu 449\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 433\n\n 17 Block: . '{' StatementList '}'\n 125 IfStmt: . IF IfStmt1 Expression Block IfStmt2\n 129 IfStmt2: ELSE . IfStmt21\n 130 IfStmt21: . IfStmt\n 131 | . Block\n\n IF posunout a p\u0159ej\u00edt do stavu 283\n '{' posunout a p\u0159ej\u00edt do stavu 160\n\n Block p\u0159ej\u00edt do stavu 450\n IfStmt p\u0159ej\u00edt do stavu 451\n IfStmt21 p\u0159ej\u00edt do stavu 452\n\n\nState 434\n\n 125 IfStmt: IF IfStmt1 Expression Block IfStmt2 .\n\n $v\u00fdchoz\u00ed reduce using rule 125 (IfStmt)\n\n\nState 435\n\n 40 CommCase: CASE CommCase1 .\n\n $v\u00fdchoz\u00ed reduce using rule 40 (CommCase)\n\n\nState 436\n\n 35 Channel: Expression . [TOK5]\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 88 ExpressionList: Expression . ExpressionList1\n 89 ExpressionList1: . %empty [',', '=']\n 90 | . ExpressionList1 ',' Expression\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n TOK5 reduce using rule 35 (Channel)\n $v\u00fdchoz\u00ed reduce using rule 89 (ExpressionList1)\n\n ExpressionList1 p\u0159ej\u00edt do stavu 223\n\n\nState 437\n\n 226 RecvStmt11: ExpressionList . '='\n\n '=' posunout a p\u0159ej\u00edt do stavu 453\n\n\nState 438\n\n 227 RecvStmt11: IdentifierList . TOK3\n\n TOK3 posunout a p\u0159ej\u00edt do stavu 454\n\n\nState 439\n\n 43 CommCase1: RecvStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 43 (CommCase1)\n\n\nState 440\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 222 RecvExpr: . Expression\n 223 RecvStmt: RecvStmt1 . RecvExpr\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 455\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n RecvExpr p\u0159ej\u00edt do stavu 456\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 441\n\n 225 RecvStmt1: RecvStmt11 .\n\n $v\u00fdchoz\u00ed reduce using rule 225 (RecvStmt1)\n\n\nState 442\n\n 42 CommCase1: SendStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 42 (CommCase1)\n\n\nState 443\n\n 44 CommClause: CommCase ':' . StatementList\n 280 StatementList: . StatementList1\n 281 StatementList1: . %empty\n 282 | . StatementList1 Statement ';'\n\n $v\u00fdchoz\u00ed reduce using rule 281 (StatementList1)\n\n StatementList p\u0159ej\u00edt do stavu 457\n StatementList1 p\u0159ej\u00edt do stavu 220\n\n\nState 444\n\n 76 ExprCaseClause: . ExprSwitchCase ':' StatementList\n 77 ExprSwitchCase: . CASE ExpressionList\n 78 | . DEFAULT\n 79 ExprSwitchStmt: SWITCH ExprSwitchStmt1 ExprSwitchStmt2 '{' ExprSwitchStmt3 . '}'\n 85 ExprSwitchStmt3: ExprSwitchStmt3 . ExprCaseClause\n\n CASE posunout a p\u0159ej\u00edt do stavu 458\n DEFAULT posunout a p\u0159ej\u00edt do stavu 459\n '}' posunout a p\u0159ej\u00edt do stavu 460\n\n ExprCaseClause p\u0159ej\u00edt do stavu 461\n ExprSwitchCase p\u0159ej\u00edt do stavu 462\n\n\nState 445\n\n 296 TypeCaseClause: . TypeSwitchCase ':' StatementList\n 316 TypeSwitchCase: . CASE TypeList\n 317 | . DEFAULT\n 321 TypeSwitchStmt: SWITCH TypeSwitchStmt1 TypeSwitchGuard '{' TypeSwitchStmt2 . '}'\n 325 TypeSwitchStmt2: TypeSwitchStmt2 . TypeCaseClause\n\n CASE posunout a p\u0159ej\u00edt do stavu 463\n DEFAULT posunout a p\u0159ej\u00edt do stavu 464\n '}' posunout a p\u0159ej\u00edt do stavu 465\n\n TypeCaseClause p\u0159ej\u00edt do stavu 466\n TypeSwitchCase p\u0159ej\u00edt do stavu 467\n\n\nState 446\n\n 236 Selector: '.' . IDENTIFIER\n 295 TypeAssertion: '.' . '(' Type ')'\n 318 TypeSwitchGuard: TypeSwitchGuard1 PrimaryExpr '.' . '(' TYPE ')'\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 265\n '(' posunout a p\u0159ej\u00edt do stavu 468\n\n\nState 447\n\n 99 ForClause: ForClause1 ';' ForClause2 ';' ForClause3 .\n\n $v\u00fdchoz\u00ed reduce using rule 99 (ForClause)\n\n\nState 448\n\n 105 ForClause3: PostStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 105 (ForClause3)\n\n\nState 449\n\n 201 PostStmt: SimpleStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 201 (PostStmt)\n\n\nState 450\n\n 131 IfStmt21: Block .\n\n $v\u00fdchoz\u00ed reduce using rule 131 (IfStmt21)\n\n\nState 451\n\n 130 IfStmt21: IfStmt .\n\n $v\u00fdchoz\u00ed reduce using rule 130 (IfStmt21)\n\n\nState 452\n\n 129 IfStmt2: ELSE IfStmt21 .\n\n $v\u00fdchoz\u00ed reduce using rule 129 (IfStmt2)\n\n\nState 453\n\n 226 RecvStmt11: ExpressionList '=' .\n\n $v\u00fdchoz\u00ed reduce using rule 226 (RecvStmt11)\n\n\nState 454\n\n 227 RecvStmt11: IdentifierList TOK3 .\n\n $v\u00fdchoz\u00ed reduce using rule 227 (RecvStmt11)\n\n\nState 455\n\n 87 Expression: Expression . BINARY_OP UnaryExpr\n 222 RecvExpr: Expression . [':']\n\n BINARY_OP posunout a p\u0159ej\u00edt do stavu 191\n\n $v\u00fdchoz\u00ed reduce using rule 222 (RecvExpr)\n\n\nState 456\n\n 223 RecvStmt: RecvStmt1 RecvExpr .\n\n $v\u00fdchoz\u00ed reduce using rule 223 (RecvStmt)\n\n\nState 457\n\n 44 CommClause: CommCase ':' StatementList .\n\n $v\u00fdchoz\u00ed reduce using rule 44 (CommClause)\n\n\nState 458\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 12 BasicLit: . INT_LIT\n 13 | . FLOAT_LIT\n 14 | . IMAGINARY_LIT\n 15 | . RUNE_LIT\n 16 | . STRING_LIT\n 25 BuiltinCall: . IDENTIFIER '(' BuiltinCall1 ')'\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 45 CompositeLit: . LiteralType LiteralValue\n 60 Conversion: . Type '(' Expression Conversion1 ')'\n 77 ExprSwitchCase: CASE . ExpressionList\n 86 Expression: . UnaryExpr\n 87 | . Expression BINARY_OP UnaryExpr\n 88 ExpressionList: . Expression ExpressionList1\n 117 FunctionLit: . FUNC Function\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 157 Literal: . BasicLit\n 158 | . CompositeLit\n 159 | . FunctionLit\n 160 LiteralType: . StructType\n 161 | . ArrayType\n 162 | . '[' TOK4 ']' ElementType\n 163 | . SliceType\n 164 | . MapType\n 165 | . TypeName\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 175 MethodExpr: . ReceiverType '.' MethodName\n 179 Operand: . Literal\n 180 | . OperandName\n 181 | . MethodExpr\n 182 | . '(' Expression ')'\n 183 OperandName: . IDENTIFIER\n 184 | . QualifiedIdent\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 202 PrimaryExpr: . Operand\n 203 | . Conversion\n 204 | . BuiltinCall\n 205 | . PrimaryExpr Selector\n 206 | . PrimaryExpr Index\n 207 | . PrimaryExpr Slice\n 208 | . PrimaryExpr TypeAssertion\n 209 | . PrimaryExpr Call\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 219 ReceiverType: . TypeName\n 220 | . '(' '*' TypeName ')'\n 221 | . '(' ReceiverType ')'\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 326 UnaryExpr: . PrimaryExpr\n 327 | . UNARY_OP UnaryExpr\n\n FLOAT_LIT posunout a p\u0159ej\u00edt do stavu 110\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 111\n IMAGINARY_LIT posunout a p\u0159ej\u00edt do stavu 112\n INT_LIT posunout a p\u0159ej\u00edt do stavu 113\n RUNE_LIT posunout a p\u0159ej\u00edt do stavu 114\n STRING_LIT posunout a p\u0159ej\u00edt do stavu 115\n UNARY_OP posunout a p\u0159ej\u00edt do stavu 116\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 117\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 118\n '(' posunout a p\u0159ej\u00edt do stavu 120\n\n ArrayType p\u0159ej\u00edt do stavu 122\n BasicLit p\u0159ej\u00edt do stavu 123\n BuiltinCall p\u0159ej\u00edt do stavu 124\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n CompositeLit p\u0159ej\u00edt do stavu 125\n Conversion p\u0159ej\u00edt do stavu 126\n Expression p\u0159ej\u00edt do stavu 170\n ExpressionList p\u0159ej\u00edt do stavu 469\n FunctionLit p\u0159ej\u00edt do stavu 128\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n Literal p\u0159ej\u00edt do stavu 129\n LiteralType p\u0159ej\u00edt do stavu 130\n MapType p\u0159ej\u00edt do stavu 131\n MethodExpr p\u0159ej\u00edt do stavu 132\n Operand p\u0159ej\u00edt do stavu 133\n OperandName p\u0159ej\u00edt do stavu 134\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n PrimaryExpr p\u0159ej\u00edt do stavu 135\n QualifiedIdent p\u0159ej\u00edt do stavu 136\n ReceiverType p\u0159ej\u00edt do stavu 137\n SliceType p\u0159ej\u00edt do stavu 138\n StructType p\u0159ej\u00edt do stavu 139\n Type p\u0159ej\u00edt do stavu 140\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 141\n UnaryExpr p\u0159ej\u00edt do stavu 142\n\n\nState 459\n\n 78 ExprSwitchCase: DEFAULT .\n\n $v\u00fdchoz\u00ed reduce using rule 78 (ExprSwitchCase)\n\n\nState 460\n\n 79 ExprSwitchStmt: SWITCH ExprSwitchStmt1 ExprSwitchStmt2 '{' ExprSwitchStmt3 '}' .\n\n $v\u00fdchoz\u00ed reduce using rule 79 (ExprSwitchStmt)\n\n\nState 461\n\n 85 ExprSwitchStmt3: ExprSwitchStmt3 ExprCaseClause .\n\n $v\u00fdchoz\u00ed reduce using rule 85 (ExprSwitchStmt3)\n\n\nState 462\n\n 76 ExprCaseClause: ExprSwitchCase . ':' StatementList\n\n ':' posunout a p\u0159ej\u00edt do stavu 470\n\n\nState 463\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 302 TypeList: . Type TypeList1\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 316 TypeSwitchCase: CASE . TypeList\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 471\n TypeList p\u0159ej\u00edt do stavu 472\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 464\n\n 317 TypeSwitchCase: DEFAULT .\n\n $v\u00fdchoz\u00ed reduce using rule 317 (TypeSwitchCase)\n\n\nState 465\n\n 321 TypeSwitchStmt: SWITCH TypeSwitchStmt1 TypeSwitchGuard '{' TypeSwitchStmt2 '}' .\n\n $v\u00fdchoz\u00ed reduce using rule 321 (TypeSwitchStmt)\n\n\nState 466\n\n 325 TypeSwitchStmt2: TypeSwitchStmt2 TypeCaseClause .\n\n $v\u00fdchoz\u00ed reduce using rule 325 (TypeSwitchStmt2)\n\n\nState 467\n\n 296 TypeCaseClause: TypeSwitchCase . ':' StatementList\n\n ':' posunout a p\u0159ej\u00edt do stavu 473\n\n\nState 468\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 295 TypeAssertion: '.' '(' . Type ')'\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n 318 TypeSwitchGuard: TypeSwitchGuard1 PrimaryExpr '.' '(' . TYPE ')'\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n TYPE posunout a p\u0159ej\u00edt do stavu 474\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 348\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 469\n\n 77 ExprSwitchCase: CASE ExpressionList .\n\n $v\u00fdchoz\u00ed reduce using rule 77 (ExprSwitchCase)\n\n\nState 470\n\n 76 ExprCaseClause: ExprSwitchCase ':' . StatementList\n 280 StatementList: . StatementList1\n 281 StatementList1: . %empty\n 282 | . StatementList1 Statement ';'\n\n $v\u00fdchoz\u00ed reduce using rule 281 (StatementList1)\n\n StatementList p\u0159ej\u00edt do stavu 475\n StatementList1 p\u0159ej\u00edt do stavu 220\n\n\nState 471\n\n 302 TypeList: Type . TypeList1\n 303 TypeList1: . %empty\n 304 | . TypeList1 ',' Type\n\n $v\u00fdchoz\u00ed reduce using rule 303 (TypeList1)\n\n TypeList1 p\u0159ej\u00edt do stavu 476\n\n\nState 472\n\n 316 TypeSwitchCase: CASE TypeList .\n\n $v\u00fdchoz\u00ed reduce using rule 316 (TypeSwitchCase)\n\n\nState 473\n\n 280 StatementList: . StatementList1\n 281 StatementList1: . %empty\n 282 | . StatementList1 Statement ';'\n 296 TypeCaseClause: TypeSwitchCase ':' . StatementList\n\n $v\u00fdchoz\u00ed reduce using rule 281 (StatementList1)\n\n StatementList p\u0159ej\u00edt do stavu 477\n StatementList1 p\u0159ej\u00edt do stavu 220\n\n\nState 474\n\n 318 TypeSwitchGuard: TypeSwitchGuard1 PrimaryExpr '.' '(' TYPE . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 478\n\n\nState 475\n\n 76 ExprCaseClause: ExprSwitchCase ':' StatementList .\n\n $v\u00fdchoz\u00ed reduce using rule 76 (ExprCaseClause)\n\n\nState 476\n\n 302 TypeList: Type TypeList1 . [':']\n 304 TypeList1: TypeList1 . ',' Type\n\n ',' posunout a p\u0159ej\u00edt do stavu 479\n\n $v\u00fdchoz\u00ed reduce using rule 302 (TypeList)\n\n\nState 477\n\n 296 TypeCaseClause: TypeSwitchCase ':' StatementList .\n\n $v\u00fdchoz\u00ed reduce using rule 296 (TypeCaseClause)\n\n\nState 478\n\n 318 TypeSwitchGuard: TypeSwitchGuard1 PrimaryExpr '.' '(' TYPE ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 318 (TypeSwitchGuard)\n\n\nState 479\n\n 8 ArrayType: . '[' ArrayLength ']' ElementType\n 36 ChannelType: . ChannelType1 ElementType\n 37 ChannelType1: . CHAN\n 38 | . CHAN TOK5\n 39 | . TOK5 CHAN\n 119 FunctionType: . FUNC Signature\n 148 InterfaceType: . INTERFACE '{' InterfaceType1 '}'\n 171 MapType: . MAP '[' KeyType ']' ElementType\n 186 PackageName: . IDENTIFIER\n 200 PointerType: . '*' BaseType\n 210 QualifiedIdent: . PackageName '.' IDENTIFIER\n 258 SliceType: . '[' ']' ElementType\n 283 StructType: . STRUCT '{' StructType1 '}'\n 292 Type: . TypeName\n 293 | . TypeLit\n 294 | . '(' Type ')'\n 304 TypeList1: TypeList1 ',' . Type\n 305 TypeLit: . ArrayType\n 306 | . StructType\n 307 | . PointerType\n 308 | . FunctionType\n 309 | . InterfaceType\n 310 | . SliceType\n 311 | . MapType\n 312 | . ChannelType\n 313 TypeName: . IDENTIFIER\n 314 | . QualifiedIdent\n\n IDENTIFIER posunout a p\u0159ej\u00edt do stavu 57\n TOK5 posunout a p\u0159ej\u00edt do stavu 58\n CHAN posunout a p\u0159ej\u00edt do stavu 59\n FUNC posunout a p\u0159ej\u00edt do stavu 60\n INTERFACE posunout a p\u0159ej\u00edt do stavu 61\n MAP posunout a p\u0159ej\u00edt do stavu 62\n STRUCT posunout a p\u0159ej\u00edt do stavu 63\n '*' posunout a p\u0159ej\u00edt do stavu 64\n '[' posunout a p\u0159ej\u00edt do stavu 65\n '(' posunout a p\u0159ej\u00edt do stavu 66\n\n ArrayType p\u0159ej\u00edt do stavu 67\n ChannelType p\u0159ej\u00edt do stavu 68\n ChannelType1 p\u0159ej\u00edt do stavu 69\n FunctionType p\u0159ej\u00edt do stavu 72\n InterfaceType p\u0159ej\u00edt do stavu 73\n MapType p\u0159ej\u00edt do stavu 74\n PackageName p\u0159ej\u00edt do stavu 75\n PointerType p\u0159ej\u00edt do stavu 76\n QualifiedIdent p\u0159ej\u00edt do stavu 77\n SliceType p\u0159ej\u00edt do stavu 78\n StructType p\u0159ej\u00edt do stavu 79\n Type p\u0159ej\u00edt do stavu 480\n TypeLit p\u0159ej\u00edt do stavu 81\n TypeName p\u0159ej\u00edt do stavu 82\n\n\nState 480\n\n 304 TypeList1: TypeList1 ',' Type .\n\n $v\u00fdchoz\u00ed reduce using rule 304 (TypeList1)\n","avg_line_length":30.2226872811,"max_line_length":258,"alphanum_fraction":0.6144814975} -{"size":37164,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: program $end\n\n 1 program: declaration_list\n\n 2 declaration_list: declaration_list declaration\n 3 | declaration\n\n 4 declaration: var_declaration\n 5 | fun_declaration\n\n 6 var_declaration: type_specifier ID ';'\n 7 | type_specifier ID '[' NUM ']' ';'\n\n 8 type_specifier: INT\n 9 | VOID\n\n 10 fun_declaration: type_specifier ID '(' params ')' compound_stmt\n\n 11 params: param_list\n 12 | VOID\n\n 13 param_list: param_list ',' param\n 14 | param\n\n 15 param: type_specifier ID\n 16 | type_specifier ID '[' ']'\n\n 17 compound_stmt: '{' local_declarations statement_list '}'\n\n 18 local_declarations: local_declarations var_declaration\n 19 | %empty\n\n 20 statement_list: statement_list statement\n 21 | %empty\n\n 22 statement: expression_stmt\n 23 | compound_stmt\n 24 | selection_stmt\n 25 | iteration_stmt\n 26 | return_stmt\n\n 27 expression_stmt: expression ';'\n 28 | ';'\n\n 29 selection_stmt: IF '(' expression ')' statement\n 30 | IF '(' expression ')' statement ELSE statement\n\n 31 iteration_stmt: WHILE '(' expression ')' statement\n\n 32 return_stmt: RETURN ';'\n 33 | RETURN expression ';'\n\n 34 expression: var '=' expression\n 35 | simple_expression\n\n 36 var: ID\n 37 | ID '[' expression ']'\n\n 38 simple_expression: additive_expression relop additive_expression\n 39 | additive_expression\n\n 40 relop: LTE\n 41 | '<'\n 42 | '>'\n 43 | GTE\n 44 | EQUAL\n 45 | NOTEQUAL\n\n 46 additive_expression: additive_expression addop term\n 47 | term\n\n 48 addop: '+'\n 49 | '-'\n\n 50 term: term mulop factor\n 51 | factor\n\n 52 mulop: '*'\n 53 | '\/'\n\n 54 factor: '(' expression ')'\n 55 | var\n 56 | call\n 57 | NUM\n\n 58 call: ID '(' args ')'\n\n 59 args: arg_list\n 60 | %empty\n\n 61 arg_list: arg_list ',' expression\n 62 | expression\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'(' (40) 10 29 30 31 54 58\n')' (41) 10 29 30 31 54 58\n'*' (42) 52\n'+' (43) 48\n',' (44) 13 61\n'-' (45) 49\n'\/' (47) 53\n';' (59) 6 7 27 28 32 33\n'<' (60) 41\n'=' (61) 34\n'>' (62) 42\n'[' (91) 7 16 37\n']' (93) 7 16 37\n'{' (123) 17\n'}' (125) 17\nerror (256)\nELSE (258) 30\nIF (259) 29 30\nINT (260) 8\nRETURN (261) 32 33\nVOID (262) 9 12\nWHILE (263) 31\nID (264) 6 7 10 15 16 36 37 58\nNUM (265) 7 57\nLTE (266) 40\nGTE (267) 43\nEQUAL (268) 44\nNOTEQUAL (269) 45\nLOWER_THAN_ELSE (270)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (31)\n vlevo: 0\nprogram (32)\n vlevo: 1, vpravo: 0\ndeclaration_list (33)\n vlevo: 2 3, vpravo: 1 2\ndeclaration (34)\n vlevo: 4 5, vpravo: 2 3\nvar_declaration (35)\n vlevo: 6 7, vpravo: 4 18\ntype_specifier (36)\n vlevo: 8 9, vpravo: 6 7 10 15 16\nfun_declaration (37)\n vlevo: 10, vpravo: 5\nparams (38)\n vlevo: 11 12, vpravo: 10\nparam_list (39)\n vlevo: 13 14, vpravo: 11 13\nparam (40)\n vlevo: 15 16, vpravo: 13 14\ncompound_stmt (41)\n vlevo: 17, vpravo: 10 23\nlocal_declarations (42)\n vlevo: 18 19, vpravo: 17 18\nstatement_list (43)\n vlevo: 20 21, vpravo: 17 20\nstatement (44)\n vlevo: 22 23 24 25 26, vpravo: 20 29 30 31\nexpression_stmt (45)\n vlevo: 27 28, vpravo: 22\nselection_stmt (46)\n vlevo: 29 30, vpravo: 24\niteration_stmt (47)\n vlevo: 31, vpravo: 25\nreturn_stmt (48)\n vlevo: 32 33, vpravo: 26\nexpression (49)\n vlevo: 34 35, vpravo: 27 29 30 31 33 34 37 54 61 62\nvar (50)\n vlevo: 36 37, vpravo: 34 55\nsimple_expression (51)\n vlevo: 38 39, vpravo: 35\nrelop (52)\n vlevo: 40 41 42 43 44 45, vpravo: 38\nadditive_expression (53)\n vlevo: 46 47, vpravo: 38 39 46\naddop (54)\n vlevo: 48 49, vpravo: 46\nterm (55)\n vlevo: 50 51, vpravo: 46 47 50\nmulop (56)\n vlevo: 52 53, vpravo: 50\nfactor (57)\n vlevo: 54 55 56 57, vpravo: 50 51\ncall (58)\n vlevo: 58, vpravo: 56\nargs (59)\n vlevo: 59 60, vpravo: 58\narg_list (60)\n vlevo: 61 62, vpravo: 59 61\n\n\nState 0\n\n 0 $accept: . program $end\n 1 program: . declaration_list\n 2 declaration_list: . declaration_list declaration\n 3 | . declaration\n 4 declaration: . var_declaration\n 5 | . fun_declaration\n 6 var_declaration: . type_specifier ID ';'\n 7 | . type_specifier ID '[' NUM ']' ';'\n 8 type_specifier: . INT\n 9 | . VOID\n 10 fun_declaration: . type_specifier ID '(' params ')' compound_stmt\n\n INT posunout a p\u0159ej\u00edt do stavu 1\n VOID posunout a p\u0159ej\u00edt do stavu 2\n\n program p\u0159ej\u00edt do stavu 3\n declaration_list p\u0159ej\u00edt do stavu 4\n declaration p\u0159ej\u00edt do stavu 5\n var_declaration p\u0159ej\u00edt do stavu 6\n type_specifier p\u0159ej\u00edt do stavu 7\n fun_declaration p\u0159ej\u00edt do stavu 8\n\n\nState 1\n\n 8 type_specifier: INT .\n\n $v\u00fdchoz\u00ed reduce using rule 8 (type_specifier)\n\n\nState 2\n\n 9 type_specifier: VOID .\n\n $v\u00fdchoz\u00ed reduce using rule 9 (type_specifier)\n\n\nState 3\n\n 0 $accept: program . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 9\n\n\nState 4\n\n 1 program: declaration_list . [$end]\n 2 declaration_list: declaration_list . declaration\n 4 declaration: . var_declaration\n 5 | . fun_declaration\n 6 var_declaration: . type_specifier ID ';'\n 7 | . type_specifier ID '[' NUM ']' ';'\n 8 type_specifier: . INT\n 9 | . VOID\n 10 fun_declaration: . type_specifier ID '(' params ')' compound_stmt\n\n INT posunout a p\u0159ej\u00edt do stavu 1\n VOID posunout a p\u0159ej\u00edt do stavu 2\n\n $v\u00fdchoz\u00ed reduce using rule 1 (program)\n\n declaration p\u0159ej\u00edt do stavu 10\n var_declaration p\u0159ej\u00edt do stavu 6\n type_specifier p\u0159ej\u00edt do stavu 7\n fun_declaration p\u0159ej\u00edt do stavu 8\n\n\nState 5\n\n 3 declaration_list: declaration .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (declaration_list)\n\n\nState 6\n\n 4 declaration: var_declaration .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (declaration)\n\n\nState 7\n\n 6 var_declaration: type_specifier . ID ';'\n 7 | type_specifier . ID '[' NUM ']' ';'\n 10 fun_declaration: type_specifier . ID '(' params ')' compound_stmt\n\n ID posunout a p\u0159ej\u00edt do stavu 11\n\n\nState 8\n\n 5 declaration: fun_declaration .\n\n $v\u00fdchoz\u00ed reduce using rule 5 (declaration)\n\n\nState 9\n\n 0 $accept: program $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 10\n\n 2 declaration_list: declaration_list declaration .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (declaration_list)\n\n\nState 11\n\n 6 var_declaration: type_specifier ID . ';'\n 7 | type_specifier ID . '[' NUM ']' ';'\n 10 fun_declaration: type_specifier ID . '(' params ')' compound_stmt\n\n ';' posunout a p\u0159ej\u00edt do stavu 12\n '[' posunout a p\u0159ej\u00edt do stavu 13\n '(' posunout a p\u0159ej\u00edt do stavu 14\n\n\nState 12\n\n 6 var_declaration: type_specifier ID ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 6 (var_declaration)\n\n\nState 13\n\n 7 var_declaration: type_specifier ID '[' . NUM ']' ';'\n\n NUM posunout a p\u0159ej\u00edt do stavu 15\n\n\nState 14\n\n 8 type_specifier: . INT\n 9 | . VOID\n 10 fun_declaration: type_specifier ID '(' . params ')' compound_stmt\n 11 params: . param_list\n 12 | . VOID\n 13 param_list: . param_list ',' param\n 14 | . param\n 15 param: . type_specifier ID\n 16 | . type_specifier ID '[' ']'\n\n INT posunout a p\u0159ej\u00edt do stavu 1\n VOID posunout a p\u0159ej\u00edt do stavu 16\n\n type_specifier p\u0159ej\u00edt do stavu 17\n params p\u0159ej\u00edt do stavu 18\n param_list p\u0159ej\u00edt do stavu 19\n param p\u0159ej\u00edt do stavu 20\n\n\nState 15\n\n 7 var_declaration: type_specifier ID '[' NUM . ']' ';'\n\n ']' posunout a p\u0159ej\u00edt do stavu 21\n\n\nState 16\n\n 9 type_specifier: VOID . [ID]\n 12 params: VOID . [')']\n\n ')' reduce using rule 12 (params)\n $v\u00fdchoz\u00ed reduce using rule 9 (type_specifier)\n\n\nState 17\n\n 15 param: type_specifier . ID\n 16 | type_specifier . ID '[' ']'\n\n ID posunout a p\u0159ej\u00edt do stavu 22\n\n\nState 18\n\n 10 fun_declaration: type_specifier ID '(' params . ')' compound_stmt\n\n ')' posunout a p\u0159ej\u00edt do stavu 23\n\n\nState 19\n\n 11 params: param_list . [')']\n 13 param_list: param_list . ',' param\n\n ',' posunout a p\u0159ej\u00edt do stavu 24\n\n $v\u00fdchoz\u00ed reduce using rule 11 (params)\n\n\nState 20\n\n 14 param_list: param .\n\n $v\u00fdchoz\u00ed reduce using rule 14 (param_list)\n\n\nState 21\n\n 7 var_declaration: type_specifier ID '[' NUM ']' . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 25\n\n\nState 22\n\n 15 param: type_specifier ID . [')', ',']\n 16 | type_specifier ID . '[' ']'\n\n '[' posunout a p\u0159ej\u00edt do stavu 26\n\n $v\u00fdchoz\u00ed reduce using rule 15 (param)\n\n\nState 23\n\n 10 fun_declaration: type_specifier ID '(' params ')' . compound_stmt\n 17 compound_stmt: . '{' local_declarations statement_list '}'\n\n '{' posunout a p\u0159ej\u00edt do stavu 27\n\n compound_stmt p\u0159ej\u00edt do stavu 28\n\n\nState 24\n\n 8 type_specifier: . INT\n 9 | . VOID\n 13 param_list: param_list ',' . param\n 15 param: . type_specifier ID\n 16 | . type_specifier ID '[' ']'\n\n INT posunout a p\u0159ej\u00edt do stavu 1\n VOID posunout a p\u0159ej\u00edt do stavu 2\n\n type_specifier p\u0159ej\u00edt do stavu 17\n param p\u0159ej\u00edt do stavu 29\n\n\nState 25\n\n 7 var_declaration: type_specifier ID '[' NUM ']' ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 7 (var_declaration)\n\n\nState 26\n\n 16 param: type_specifier ID '[' . ']'\n\n ']' posunout a p\u0159ej\u00edt do stavu 30\n\n\nState 27\n\n 17 compound_stmt: '{' . local_declarations statement_list '}'\n 18 local_declarations: . local_declarations var_declaration\n 19 | . %empty\n\n $v\u00fdchoz\u00ed reduce using rule 19 (local_declarations)\n\n local_declarations p\u0159ej\u00edt do stavu 31\n\n\nState 28\n\n 10 fun_declaration: type_specifier ID '(' params ')' compound_stmt .\n\n $v\u00fdchoz\u00ed reduce using rule 10 (fun_declaration)\n\n\nState 29\n\n 13 param_list: param_list ',' param .\n\n $v\u00fdchoz\u00ed reduce using rule 13 (param_list)\n\n\nState 30\n\n 16 param: type_specifier ID '[' ']' .\n\n $v\u00fdchoz\u00ed reduce using rule 16 (param)\n\n\nState 31\n\n 6 var_declaration: . type_specifier ID ';'\n 7 | . type_specifier ID '[' NUM ']' ';'\n 8 type_specifier: . INT\n 9 | . VOID\n 17 compound_stmt: '{' local_declarations . statement_list '}'\n 18 local_declarations: local_declarations . var_declaration\n 20 statement_list: . statement_list statement\n 21 | . %empty [IF, RETURN, WHILE, ID, NUM, ';', '(', '{', '}']\n\n INT posunout a p\u0159ej\u00edt do stavu 1\n VOID posunout a p\u0159ej\u00edt do stavu 2\n\n $v\u00fdchoz\u00ed reduce using rule 21 (statement_list)\n\n var_declaration p\u0159ej\u00edt do stavu 32\n type_specifier p\u0159ej\u00edt do stavu 33\n statement_list p\u0159ej\u00edt do stavu 34\n\n\nState 32\n\n 18 local_declarations: local_declarations var_declaration .\n\n $v\u00fdchoz\u00ed reduce using rule 18 (local_declarations)\n\n\nState 33\n\n 6 var_declaration: type_specifier . ID ';'\n 7 | type_specifier . ID '[' NUM ']' ';'\n\n ID posunout a p\u0159ej\u00edt do stavu 35\n\n\nState 34\n\n 17 compound_stmt: . '{' local_declarations statement_list '}'\n 17 | '{' local_declarations statement_list . '}'\n 20 statement_list: statement_list . statement\n 22 statement: . expression_stmt\n 23 | . compound_stmt\n 24 | . selection_stmt\n 25 | . iteration_stmt\n 26 | . return_stmt\n 27 expression_stmt: . expression ';'\n 28 | . ';'\n 29 selection_stmt: . IF '(' expression ')' statement\n 30 | . IF '(' expression ')' statement ELSE statement\n 31 iteration_stmt: . WHILE '(' expression ')' statement\n 32 return_stmt: . RETURN ';'\n 33 | . RETURN expression ';'\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n IF posunout a p\u0159ej\u00edt do stavu 36\n RETURN posunout a p\u0159ej\u00edt do stavu 37\n WHILE posunout a p\u0159ej\u00edt do stavu 38\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n ';' posunout a p\u0159ej\u00edt do stavu 41\n '(' posunout a p\u0159ej\u00edt do stavu 42\n '{' posunout a p\u0159ej\u00edt do stavu 27\n '}' posunout a p\u0159ej\u00edt do stavu 43\n\n compound_stmt p\u0159ej\u00edt do stavu 44\n statement p\u0159ej\u00edt do stavu 45\n expression_stmt p\u0159ej\u00edt do stavu 46\n selection_stmt p\u0159ej\u00edt do stavu 47\n iteration_stmt p\u0159ej\u00edt do stavu 48\n return_stmt p\u0159ej\u00edt do stavu 49\n expression p\u0159ej\u00edt do stavu 50\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 35\n\n 6 var_declaration: type_specifier ID . ';'\n 7 | type_specifier ID . '[' NUM ']' ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 12\n '[' posunout a p\u0159ej\u00edt do stavu 13\n\n\nState 36\n\n 29 selection_stmt: IF . '(' expression ')' statement\n 30 | IF . '(' expression ')' statement ELSE statement\n\n '(' posunout a p\u0159ej\u00edt do stavu 57\n\n\nState 37\n\n 32 return_stmt: RETURN . ';'\n 33 | RETURN . expression ';'\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n ';' posunout a p\u0159ej\u00edt do stavu 58\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n expression p\u0159ej\u00edt do stavu 59\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 38\n\n 31 iteration_stmt: WHILE . '(' expression ')' statement\n\n '(' posunout a p\u0159ej\u00edt do stavu 60\n\n\nState 39\n\n 36 var: ID . [LTE, GTE, EQUAL, NOTEQUAL, ';', ']', ')', ',', '=', '<', '>', '+', '-', '*', '\/']\n 37 | ID . '[' expression ']'\n 58 call: ID . '(' args ')'\n\n '[' posunout a p\u0159ej\u00edt do stavu 61\n '(' posunout a p\u0159ej\u00edt do stavu 62\n\n $v\u00fdchoz\u00ed reduce using rule 36 (var)\n\n\nState 40\n\n 57 factor: NUM .\n\n $v\u00fdchoz\u00ed reduce using rule 57 (factor)\n\n\nState 41\n\n 28 expression_stmt: ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 28 (expression_stmt)\n\n\nState 42\n\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 54 | '(' . expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n expression p\u0159ej\u00edt do stavu 63\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 43\n\n 17 compound_stmt: '{' local_declarations statement_list '}' .\n\n $v\u00fdchoz\u00ed reduce using rule 17 (compound_stmt)\n\n\nState 44\n\n 23 statement: compound_stmt .\n\n $v\u00fdchoz\u00ed reduce using rule 23 (statement)\n\n\nState 45\n\n 20 statement_list: statement_list statement .\n\n $v\u00fdchoz\u00ed reduce using rule 20 (statement_list)\n\n\nState 46\n\n 22 statement: expression_stmt .\n\n $v\u00fdchoz\u00ed reduce using rule 22 (statement)\n\n\nState 47\n\n 24 statement: selection_stmt .\n\n $v\u00fdchoz\u00ed reduce using rule 24 (statement)\n\n\nState 48\n\n 25 statement: iteration_stmt .\n\n $v\u00fdchoz\u00ed reduce using rule 25 (statement)\n\n\nState 49\n\n 26 statement: return_stmt .\n\n $v\u00fdchoz\u00ed reduce using rule 26 (statement)\n\n\nState 50\n\n 27 expression_stmt: expression . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 64\n\n\nState 51\n\n 34 expression: var . '=' expression\n 55 factor: var . [LTE, GTE, EQUAL, NOTEQUAL, ';', ']', ')', ',', '<', '>', '+', '-', '*', '\/']\n\n '=' posunout a p\u0159ej\u00edt do stavu 65\n\n $v\u00fdchoz\u00ed reduce using rule 55 (factor)\n\n\nState 52\n\n 35 expression: simple_expression .\n\n $v\u00fdchoz\u00ed reduce using rule 35 (expression)\n\n\nState 53\n\n 38 simple_expression: additive_expression . relop additive_expression\n 39 | additive_expression . [';', ']', ')', ',']\n 40 relop: . LTE\n 41 | . '<'\n 42 | . '>'\n 43 | . GTE\n 44 | . EQUAL\n 45 | . NOTEQUAL\n 46 additive_expression: additive_expression . addop term\n 48 addop: . '+'\n 49 | . '-'\n\n LTE posunout a p\u0159ej\u00edt do stavu 66\n GTE posunout a p\u0159ej\u00edt do stavu 67\n EQUAL posunout a p\u0159ej\u00edt do stavu 68\n NOTEQUAL posunout a p\u0159ej\u00edt do stavu 69\n '<' posunout a p\u0159ej\u00edt do stavu 70\n '>' posunout a p\u0159ej\u00edt do stavu 71\n '+' posunout a p\u0159ej\u00edt do stavu 72\n '-' posunout a p\u0159ej\u00edt do stavu 73\n\n $v\u00fdchoz\u00ed reduce using rule 39 (simple_expression)\n\n relop p\u0159ej\u00edt do stavu 74\n addop p\u0159ej\u00edt do stavu 75\n\n\nState 54\n\n 47 additive_expression: term . [LTE, GTE, EQUAL, NOTEQUAL, ';', ']', ')', ',', '<', '>', '+', '-']\n 50 term: term . mulop factor\n 52 mulop: . '*'\n 53 | . '\/'\n\n '*' posunout a p\u0159ej\u00edt do stavu 76\n '\/' posunout a p\u0159ej\u00edt do stavu 77\n\n $v\u00fdchoz\u00ed reduce using rule 47 (additive_expression)\n\n mulop p\u0159ej\u00edt do stavu 78\n\n\nState 55\n\n 51 term: factor .\n\n $v\u00fdchoz\u00ed reduce using rule 51 (term)\n\n\nState 56\n\n 56 factor: call .\n\n $v\u00fdchoz\u00ed reduce using rule 56 (factor)\n\n\nState 57\n\n 29 selection_stmt: IF '(' . expression ')' statement\n 30 | IF '(' . expression ')' statement ELSE statement\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n expression p\u0159ej\u00edt do stavu 79\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 58\n\n 32 return_stmt: RETURN ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 32 (return_stmt)\n\n\nState 59\n\n 33 return_stmt: RETURN expression . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 80\n\n\nState 60\n\n 31 iteration_stmt: WHILE '(' . expression ')' statement\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n expression p\u0159ej\u00edt do stavu 81\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 61\n\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 37 | ID '[' . expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n expression p\u0159ej\u00edt do stavu 82\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 62\n\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n 58 | ID '(' . args ')'\n 59 args: . arg_list\n 60 | . %empty [')']\n 61 arg_list: . arg_list ',' expression\n 62 | . expression\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n $v\u00fdchoz\u00ed reduce using rule 60 (args)\n\n expression p\u0159ej\u00edt do stavu 83\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n args p\u0159ej\u00edt do stavu 84\n arg_list p\u0159ej\u00edt do stavu 85\n\n\nState 63\n\n 54 factor: '(' expression . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 86\n\n\nState 64\n\n 27 expression_stmt: expression ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 27 (expression_stmt)\n\n\nState 65\n\n 34 expression: . var '=' expression\n 34 | var '=' . expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n expression p\u0159ej\u00edt do stavu 87\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 66\n\n 40 relop: LTE .\n\n $v\u00fdchoz\u00ed reduce using rule 40 (relop)\n\n\nState 67\n\n 43 relop: GTE .\n\n $v\u00fdchoz\u00ed reduce using rule 43 (relop)\n\n\nState 68\n\n 44 relop: EQUAL .\n\n $v\u00fdchoz\u00ed reduce using rule 44 (relop)\n\n\nState 69\n\n 45 relop: NOTEQUAL .\n\n $v\u00fdchoz\u00ed reduce using rule 45 (relop)\n\n\nState 70\n\n 41 relop: '<' .\n\n $v\u00fdchoz\u00ed reduce using rule 41 (relop)\n\n\nState 71\n\n 42 relop: '>' .\n\n $v\u00fdchoz\u00ed reduce using rule 42 (relop)\n\n\nState 72\n\n 48 addop: '+' .\n\n $v\u00fdchoz\u00ed reduce using rule 48 (addop)\n\n\nState 73\n\n 49 addop: '-' .\n\n $v\u00fdchoz\u00ed reduce using rule 49 (addop)\n\n\nState 74\n\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: additive_expression relop . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n var p\u0159ej\u00edt do stavu 88\n additive_expression p\u0159ej\u00edt do stavu 89\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 75\n\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 46 additive_expression: additive_expression addop . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n var p\u0159ej\u00edt do stavu 88\n term p\u0159ej\u00edt do stavu 90\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 76\n\n 52 mulop: '*' .\n\n $v\u00fdchoz\u00ed reduce using rule 52 (mulop)\n\n\nState 77\n\n 53 mulop: '\/' .\n\n $v\u00fdchoz\u00ed reduce using rule 53 (mulop)\n\n\nState 78\n\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 50 term: term mulop . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n var p\u0159ej\u00edt do stavu 88\n factor p\u0159ej\u00edt do stavu 91\n call p\u0159ej\u00edt do stavu 56\n\n\nState 79\n\n 29 selection_stmt: IF '(' expression . ')' statement\n 30 | IF '(' expression . ')' statement ELSE statement\n\n ')' posunout a p\u0159ej\u00edt do stavu 92\n\n\nState 80\n\n 33 return_stmt: RETURN expression ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 33 (return_stmt)\n\n\nState 81\n\n 31 iteration_stmt: WHILE '(' expression . ')' statement\n\n ')' posunout a p\u0159ej\u00edt do stavu 93\n\n\nState 82\n\n 37 var: ID '[' expression . ']'\n\n ']' posunout a p\u0159ej\u00edt do stavu 94\n\n\nState 83\n\n 62 arg_list: expression .\n\n $v\u00fdchoz\u00ed reduce using rule 62 (arg_list)\n\n\nState 84\n\n 58 call: ID '(' args . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 95\n\n\nState 85\n\n 59 args: arg_list . [')']\n 61 arg_list: arg_list . ',' expression\n\n ',' posunout a p\u0159ej\u00edt do stavu 96\n\n $v\u00fdchoz\u00ed reduce using rule 59 (args)\n\n\nState 86\n\n 54 factor: '(' expression ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 54 (factor)\n\n\nState 87\n\n 34 expression: var '=' expression .\n\n $v\u00fdchoz\u00ed reduce using rule 34 (expression)\n\n\nState 88\n\n 55 factor: var .\n\n $v\u00fdchoz\u00ed reduce using rule 55 (factor)\n\n\nState 89\n\n 38 simple_expression: additive_expression relop additive_expression . [';', ']', ')', ',']\n 46 additive_expression: additive_expression . addop term\n 48 addop: . '+'\n 49 | . '-'\n\n '+' posunout a p\u0159ej\u00edt do stavu 72\n '-' posunout a p\u0159ej\u00edt do stavu 73\n\n $v\u00fdchoz\u00ed reduce using rule 38 (simple_expression)\n\n addop p\u0159ej\u00edt do stavu 75\n\n\nState 90\n\n 46 additive_expression: additive_expression addop term . [LTE, GTE, EQUAL, NOTEQUAL, ';', ']', ')', ',', '<', '>', '+', '-']\n 50 term: term . mulop factor\n 52 mulop: . '*'\n 53 | . '\/'\n\n '*' posunout a p\u0159ej\u00edt do stavu 76\n '\/' posunout a p\u0159ej\u00edt do stavu 77\n\n $v\u00fdchoz\u00ed reduce using rule 46 (additive_expression)\n\n mulop p\u0159ej\u00edt do stavu 78\n\n\nState 91\n\n 50 term: term mulop factor .\n\n $v\u00fdchoz\u00ed reduce using rule 50 (term)\n\n\nState 92\n\n 17 compound_stmt: . '{' local_declarations statement_list '}'\n 22 statement: . expression_stmt\n 23 | . compound_stmt\n 24 | . selection_stmt\n 25 | . iteration_stmt\n 26 | . return_stmt\n 27 expression_stmt: . expression ';'\n 28 | . ';'\n 29 selection_stmt: . IF '(' expression ')' statement\n 29 | IF '(' expression ')' . statement\n 30 | . IF '(' expression ')' statement ELSE statement\n 30 | IF '(' expression ')' . statement ELSE statement\n 31 iteration_stmt: . WHILE '(' expression ')' statement\n 32 return_stmt: . RETURN ';'\n 33 | . RETURN expression ';'\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n IF posunout a p\u0159ej\u00edt do stavu 36\n RETURN posunout a p\u0159ej\u00edt do stavu 37\n WHILE posunout a p\u0159ej\u00edt do stavu 38\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n ';' posunout a p\u0159ej\u00edt do stavu 41\n '(' posunout a p\u0159ej\u00edt do stavu 42\n '{' posunout a p\u0159ej\u00edt do stavu 27\n\n compound_stmt p\u0159ej\u00edt do stavu 44\n statement p\u0159ej\u00edt do stavu 97\n expression_stmt p\u0159ej\u00edt do stavu 46\n selection_stmt p\u0159ej\u00edt do stavu 47\n iteration_stmt p\u0159ej\u00edt do stavu 48\n return_stmt p\u0159ej\u00edt do stavu 49\n expression p\u0159ej\u00edt do stavu 50\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 93\n\n 17 compound_stmt: . '{' local_declarations statement_list '}'\n 22 statement: . expression_stmt\n 23 | . compound_stmt\n 24 | . selection_stmt\n 25 | . iteration_stmt\n 26 | . return_stmt\n 27 expression_stmt: . expression ';'\n 28 | . ';'\n 29 selection_stmt: . IF '(' expression ')' statement\n 30 | . IF '(' expression ')' statement ELSE statement\n 31 iteration_stmt: . WHILE '(' expression ')' statement\n 31 | WHILE '(' expression ')' . statement\n 32 return_stmt: . RETURN ';'\n 33 | . RETURN expression ';'\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n IF posunout a p\u0159ej\u00edt do stavu 36\n RETURN posunout a p\u0159ej\u00edt do stavu 37\n WHILE posunout a p\u0159ej\u00edt do stavu 38\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n ';' posunout a p\u0159ej\u00edt do stavu 41\n '(' posunout a p\u0159ej\u00edt do stavu 42\n '{' posunout a p\u0159ej\u00edt do stavu 27\n\n compound_stmt p\u0159ej\u00edt do stavu 44\n statement p\u0159ej\u00edt do stavu 98\n expression_stmt p\u0159ej\u00edt do stavu 46\n selection_stmt p\u0159ej\u00edt do stavu 47\n iteration_stmt p\u0159ej\u00edt do stavu 48\n return_stmt p\u0159ej\u00edt do stavu 49\n expression p\u0159ej\u00edt do stavu 50\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 94\n\n 37 var: ID '[' expression ']' .\n\n $v\u00fdchoz\u00ed reduce using rule 37 (var)\n\n\nState 95\n\n 58 call: ID '(' args ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 58 (call)\n\n\nState 96\n\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n 61 arg_list: arg_list ',' . expression\n\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n '(' posunout a p\u0159ej\u00edt do stavu 42\n\n expression p\u0159ej\u00edt do stavu 99\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 97\n\n 29 selection_stmt: IF '(' expression ')' statement . [IF, RETURN, WHILE, ID, NUM, ';', '(', '{', '}']\n 30 | IF '(' expression ')' statement . ELSE statement\n\n ELSE posunout a p\u0159ej\u00edt do stavu 100\n\n $v\u00fdchoz\u00ed reduce using rule 29 (selection_stmt)\n\n Conflict between rule 29 and token ELSE resolved as shift (LOWER_THAN_ELSE < ELSE).\n\n\nState 98\n\n 31 iteration_stmt: WHILE '(' expression ')' statement .\n\n $v\u00fdchoz\u00ed reduce using rule 31 (iteration_stmt)\n\n\nState 99\n\n 61 arg_list: arg_list ',' expression .\n\n $v\u00fdchoz\u00ed reduce using rule 61 (arg_list)\n\n\nState 100\n\n 17 compound_stmt: . '{' local_declarations statement_list '}'\n 22 statement: . expression_stmt\n 23 | . compound_stmt\n 24 | . selection_stmt\n 25 | . iteration_stmt\n 26 | . return_stmt\n 27 expression_stmt: . expression ';'\n 28 | . ';'\n 29 selection_stmt: . IF '(' expression ')' statement\n 30 | . IF '(' expression ')' statement ELSE statement\n 30 | IF '(' expression ')' statement ELSE . statement\n 31 iteration_stmt: . WHILE '(' expression ')' statement\n 32 return_stmt: . RETURN ';'\n 33 | . RETURN expression ';'\n 34 expression: . var '=' expression\n 35 | . simple_expression\n 36 var: . ID\n 37 | . ID '[' expression ']'\n 38 simple_expression: . additive_expression relop additive_expression\n 39 | . additive_expression\n 46 additive_expression: . additive_expression addop term\n 47 | . term\n 50 term: . term mulop factor\n 51 | . factor\n 54 factor: . '(' expression ')'\n 55 | . var\n 56 | . call\n 57 | . NUM\n 58 call: . ID '(' args ')'\n\n IF posunout a p\u0159ej\u00edt do stavu 36\n RETURN posunout a p\u0159ej\u00edt do stavu 37\n WHILE posunout a p\u0159ej\u00edt do stavu 38\n ID posunout a p\u0159ej\u00edt do stavu 39\n NUM posunout a p\u0159ej\u00edt do stavu 40\n ';' posunout a p\u0159ej\u00edt do stavu 41\n '(' posunout a p\u0159ej\u00edt do stavu 42\n '{' posunout a p\u0159ej\u00edt do stavu 27\n\n compound_stmt p\u0159ej\u00edt do stavu 44\n statement p\u0159ej\u00edt do stavu 101\n expression_stmt p\u0159ej\u00edt do stavu 46\n selection_stmt p\u0159ej\u00edt do stavu 47\n iteration_stmt p\u0159ej\u00edt do stavu 48\n return_stmt p\u0159ej\u00edt do stavu 49\n expression p\u0159ej\u00edt do stavu 50\n var p\u0159ej\u00edt do stavu 51\n simple_expression p\u0159ej\u00edt do stavu 52\n additive_expression p\u0159ej\u00edt do stavu 53\n term p\u0159ej\u00edt do stavu 54\n factor p\u0159ej\u00edt do stavu 55\n call p\u0159ej\u00edt do stavu 56\n\n\nState 101\n\n 30 selection_stmt: IF '(' expression ')' statement ELSE statement .\n\n $v\u00fdchoz\u00ed reduce using rule 30 (selection_stmt)\n","avg_line_length":24.3858267717,"max_line_length":128,"alphanum_fraction":0.5828220859} -{"size":272,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"bad-ref-01.hac\":6:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(member-expr) [4:1..7]\n#STATE#\t. [4:8]\n#STATE#\t$end\nin state #STATE#, possible rules are:\n\tmember_expr: member_expr '.' . ID (#RULE#)\nacceptable tokens are: \n\tID (shift)\n","avg_line_length":20.9230769231,"max_line_length":44,"alphanum_fraction":0.6654411765} -{"size":21924,"ext":"bison","lang":"Bison","max_stars_count":3.0,"content":"\n%{\n\n#include \n#include \"Node.hh\"\n#include \"Name.hh\"\n\nextern int yylex();\nextern int yyparse();\nextern int yyerror(const char *);\nextern FILE * out;\n\n%}\n\n%token EOFILE ERROR\n%token IDENTIFIER CONSTANT STRING_LITERAL SIZEOF ASM\n%token PTR_OP INC_OP DEC_OP LEFT_OP RIGHT_OP LE_OP GE_OP EQ_OP NE_OP\n%token AND_OP OR_OP MUL_ASSIGN DIV_ASSIGN MOD_ASSIGN ADD_ASSIGN\n%token SUB_ASSIGN LEFT_ASSIGN RIGHT_ASSIGN AND_ASSIGN\n%token XOR_ASSIGN OR_ASSIGN TYPE_NAME\n\n%token TYPEDEF EXTERN STATIC AUTO REGISTER\n%token CHAR SHORT INT LONG SIGNED UNSIGNED FLOAT DOUBLE CONST VOLATILE VOID\n%token STRUCT UNION ENUM ELLIPSIS\n\n%token CASE DEFAULT IF ELSE SWITCH WHILE DO FOR GOTO CONTINUE BREAK RETURN\n\n%expect 1\n\n%start all\n\n%union\t{\tNumericConstant\t\t\t* _num;\n\t\tconst char\t\t\t*_name;\n\t\tStringConstant\t\t\t*_string_constant;\n\t\tBinExprType\t\t\t _bin_expr_type;\n\t\tUnaExprType\t\t\t _una_expr_type;\n\t\tSpecifier\t\t\t _specifier;\n\t\tExpression\t\t\t*_expr;\n\t\tPointer\t\t\t\t*_pointer;\n\t\tIdentifierList\t\t\t*_identifier_list;\n\t\tInitializer\t\t\t*_initializer;\n\t\tInitializerList\t\t\t*_initializer_list;\n\t\tParameterDeclaration \t\t*_parameter_declaration;\n\t\tParameterDeclarationList\t*_parameter_declaration_list;\n\t\tDeclarator\t\t\t*_declarator;\n\t\tEnumerator\t\t\t*_enumerator;\n\t\tEnumeratorList\t\t\t*_enumerator_list;\n\t\tStructDeclarator\t\t*_struct_declarator;\n\t\tStructDeclaratorList\t\t*_struct_declarator_list;\n\t\tStructDeclaration\t\t*_struct_declaration;\n\t\tStructDeclarationList\t\t*_struct_declaration_list;\n\t\tTypeSpecifier\t\t\t*_type_specifier;\n\t\tInitDeclarator\t\t\t*_init_declarator;\n\t\tInitDeclaratorList\t\t*_init_declarator_list;\n\t\tDeclaration\t\t\t*_declaration;\n\t\tDeclarationList\t\t\t*_declaration_list;\n\t\tTypeName\t\t\t*_type_name;\n\t\tStatement\t\t\t*_statement;\n\t\tExpressionStatement\t\t*_expression_statement;\n\t\tCompoundStatement\t\t*_compound_statement;\n\t\tStatementList\t\t\t*_statement_list;\n\t\tFunctionDefinition\t\t*_function_definition;\n\t}\n\n%type\t<_function_definition>\t\tfunction_definition\n\t\t\t\t\tfunction_head\n%type\t<_statement_list>\t\tstatement_list\n%type\t<_statement>\t\t\tstatement\n\t\t\t\t\tlabeled_statement\n\t\t\t\t\tselection_statement\n\t\t\t\t\titeration_statement\n\t\t\t\t\tjump_statement\n%type\t<_expression_statement>\t\texpression_statement\n%type\t<_compound_statement>\t\tcompound_statement\n%type\t<_type_name>\t\t\ttype_name\n%type\t<_declaration_list>\t\tdeclaration_list\n%type\t<_declaration>\t\t\tdeclaration\n%type\t<_init_declarator>\t\tinit_declarator\n%type\t<_init_declarator_list>\t\tinit_declarator_list\n%type\t<_type_specifier>\t\tstruct_or_union_specifier\n\t\t\t\t\ttype_specifier\n\t\t\t\t\tenum_specifier\n\t\t\t\t\tdeclaration_specifiers\n\t\t\t\t\ttype_qualifier_list\n\t\t\t\t\tspecifier_qualifier_list\n\t\t\t\t\ttype_qualifier\n%type\t<_struct_declaration_list>\tstruct_declaration_list\n%type\t<_struct_declaration>\t\tstruct_declaration\n%type\t<_struct_declarator_list>\tstruct_declarator_list\n%type\t<_struct_declarator>\t\tstruct_declarator\n%type\t<_enumerator>\t\t\tenumerator\n%type\t<_enumerator_list>\t\tenumerator_list\n%type\t<_declarator>\t\t\tdeclarator\n\t\t\t\t\tdirect_declarator\n\t\t\t\t\tabstract_declarator\n\t\t\t\t\tdirect_abstract_declarator\n%type\t<_parameter_declaration>\tparameter_declaration\n%type\t<_parameter_declaration_list>\tparameter_list\n%type\t<_initializer>\t\t\tinitializer\n%type\t<_initializer_list>\t\tinitializer_list\n%type\t<_identifier_list>\t\tidentifier_list\n%type\t<_pointer>\t\t\tpointer\n%type\t<_specifier>\t\t\tstruct_or_union\n%type\t<_una_expr_type>\t\tunary_operator\n%type\t<_bin_expr_type>\t\tassignment_operator\n%type\t<_name>\t\t\t\tIDENTIFIER TYPE_NAME\n%type\t<_string_constant>\t\tSTRING_LITERAL\n\t\t\t\t\tstring_sequence\n%type\t<_num>\t\t\t\tCONSTANT\n%type\t<_expr>\t\t\t\texpression\n\t\t\t\t\tprimary_expression\n\t\t\t\t\tpostfix_expression\n\t\t\t\t\targument_expression_list\n\t\t\t\t\tunary_expression\n\t\t\t\t\tcast_expression\n\t\t\t\t\tmultiplicative_expression\n\t\t\t\t\tadditive_expression\n\t\t\t\t\tshift_expression\n\t\t\t\t\trelational_expression\n\t\t\t\t\tequality_expression\n\t\t\t\t\tand_expression\n\t\t\t\t\texclusive_or_expression\n\t\t\t\t\tinclusive_or_expression\n\t\t\t\t\tlogical_and_expression\n\t\t\t\t\tlogical_or_expression\n\t\t\t\t\tconditional_expression\n\t\t\t\t\tassignment_expression\n\t\t\t\t\tconstant_expression\n\n%%\n\nall\t: translation_unit EOFILE\n\t{ StringConstant::EmitAll(out); return 0; }\n\t;\n\nprimary_expression\n : IDENTIFIER\t\t{ $$ = IdentifierExpression::New($1);\t}\n | CONSTANT\t\t{ $$ = new NumericExpression($1);\t}\n | string_sequence\t{ $$ = new StringExpression($1);\t}\n | '(' expression ')'\t{ $$ = $2;\t\t\t\t}\n\t| ASM '(' string_sequence ')'\t{ $$ = new AsmExpression($3);\t}\n\t;\n\nstring_sequence\n\t: STRING_LITERAL\t\t\t{ $$ = $1;\t\t}\n\t| string_sequence STRING_LITERAL\t{ $$ = *$1 & $2;\t}\n\t;\n\npostfix_expression\n : primary_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | postfix_expression '[' expression ']'\n\t\t{ $$ = BinaryExpression::New(ET_ELEMENT, $1, $3);\t}\n | postfix_expression '(' ')'\n\t\t{ $$ = BinaryExpression::New(ET_FUNCALL, $1, 0);\t}\n | postfix_expression '(' argument_expression_list ')'\n\t\t{ $$ = BinaryExpression::New(ET_FUNCALL, $1, $3);\t}\n | postfix_expression '.' IDENTIFIER\n\t\t{ $$ = new MemberExpression(false, $1, $3);\t\t}\n | postfix_expression PTR_OP IDENTIFIER\n\t\t{ $$ = new MemberExpression(true, $1, $3);\t\t}\n | postfix_expression INC_OP\n\t\t{ $$ = UnaryExpression::New(ET_POSTINC, $1);\t\t}\n | postfix_expression DEC_OP\n\t\t{ $$ = UnaryExpression::New(ET_POSTDEC, $1);\t\t}\n ;\n\nargument_expression_list\n : assignment_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | argument_expression_list ',' assignment_expression\n\t\t{ $$ = new ArgListExpression($1, $3);\t\t\t}\n ;\n\nunary_expression\n : postfix_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | INC_OP unary_expression\n\t\t{ $$ = UnaryExpression::New(ET_PREINC, $2);\t\t}\n | DEC_OP unary_expression\n\t\t{ $$ = UnaryExpression::New(ET_PREDEC, $2);\t\t}\n | unary_operator cast_expression\n\t\t{ $$ = UnaryExpression::New($1, $2);\t\t\t}\n | SIZEOF unary_expression\n\t\t{ $$ = new NumericExpression($2);\t\t\t}\n | SIZEOF '(' type_name ')'\n\t\t{ $$ = new NumericExpression($3);\t\t\t}\n ;\n\nunary_operator\n : '&'\t\t\t\t\t{ $$ = ET_ADDRESS;\t}\n | '*'\t\t\t\t\t{ $$ = ET_CONTENT;\t}\n | '+'\t\t\t\t\t{ $$ = ET_CONJUGATE;\t}\n | '-'\t\t\t\t\t{ $$ = ET_NEGATE;\t}\n | '~'\t\t\t\t\t{ $$ = ET_COMPLEMENT;\t}\n | '!'\t\t\t\t\t{ $$ = ET_LOG_NOT;\t}\n ;\n\ncast_expression\n : unary_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | '(' type_name ')' cast_expression\n\t\t{ $$ = new UnaryExpression($2, $4);\t\t\t}\n ;\n\nmultiplicative_expression\n : cast_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | multiplicative_expression '*' cast_expression\n\t\t{ $$ = BinaryExpression::New(ET_MULT, $1, $3);\t\t}\n | multiplicative_expression '\/' cast_expression\n\t\t{ $$ = BinaryExpression::New(ET_DIV, $1, $3);\t\t}\n | multiplicative_expression '%' cast_expression\n\t\t{ $$ = BinaryExpression::New(ET_MOD, $1, $3);\t\t}\n ;\n\nadditive_expression\n : multiplicative_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | additive_expression '+' multiplicative_expression\n\t\t{ $$ = AdditionExpression::New($1, $3);\t\t\t}\n | additive_expression '-' multiplicative_expression\n\t\t{ $$ = SubtractionExpression::New($1, $3);\t\t}\n ;\n\nshift_expression\n : additive_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | shift_expression LEFT_OP additive_expression\n\t\t{ $$ = BinaryExpression::New(ET_LEFT, $1, $3);\t\t}\n | shift_expression RIGHT_OP additive_expression\n\t\t{ $$ = BinaryExpression::New(ET_RIGHT, $1, $3);\t\t}\n ;\n\nrelational_expression\n : shift_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | relational_expression '<' shift_expression\n\t\t{ $$ = BinaryExpression::New(ET_LESS, $1, $3);\t\t}\n | relational_expression '>' shift_expression\n\t\t{ $$ = BinaryExpression::New(ET_GREATER, $1, $3);\t}\n | relational_expression LE_OP shift_expression\n\t\t{ $$ = BinaryExpression::New(ET_LESS_EQUAL, $1, $3);\t}\n | relational_expression GE_OP shift_expression\n\t\t{ $$ = BinaryExpression::New(ET_GREATER_EQUAL, $1, $3);\t}\n ;\n\nequality_expression\n : relational_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | equality_expression EQ_OP relational_expression\n\t\t{ $$ = BinaryExpression::New(ET_EQUAL, $1, $3);\t\t}\n | equality_expression NE_OP relational_expression\n\t\t{ $$ = BinaryExpression::New(ET_NOT_EQUAL, $1, $3);\t}\n ;\n\nand_expression\n : equality_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | and_expression '&' equality_expression\n\t\t{ $$ = BinaryExpression::New(ET_BIT_AND, $1, $3);\t}\n ;\n\nexclusive_or_expression\n : and_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | exclusive_or_expression '^' and_expression\n\t\t{ $$ = BinaryExpression::New(ET_BIT_XOR, $1, $3);\t}\n ;\n\ninclusive_or_expression\n : exclusive_or_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | inclusive_or_expression '|' exclusive_or_expression\n\t\t{ $$ = BinaryExpression::New(ET_BIT_OR, $1, $3);\t}\n ;\n\nlogical_and_expression\n : inclusive_or_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | logical_and_expression AND_OP inclusive_or_expression\n\t\t{ $$ = BinaryExpression::New(ET_LOG_AND, $1, $3);\t}\n ;\n\nlogical_or_expression\n : logical_and_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | logical_or_expression OR_OP logical_and_expression\n\t\t{ $$ = BinaryExpression::New(ET_LOG_OR, $1, $3);\t}\n ;\n\nconditional_expression\n : logical_or_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | logical_or_expression '?' expression ':' conditional_expression\n\t\t{ $$ = new CondExpression($1, $3, $5);\t\t\t}\n ;\n\nassignment_expression\n : conditional_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | unary_expression assignment_operator assignment_expression\n\t\t{ $$ = BinaryExpression::New($2, $1, $3);\t\t}\n ;\n\nassignment_operator\n : '='\t\t\t\t\t{ $$ = ET_ASSIGN;\t}\n | MUL_ASSIGN\t\t\t\t{ $$ = ET_MULT_ASSIGN;\t}\n | DIV_ASSIGN\t\t\t\t{ $$ = ET_DIV_ASSIGN;\t}\n | MOD_ASSIGN\t\t\t\t{ $$ = ET_MOD_ASSIGN;\t}\n | ADD_ASSIGN\t\t\t\t{ $$ = ET_ADD_ASSIGN;\t}\n | SUB_ASSIGN\t\t\t\t{ $$ = ET_SUB_ASSIGN;\t}\n | LEFT_ASSIGN\t\t\t\t{ $$ = ET_LEFT_ASSIGN;\t}\n | RIGHT_ASSIGN\t\t\t\t{ $$ = ET_RIGHT_ASSIGN;\t}\n | AND_ASSIGN\t\t\t\t{ $$ = ET_AND_ASSIGN;\t}\n | XOR_ASSIGN\t\t\t\t{ $$ = ET_XOR_ASSIGN;\t}\n | OR_ASSIGN\t\t\t\t{ $$ = ET_OR_ASSIGN;\t}\n ;\n\nexpression\n : assignment_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n | expression ',' assignment_expression\n\t\t{ $$ = BinaryExpression::New(ET_LIST, $1, $3);\t\t}\n ;\n\nconstant_expression\n : conditional_expression\n\t\t{ $$ = $1;\t\t\t\t\t\t}\n ;\n\ndeclaration\n : declaration_specifiers ';'\n\t\t{ $$ = new Declaration($1, 0);\t\t\t\t}\n | declaration_specifiers init_declarator_list ';'\n\t\t{ $$ = new Declaration($1, $2);\t\t\t\t}\n ;\n\ndeclaration_specifiers\n : type_specifier\t\t\t{ $$ = $1;\t\t}\n | type_qualifier\t\t\t{ $$ = $1;\t\t}\n | type_specifier declaration_specifiers\t{ $$ = *$2 + *$1;\t}\n | type_qualifier declaration_specifiers\t{ $$ = *$2 + *$1;\t}\n ;\n\ninit_declarator_list\n : init_declarator\n\t\t{ $$ = new InitDeclaratorList($1, 0);\t\t\t}\n | init_declarator ',' init_declarator_list\n\t\t{ $$ = new InitDeclaratorList($1, $3);\t\t\t}\n ;\n\ninit_declarator\n : declarator\n\t\t{ $$ = new InitDeclarator($1, 0);\t\t\t}\n | declarator '=' initializer\n\t\t{ $$ = new InitDeclarator($1, $3);\t\t\t}\n ;\n\ntype_specifier\n\t\/\/ storage class\n : TYPEDEF\t\t{ $$ = new TypeSpecifier(SC_TYPEDEF);\t}\n | EXTERN\t\t{ $$ = new TypeSpecifier(SC_EXTERN);\t}\n | STATIC\t\t{ $$ = new TypeSpecifier(SC_STATIC);\t}\n | AUTO\t\t\t{ $$ = new TypeSpecifier(SC_AUTO);\t}\n | REGISTER\t\t{ $$ = new TypeSpecifier(SC_REGISTER);\t}\n\t\/\/ type\n | VOID\t\t\t{ $$ = new TypeSpecifier(TS_VOID);\t}\n | CHAR\t\t\t{ $$ = new TypeSpecifier(TS_CHAR);\t}\n | SHORT\t\t\t{ $$ = new TypeSpecifier(TS_SHORT);\t}\n | INT\t\t\t{ $$ = new TypeSpecifier(TS_INT);\t}\n | LONG\t\t\t{ $$ = new TypeSpecifier(TS_LONG);\t}\n | FLOAT\t\t\t{ $$ = new TypeSpecifier(TS_FLOAT);\t}\n | DOUBLE\t\t{ $$ = new TypeSpecifier(TS_DOUBLE);\t}\n | SIGNED\t\t{ $$ = new TypeSpecifier(TS_SIGNED);\t}\n | UNSIGNED\t\t{ $$ = new TypeSpecifier(TS_UNSIGNED);\t}\n | struct_or_union_specifier\t{ $$ = $1;\t\t\t}\n | enum_specifier\t\t{ $$ = $1;\t\t\t}\n | TYPE_NAME\t{ $$ = new TypeSpecifier(TS_TYPE_NAME, $1, 0);\t}\n ;\n\nstruct_or_union_specifier\n : struct_or_union IDENTIFIER '{' struct_declaration_list '}'\n\t\t{ $$ = new TypeSpecifier($1, $2, $4);\t\t\t}\n | struct_or_union '{' struct_declaration_list '}'\n\t\t{ $$ = new TypeSpecifier($1, 0, $3);\t\t\t}\n | struct_or_union IDENTIFIER\n\t\t{ $$ = new TypeSpecifier($1, $2, 0);\t\t\t}\n ;\n\nstruct_or_union\n : STRUCT\t\t\t\t{ $$ = TS_STRUCT;\t}\n | UNION\t\t\t\t\t{ $$ = TS_UNION;\t}\n ;\n\nstruct_declaration_list\n : struct_declaration\n\t\t{ $$ = new StructDeclarationList($1, 0);\t\t}\n | struct_declaration struct_declaration_list\n\t\t{ $$ = new StructDeclarationList($1, $2);\t\t}\n ;\n\nstruct_declaration\n : specifier_qualifier_list struct_declarator_list ';'\n\t\t{ $$ = new StructDeclaration($1, $2);\t\t\t}\n ;\n\nspecifier_qualifier_list\n : type_specifier\t\t\t\t{ $$ = $1;\t}\n | type_qualifier\t\t\t\t{ $$ = $1;\t}\n | type_specifier specifier_qualifier_list\t{ $$=*$1 + *$2;\t}\n | type_qualifier specifier_qualifier_list\t{ $$=*$1 + *$2;\t}\n ;\n\nstruct_declarator_list\n : struct_declarator\n\t\t{ $$ = new StructDeclaratorList($1, 0);\t\t}\n | struct_declarator ',' struct_declarator_list\n\t\t{ $$ = new StructDeclaratorList($1, $3);\t\t}\n ;\n\nstruct_declarator\n : declarator\n\t\t{ $$ = new StructDeclarator($1, 0);\t\t\t}\n | ':' constant_expression\n\t\t{ $$ = new StructDeclarator( 0, $2);\t\t\t}\n | declarator ':' constant_expression\n\t\t{ $$ = new StructDeclarator($1, $3);\t\t\t}\n ;\n\nenum_specifier\n : ENUM '{' enumerator_list '}'\n\t\t{ $$ = new TypeSpecifier( 0, $3);\t\t\t}\n | ENUM IDENTIFIER '{' enumerator_list '}'\n\t\t{ $$ = new TypeSpecifier($2, $4);\t\t\t}\n | ENUM IDENTIFIER\n\t\t{ $$ = new TypeSpecifier(TS_ENUM);\t\t\t}\n ;\n\nenumerator_list\n : enumerator\n\t\t\t\t{ $$ = new EnumeratorList($1, 0);\t}\n | enumerator ',' enumerator_list\n\t\t\t\t{ $$ = new EnumeratorList($1, $3);\t}\n ;\n\nenumerator\n : IDENTIFIER\t\t{ $$ = new Enumerator($1, 0);\t\t}\n | IDENTIFIER '=' constant_expression\n\t\t\t\t{ $$ = new Enumerator($1, $3);\t\t}\n ;\n\ntype_qualifier\n : CONST\t\t\t{ $$ = new TypeSpecifier(TQ_CONST);\t}\n | VOLATILE\t\t{ $$ = new TypeSpecifier(TQ_VOLATILE);\t}\n ;\n\ndeclarator\n : pointer direct_declarator\n\t\t{ $$ = new Declarator(new DeclItem($1), $2->Reverse());\t}\n | direct_declarator\n\t\t{ $$ = $1->Reverse();\t\t\t\t\t}\n ;\n\ndirect_declarator\n : IDENTIFIER\n\t\t{ $$ = new Declarator(new DeclItem($1), 0);\t\t}\n | '(' declarator ')'\n\t\t{ $$ = new Declarator(new DeclItem($2), 0);\t\t}\n | direct_declarator '[' constant_expression ']'\n\t\t{ $$ = new Declarator(new DeclItem($3), $1);\t\t}\n | direct_declarator '[' ']'\n\t\t{ $$ = new Declarator(new DeclItem(DECL_ARRAY), $1);\t}\n | direct_declarator '(' parameter_list ')'\n\t\t{ $$ = new Declarator(new DeclItem($3), $1);\t\t}\n | direct_declarator '(' identifier_list ')'\n\t\t{ $$ = new Declarator(new DeclItem($3), $1);\t\t}\n | direct_declarator '(' ')'\n\t\t{ $$ = new Declarator(new DeclItem(DECL_FUN), $1);\t}\n ;\n\npointer\n : '*'\n\t\t{ $$ = new Pointer(new Ptr(0), 0);\t\t\t}\n | '*' type_qualifier_list\n\t\t{ $$ = new Pointer(new Ptr($2), 0);\t\t\t}\n | '*' pointer\n\t\t{ $$ = new Pointer(new Ptr(0), $2);\t\t\t}\n | '*' type_qualifier_list pointer\n\t\t{ $$ = new Pointer(new Ptr($2), $3);\t\t\t}\n ;\n\ntype_qualifier_list\n : type_qualifier\t\t\t { $$ = $1\t\t}\n | type_qualifier type_qualifier_list\t { $$ = *$1 + *$2;\t}\n ;\n\nparameter_list\n : parameter_declaration\n\t\t{ $$ = new ParameterDeclarationList($1, 0);\t\t}\n | ELLIPSIS\n\t\t{ $$ = new ParameterDeclarationList( 0, 0);\t\t}\n | parameter_declaration ',' parameter_list\n\t {\n\t if ($3->Head()) $$ = new ParameterDeclarationList($1, $3);\n\t else $$ = $3->SetHead($1->SetEllipsis());\n\t }\n ;\n\nparameter_declaration\n : declaration_specifiers declarator\n\t\t{ $$ = new ParameterDeclaration($1, $2);\t\t}\n | declaration_specifiers abstract_declarator\n\t\t{ $$ = new ParameterDeclaration($1, $2);\t\t}\n | declaration_specifiers\n\t\t{ $$ = new ParameterDeclaration($1, 0);\t\t}\n ;\n\nidentifier_list\n : IDENTIFIER\n\t\t{ $$ = new IdentifierList(new Identifier($1), 0);\t}\n | IDENTIFIER ',' identifier_list\n\t\t{ $$ = new IdentifierList(new Identifier($1), $3);\t}\n ;\n\ntype_name\n : specifier_qualifier_list\n\t\t{ assert($1); $$ = new TypeName($1, 0);\t\t}\n | specifier_qualifier_list abstract_declarator\n\t\t{ assert($1); $$ = new TypeName($1, $2);\t\t}\n ;\n\nabstract_declarator\n : pointer\n\t\t{ $$ = new Declarator(new DeclItem($1), 0);\t\t}\n | direct_abstract_declarator\n\t\t{ $$ = $1->Reverse();\t\t\t\t\t}\n | pointer direct_abstract_declarator\n\t\t{ $$ = new Declarator(new DeclItem($1), $2->Reverse());\t}\n ;\n\ndirect_abstract_declarator\n : '(' abstract_declarator ')'\n\t { $$ = new Declarator(new DeclItem($2), 0);\t\t}\n | '[' ']'\n\t { $$ = new Declarator(new DeclItem(DECL_ARRAY), 0);\t}\n | '[' constant_expression ']'\n\t { $$ = new Declarator(new DeclItem($2), 0);\t\t}\n | '(' ')'\n\t { $$ = new Declarator(new DeclItem(DECL_FUN), 0);\t}\n | '(' parameter_list ')'\n\t { $$ = new Declarator(new DeclItem($2), 0);\t\t}\n | direct_abstract_declarator '[' ']'\n\t { $$ = new Declarator(new DeclItem(DECL_ARRAY), $1);\t}\n | direct_abstract_declarator '[' constant_expression ']'\n\t { $$ = new Declarator(new DeclItem($3), $1);\t\t}\n | direct_abstract_declarator '(' ')'\n\t { $$ = new Declarator(new DeclItem(DECL_FUN), $1);\t}\n | direct_abstract_declarator '(' parameter_list ')'\n\t { $$ = new Declarator(new DeclItem($3), $1);\t\t}\n ;\n\ninitializer\n : assignment_expression\t\n\t\t{ $$ = new Initializer($1);\t\t\t}\n | '{' initializer_list '}'\n\t\t{ $$ = new Initializer($2->Reverse());\t\t}\n | '{' initializer_list ',' '}'\n\t\t{ $$ = new Initializer($2->Reverse());\t\t}\n ;\n\ninitializer_list\n : initializer\n\t\t{ $$ = new InitializerList($1, 0);\t\t\t}\n | initializer_list ',' initializer\n\t\t{ $$ = new InitializerList($3, $1);\t\t\t}\n ;\n\nstatement\n : labeled_statement\t\t\t\t{ $$ = $1;\t}\n | compound_statement\t\t\t\t{ $$ = $1;\t}\n | expression_statement\t\t\t\t{ $$ = $1;\t}\n | selection_statement\t\t\t\t{ $$ = $1;\t}\n | iteration_statement\t\t\t\t{ $$ = $1;\t}\n | jump_statement\t\t\t\t{ $$ = $1;\t}\n ;\n\nlabeled_statement\n : IDENTIFIER ':' statement\n\t\t{ $$ = new LabelStatement($1, $3);\t\t\t}\n | CASE constant_expression ':' statement\n\t\t{ $$ = new CaseStatement($2, $4);\t\t\t}\n | DEFAULT ':' statement\n\t\t{ $$ = new CaseStatement(0, $3);\t\t\t}\n ;\n\ncompound_statement\n : '{' '}'\n\t\t{ $$ = new CompoundStatement( 0, 0);\t\t\t}\n | '{' statement_list '}'\n\t\t{ $$ = new CompoundStatement( 0, $2);\t\t\t}\n | '{' declaration_list '}'\n\t\t{ $$ = new CompoundStatement($2, 0);\t\t\t}\n | '{' declaration_list statement_list '}'\n\t\t{ $$ = new CompoundStatement($2, $3);\t\t\t}\n ;\n\ndeclaration_list\n : declaration\n\t\t{ $$ = new DeclarationList($1, 0);\t\t\t}\n | declaration declaration_list\n\t\t{ $$ = new DeclarationList($1, $2);\t\t\t}\n ;\n\nstatement_list\n : statement\n\t\t{ $$ = new StatementList($1, 0);\t\t\t}\n | statement statement_list\n\t\t{ $$ = new StatementList($1, $2);\t\t\t}\n ;\n\nexpression_statement\n : ';'\t\t\t{ $$ = new ExpressionStatement(0);\t}\n | expression ';'\t{ $$ = new ExpressionStatement($1);\t}\n | error ';'\t\t{ $$ = new ExpressionStatement(0);\n\t\t\t\t Node::Error();\t\t\t}\n ;\n\nselection_statement\n : IF '(' expression ')' statement\n\t\t{ $$ = new IfElseStatement($3, $5, 0);\t\t\t}\n | IF '(' expression ')' statement ELSE statement\n\t\t{ $$ = new IfElseStatement($3, $5, $7);\t\t\t}\n | SWITCH '(' expression ')' compound_statement\n\t\t{ $$ = new SwitchStatement($3, $5);\t\t\t}\n ;\n\niteration_statement\n : WHILE '(' expression ')' statement\n\t\t{ $$ = new WhileStatement($3, $5);\t\t\t}\n | DO statement WHILE '(' expression ')' ';'\n\t\t{ $$ = new DoWhileStatement($2, $5);\t\t\t}\n | FOR '(' expression_statement expression_statement ')' statement\n\t\t{ $$ = new ForStatement($3, $4, 0, $6);\t\t}\n | FOR '(' expression_statement expression_statement\n\t\t expression ')' statement\n\t\t{ $$ = new ForStatement($3, $4, $5, $7);\t\t}\n ;\n\njump_statement\n : GOTO IDENTIFIER ';'\t{ $$ = new GotoStatement($2);\t\t}\n | CONTINUE ';'\t\t{ $$ = new ContStatement(false);\t}\n | BREAK ';'\t\t{ $$ = new ContStatement(true);\t}\n | RETURN ';'\t\t{ $$ = new ReturnStatement(0);\t\t}\n | RETURN expression ';'\t{ $$ = new ReturnStatement($2);\t\t}\n ;\n\ntranslation_unit\n : external_declaration\t\t\t\t\t{\t}\n | external_declaration translation_unit\t\t\t{\t}\n ;\n\nexternal_declaration\n : function_definition\n\t { $1->Emit(out);\n\t fprintf(out,\n\t \";;; ------------------------------------;\\n\");\t\t}\n | declaration\n\t { if ($1) $1->Emit(out);\n\t fprintf(out,\n\t \";;; ------------------------------------;\\n\");\t\t}\n | error\n\t { Node::Error();\n\t fprintf(out,\n\t \";;; SYNTAX ERROR\\n\"\n\t \";;; ------------------------------------;\\n\");\t\t}\n ;\n\nfunction_head\n : declaration_specifiers declarator declaration_list\n\t\t{ $$ = new FunctionDefinition($1, $2, $3);\t\t}\n | declaration_specifiers declarator\n\t\t{ $$ = new FunctionDefinition($1, $2, 0);\t\t}\n | declarator declaration_list\n\t\t{ $$ = new FunctionDefinition( 0, $1, $2);\t\t}\n | declarator\n\t\t{ $$ = new FunctionDefinition( 0, $1, 0);\t\t}\n ;\n\nfunction_definition\n : function_head compound_statement\n\t\t{ $$ = $1->SetBody($2);\t\t\t\t\t}\n ;\n%%\n","avg_line_length":31.545323741,"max_line_length":75,"alphanum_fraction":0.5864349571} -{"size":527,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"014.hac\":4:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: template [3:1..8]\n#STATE#\t< [3:10]\n#STATE#\tlist<(template-formal-decl)>: (template-formal-decl) ... [3:11..18]\n#STATE#\tkeyword: defproc [4:1..7]\nin state #STATE#, possible rules are:\n\ttemplate_formal_decl_list_in_angles: '<' template_formal_decl_list . '>' (#RULE#)\n\ttemplate_formal_decl_list: template_formal_decl_list . ';' template_formal_decl (#RULE#)\nacceptable tokens are: \n\t'>' (shift)\n\t';' (shift)\n","avg_line_length":31.0,"max_line_length":90,"alphanum_fraction":0.6982922201} -{"size":566,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"file-expand-05.hac\":3:\nAt: \"wrapper.hac\":4:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(imported-root) [3:1..21]\n#STATE#\t%{ [0:2]\n#STATE#\t(imported-root-list) [1:1--2:20]\n#STATE#\t(type-ref) [4:1..4]\n#STATE#\tlist<(declaration-id)>: (declaration-id): identifier: error ... [4:6..10]\n#STATE#\tidentifier: here [4:12..15]\nin state #STATE#, possible rules are:\n\ttype_instance_declaration: type_id instance_id_list . ';' (#RULE#)\n\tinstance_id_list: instance_id_list . ',' instance_id_item (#RULE#)\nacceptable tokens are: \n\t',' (shift)\n\t';' (shift)\n","avg_line_length":31.4444444444,"max_line_length":81,"alphanum_fraction":0.6749116608} -{"size":312,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"017.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tkeyword: enum [3:1..4]\n#STATE#\tkeyword: enum [3:6..9]\nin state #STATE#, possible rules are:\n\tdeclare_enum: ENUM . ID (#RULE#)\n\tdefenum: ENUM . ID '{' enum_member_list '}' (#RULE#)\nacceptable tokens are: \n\tID (shift)\n","avg_line_length":24.0,"max_line_length":54,"alphanum_fraction":0.6666666667} -{"size":73,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"## Make.bison\n\nbison:\n\t$(MAKE) PROG=bison _gnu \\\n\t\tJTL_TESTS_BOGUS=2.4.2\n","avg_line_length":12.1666666667,"max_line_length":26,"alphanum_fraction":0.6712328767} -{"size":29617,"ext":"bison","lang":"Bison","max_stars_count":3.0,"content":"\n%{\n\n#include \n#include \n\nextern int yylex();\nextern int yyparse();\nextern int yyerror(const char *);\nextern FILE * out;\nextern FILE * list;\nextern FILE * sym;\nextern FILE * ihx;\nstatic void write_intel_hex(FILE * out);\n\nint PC = 0;\nint reloc_start = 0; \/\/ first PC\nint reloc_last = 0; \/\/ last PC\nint reloc_end = 0; \/\/ end of reloc\n\nchar memory[0x10000];\nunsigned int mem_idx = 0;\n\nenum ExHow { EX_NAME, EX_NUMBER,\n EX_ADD, EX_SUB, EX_MULT, EX_DIV, EX_MOD };\n\nclass Expression\n{\n\npublic:\n Expression(const char * n)\n : how(EX_NAME),\n ex(0),\n name(n),\n number(0)\n {};\n\n Expression(int n)\n : how(EX_NUMBER),\n ex(0),\n name(0),\n number(n)\n {};\n\n Expression(Expression * e, ExHow h, const char * n)\n : how(h),\n ex(e),\n name(n),\n number(0)\n {};\n\n Expression(Expression * e, ExHow h, int n)\n : how(h),\n ex(e),\n name(0),\n number(n)\n {};\n\n int GetValue() const;\n int ListBase() const;\n bool UsesName() const\n {\n if (how == EX_NAME) return true;\n if (how == EX_NUMBER) return false;\n assert(ex);\n return ex->UsesName();\n }\n\n\nprivate:\n const ExHow how;\n Expression * ex;\n const char * name;\n int number;\n};\n\nenum OP_BASE\n{\n EXPR,\n REG_RR, REG_RU, REG_RS, REG_R,\n REG_LL, REG_LU, REG_LS, REG_L,\n REG_SP,\n COND_Z,\n COND_NZ\n};\n\nenum OP_ATTR\n{\n ATT_NONE,\n ATT_POSTINC,\n ATT_PREDEC,\n ATT_OFFSET,\n ATT_CONTENT,\n ATT_PORT,\n ATT_ADDR,\n ATT_IMM,\n};\n\nenum OP_HOW\n{\n H_NONE = 0, \/\/ unique opcode\n H_BYTE = 1,\n H_PORT = 2, \/\/ #byte\n H_WORD = 3, \/\/ #word\n H_sBW = 4, \/\/ signed #byte (01X) or #word (10X)\n H_uBW = 5, \/\/ unsigned #byte (01X) or #word (10X)\n H_sQBW = 6, \/\/ signed quick or #byte (01X) or #word (10X)\n H_uQBW = 7, \/\/ unsigned quick or #byte (01X) or #word (10X)\n};\n\nclass Operand\n{\npublic:\n Operand(OP_BASE b, const char * txt)\n : base(b), attr(ATT_NONE), expr(0), op_text(txt), offset(0) {};\n\n Operand(Expression * ex)\n : base(EXPR), attr(ATT_NONE), expr(ex), op_text(0), offset(0) {};\n\n Operand * PostInc()\n {\n assert(attr == ATT_NONE);\n attr = ATT_POSTINC;\n return this;\n };\n\n Operand * PreDec()\n {\n assert(attr == ATT_NONE);\n attr = ATT_PREDEC;\n return this;\n };\n\n Operand * Content()\n {\n assert(base == REG_RR || base == REG_LL);\n assert(attr == ATT_NONE);\n attr = ATT_CONTENT;\n return this;\n };\n\n Operand * Offset(Operand * offs)\n {\n assert(base != EXPR);\n assert(attr == ATT_NONE);\n attr = ATT_OFFSET;\n\n assert(offs->base == EXPR);\n assert(offs->attr == ATT_NONE);\n assert(offset == 0);\n offset = offs;\n return this;\n };\n\n Operand * Port()\n {\n assert(base == EXPR);\n assert(attr == ATT_NONE);\n attr = ATT_PORT;\n return this;\n };\n\n Operand * AbsAddr()\n {\n assert(base == EXPR);\n assert(attr == ATT_NONE);\n attr = ATT_ADDR;\n return this;\n };\n\n Operand * Immediate()\n {\n assert(base == EXPR);\n assert(attr == ATT_NONE);\n attr = ATT_IMM;\n return this;\n };\n\n int GetLength(OP_HOW how);\n int GetValue();\n int ListHex(OP_HOW how);\n int List(OP_HOW how);\n int ListBase(OP_HOW how);\n\nprivate:\n OP_BASE base;\n OP_ATTR attr;\n Operand * offset;\n const char * op_text; \/\/ scanned text\n Expression * expr;\n};\n\nclass Opcode\n{\npublic:\n Opcode(OP_HOW how, unsigned int opc, const char * txt,\n Operand * op1 = 0, Operand * op2 = 0)\n : op_how(how),\n op_code(opc),\n op_text(txt),\n op_1(op1),\n op_2(op2),\n reloc(reloc_end) {};\n\n int GetLength() const;\n int GetOpcode(int & len) const;\n int List(int pc);\n void Error() const;\n\nprivate:\n OP_HOW op_how;\n unsigned char op_code;\n const char * op_text; \/\/ opcode text\n Operand * op_1; \/\/ oerand 1\n Operand * op_2; \/\/ oerand 2\n bool reloc; \/\/ true if relocated\n};\n\nint Reloc(bool rloc, int value)\n{\n if (!rloc) return value;\n return value + reloc_end - reloc_last;\n}\n\nclass Symbol\n{\npublic:\n static void Add(const char * id, Expression * ex, bool lab, bool reloc);\n static void ListNonlabels();\n static int GetValue(const char * id);\n static void Reset() { current = symbols; };\n static void PrintSymbols();\n static void Advance(int pc);\n\nprivate:\n Symbol(const char * id, Expression * ex, bool lab, bool rloc)\n : identifier(id),\n expr(ex),\n label(lab),\n reloc(rloc),\n tail(0) {};\n\n const char * identifier;\n Expression * expr;\n Symbol * tail;\n bool label; \/\/ true if label\n bool reloc; \/\/ true if relocated\n\n static Symbol * symbols;\n static Symbol * current;\n};\n\nclass Line\n{\npublic:\n static void Add(Opcode * opc);\n static void List();\n\nprivate:\n Line(Opcode * opc)\n : opcode(opc),\n pc(PC),\n tail(0)\n {};\n\n int pc;\n Opcode * opcode;\n Line * tail;\n\n static Line * first;\n static Line * last;\n};\n\n%}\n\n%token\t_BYTE\t_WORD\t_OFFSET\tINT\tIDENT\tEOL\tEOFILE\tERROR\n\t_LL\t_L\t_LS\t_LU\t_RR\t_R\t_RS\t_RU\n\t_RRZ\t_RRNZ\t_SP\t_EXTERN\t_STATIC\n\n\tADD\tAND\tASR\tCALL\tCLRB\tCLRW\tDI\tDIV_IS\n\tDIV_IU\tEI\tHALT\tIN\tJMP\tLNOT\tLEA\tLSL\n\tLSR\tMOVE\tMD_STP\tMD_FIN\tMOD_FIN\tMUL_IS\tMUL_IU\tNEG\n\tNOP\tNOT\tOUT\tOR\tRET\tRETI\tSEQ\tSGE\n\tSGT\tSLE\tSLT\tSNE\tSHS\tSHI\tSLS\tSLO\n\tSUB\tXOR\n\n%start\tall\n\n%union\t{\tint _num;\n\t\tconst char * _txt;\n\t\tOpcode * _opcode;\n\t\tOperand * _operand;\n\t\tExpression * _expression;\n\t}\n\n%type\t<_num>\tINT\n%type\t<_txt>\n\tIDENT\t_BYTE\t_WORD\n\t_LL\t_LU\t_LS\t_L\t_RR\t_RU\t_RS\t_R\n\t_RRZ\t_RRNZ\t_SP\n\n\tADD\tAND\tASR\tCALL\tCLRB\tCLRW\tDI\tDIV_IS\n\tDIV_IU\tEI\tHALT\tIN\tJMP\tLNOT\tLEA\tLSL\n\tLSR\tMOVE\tMD_STP\tMD_FIN\tMOD_FIN\tMUL_IS\tMUL_IU\tNEG\n\tNOP\tNOT\tOUT\tOR\tRET\tRETI\tSEQ\tSGE\n\tSGT\tSLE\tSLT\tSNE\tSHS\tSHI\tSLS\tSLO\n\tSUB\tXOR\n\n%type\t<_opcode>\topcode\trest\tline\n%type\t<_expression>\texpr\n%type\t<_operand>\n\tvalue\n\timm\n\tcRR RR RU RS R dRR RRi\n\tcLL LL LU LS L dLL LLi\n\tSP dSP SPi oSP\n\tRRZ RRNZ\n\tport addr\n\n%%\n\nall\t: lines EOFILE\n\t {\n reloc_last = PC;\n Symbol::ListNonlabels();\n Line::List();\n Symbol::PrintSymbols();\n fwrite(memory, 1, mem_idx, out);\n write_intel_hex(ihx);\n\t return 0;\n\t }\n\t;\n\nlines\n\t: line\t\t\t{ if ($1) Line::Add($1); }\n\t| lines line\t\t{ if ($2) Line::Add($2); }\n\t;\n\nline\n\t: EOL\t{ $$ = 0; }\n\t| label EOL\t{ $$ = 0; }\n\t| rest EOL\t{ $$ = $1; }\n\t| label rest EOL\t{ $$ = $2; }\n\t;\n\nlabel\t: IDENT ':'\n\t { Symbol::Add($1, new Expression(PC), true, reloc_end); }\n\t;\n\nrest\n\t: IDENT '=' expr\t{ $$ = 0; Symbol::Add($1, $3, false, false); }\n\t| _EXTERN IDENT\t\t{ $$ = 0; }\n\t| _STATIC IDENT\t\t{ $$ = 0; }\n\t| _OFFSET expr\t{ $$ = 0; reloc_end = $2->GetValue();\n reloc_start = PC; }\n\t| opcode\t\t{ $$ = $1 }\n\t;\n\nexpr\n\t: INT\t\t\t{ $$ = new Expression($1); }\n\t| IDENT\t\t\t{ $$ = new Expression($1); }\n\t| expr '+' INT\t\t{ $$ = new Expression($1, EX_ADD, $3); }\n\t| expr '-' INT\t\t{ $$ = new Expression($1, EX_SUB, $3); }\n\t| expr '*' INT\t\t{ $$ = new Expression($1, EX_MULT, $3); }\n\t| expr '\/' INT\t\t{ $$ = new Expression($1, EX_DIV, $3); }\n\t| expr '%' INT\t\t{ $$ = new Expression($1, EX_MOD, $3); }\n\t| expr '+' IDENT\t{ $$ = new Expression($1, EX_ADD, $3); }\n\t| expr '-' IDENT\t{ $$ = new Expression($1, EX_SUB, $3); }\n\t| expr '*' IDENT\t{ $$ = new Expression($1, EX_MULT, $3); }\n\t| expr '\/' IDENT\t{ $$ = new Expression($1, EX_DIV, $3); }\n\t| expr '%' IDENT\t{ $$ = new Expression($1, EX_MOD, $3); }\n\t;\n\nvalue\n\t: expr\t\t\t{ $$ = new Operand($1); }\n\t;\n\nimm\n\t: '#' value\t\t{ $$ = $2->Immediate(); }\n\t;\n\nRR\t: _RR\t\t\t{ $$ = new Operand(REG_RR, $1); }\t;\nRU\t: _RU\t\t\t{ $$ = new Operand(REG_RU, $1); }\t;\nRS\t: _RS\t\t\t{ $$ = new Operand(REG_RS, $1); }\t;\nR\t: _R\t\t\t{ $$ = new Operand(REG_R, $1); }\t;\ncRR\t: '(' RR ')'\t\t{ $$ = $2->Content(); }\t;\nRRZ\t: _RRZ\t\t\t{ $$ = new Operand(COND_Z, $1); }\t;\nRRNZ\t: _RRNZ\t\t\t{ $$ = new Operand(COND_NZ, $1); }\t;\n\nLL\t: _LL\t\t\t{ $$ = new Operand(REG_LL, $1); }\t;\nLU\t: _LU\t\t\t{ $$ = new Operand(REG_LU, $1); }\t;\nLS\t: _LS\t\t\t{ $$ = new Operand(REG_LS, $1); }\t;\nL\t: _L\t\t\t{ $$ = new Operand(REG_L, $1); }\t;\ncLL\t: '(' LL ')'\t\t{ $$ = $2->Content(); }\t;\n\nSP\t: _SP\t\t\t{ $$ = new Operand(REG_SP, $1); }\t;\n\ndRR\t: '-' '(' RR ')'\t{ $$ = $3->PreDec(); }\t;\ndLL\t: '-' '(' LL ')'\t{ $$ = $3->PreDec(); }\t;\ndSP\t: '-' '(' SP ')'\t{ $$ = $3->PreDec(); }\t;\nRRi\t: '(' RR ')' '+'\t{ $$ = $2->PostInc(); }\t;\nLLi\t: '(' LL ')' '+'\t{ $$ = $2->PostInc(); }\t;\nSPi\t: '(' SP ')' '+'\t{ $$ = $2->PostInc(); }\t;\noSP\t: value '(' SP ')'\t{ $$ = $3->Offset($1); }\t;\nport\t: '(' value ')'\t\t{ $$ = $2->Port(); }\t;\naddr\t: '(' value ')'\t\t{ $$ = $2->AbsAddr(); }\t;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nopcode\n: _BYTE value\t\t{ $$ = new Opcode(H_BYTE, 0x00, $1, $2); }\n| _WORD value\t\t{ $$ = new Opcode(H_WORD, 0x00, $1, $2); }\n\n| HALT\t\t\t{ $$ = new Opcode(H_NONE, 0x00, $1); }\n| NOP\t\t\t{ $$ = new Opcode(H_NONE, 0x01, $1); }\n| JMP value\t\t{ $$ = new Opcode(H_WORD, 0x02, $1, $2); }\n| JMP RRNZ ',' value\t{ $$ = new Opcode(H_WORD, 0x03, $1, $2, $4); }\n| JMP RRZ ',' value\t{ $$ = new Opcode(H_WORD, 0x04, $1, $2, $4); }\n| CALL value\t\t{ $$ = new Opcode(H_WORD, 0x05, $1, $2); }\n| CALL '(' RR ')'\t{ $$ = new Opcode(H_NONE, 0x06, $1, $3); }\n| RET\t\t\t{ $$ = new Opcode(H_NONE, 0x07, $1); }\n| MOVE SPi ',' RR\t{ $$ = new Opcode(H_NONE, 0x08, $1, $2, $4); }\n| MOVE SPi ',' RS\t{ $$ = new Opcode(H_NONE, 0x09, $1, $2, $4); }\n| MOVE SPi ',' RU\t{ $$ = new Opcode(H_NONE, 0x0A, $1, $2, $4); }\n| MOVE SPi ',' LL\t{ $$ = new Opcode(H_NONE, 0x0B, $1, $2, $4); }\n| MOVE SPi ',' LS\t{ $$ = new Opcode(H_NONE, 0x0C, $1, $2, $4); }\n| MOVE SPi ',' LU\t{ $$ = new Opcode(H_NONE, 0x0D, $1, $2, $4); }\n| MOVE RR ',' dSP\t{ $$ = new Opcode(H_NONE, 0x0E, $1, $2, $4); }\n| MOVE R ',' dSP\t{ $$ = new Opcode(H_NONE, 0x0F, $1, $2, $4); }\n\n| AND RR ',' imm\t{ $$ = new Opcode(H_uBW, 0x10, $1, $2, $4); }\n| OR RR ',' imm\t{ $$ = new Opcode(H_uBW, 0x12, $1, $2, $4); }\n| XOR RR ',' imm\t{ $$ = new Opcode(H_uBW, 0x14, $1, $2, $4); }\n| SEQ RR ',' imm\t{ $$ = new Opcode(H_sBW, 0x16, $1, $2, $4); }\n| SNE RR ',' imm\t{ $$ = new Opcode(H_sBW, 0x18, $1, $2, $4); }\n| SGE RR ',' imm\t{ $$ = new Opcode(H_sBW, 0x1A, $1, $2, $4); }\n| SGT RR ',' imm\t{ $$ = new Opcode(H_sBW, 0x1C, $1, $2, $4); }\n| SLE RR ',' imm\t{ $$ = new Opcode(H_sBW, 0x1E, $1, $2, $4); }\n| SLT RR ',' imm\t{ $$ = new Opcode(H_sBW, 0x20, $1, $2, $4); }\n| SHS RR ',' imm\t{ $$ = new Opcode(H_uBW, 0x22, $1, $2, $4); }\n| SHI RR ',' imm\t{ $$ = new Opcode(H_uBW, 0x24, $1, $2, $4); }\n| SLS RR ',' imm\t{ $$ = new Opcode(H_uBW, 0x26, $1, $2, $4); }\n| SLO RR ',' imm\t{ $$ = new Opcode(H_uBW, 0x28, $1, $2, $4); }\n| ADD SP ',' imm\t{ $$ = new Opcode(H_uBW, 0x2A, $1, $2, $4); }\n| CLRW dSP\t\t{ $$ = new Opcode(H_NONE, 0x2C, $1, $2); }\n| CLRB dSP\t\t{ $$ = new Opcode(H_NONE, 0x2D, $1, $2); }\n| IN port ',' RU\t{ $$ = new Opcode(H_PORT, 0x2E, $1, $2, $4); }\n| OUT R ',' port\t{ $$ = new Opcode(H_PORT, 0x2F, $1, $2, $4); }\n\n| AND LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x30, $1, $2, $4); }\n| OR LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x31, $1, $2, $4); }\n| XOR LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x32, $1, $2, $4); }\n| SEQ LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x33, $1, $2, $4); }\n| SNE LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x34, $1, $2, $4); }\n| SGE LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x35, $1, $2, $4); }\n| SGT LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x36, $1, $2, $4); }\n| SLE LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x37, $1, $2, $4); }\n| SLT LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x38, $1, $2, $4); }\n| SHS LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x39, $1, $2, $4); }\n| SHI LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x3A, $1, $2, $4); }\n| SLS LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x3B, $1, $2, $4); }\n| SLO LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x3C, $1, $2, $4); }\n| LNOT RR\t\t{ $$ = new Opcode(H_NONE, 0x3D, $1, $2); }\n| NEG RR\t\t{ $$ = new Opcode(H_NONE, 0x3E, $1, $2); }\n| NOT RR\t\t{ $$ = new Opcode(H_NONE, 0x3F, $1, $2); }\n\n| MOVE LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x40, $1, $2, $4); }\n| MOVE LL ',' cRR\t{ $$ = new Opcode(H_NONE, 0x41, $1, $2, $4); }\n| MOVE L ',' cRR\t{ $$ = new Opcode(H_NONE, 0x42, $1, $2, $4); }\n| MOVE RR ',' LL\t{ $$ = new Opcode(H_NONE, 0x43, $1, $2, $4); }\n| MOVE RR ',' cLL\t{ $$ = new Opcode(H_NONE, 0x44, $1, $2, $4); }\n| MOVE R ',' cLL\t{ $$ = new Opcode(H_NONE, 0x45, $1, $2, $4); }\n| MOVE cRR ',' RR\t{ $$ = new Opcode(H_NONE, 0x46, $1, $2, $4); }\n| MOVE cRR ',' RS\t{ $$ = new Opcode(H_NONE, 0x47, $1, $2, $4); }\n| MOVE cRR ',' RU\t{ $$ = new Opcode(H_NONE, 0x48, $1, $2, $4); }\n| MOVE addr ',' RR\t{ $$ = new Opcode(H_WORD, 0x49, $1, $2, $4); }\n| MOVE addr ',' RS\t{ $$ = new Opcode(H_WORD, 0x4A, $1, $2, $4); }\n| MOVE addr ',' RU\t{ $$ = new Opcode(H_WORD, 0x4B, $1, $2, $4); }\n| MOVE addr ',' LL\t{ $$ = new Opcode(H_WORD, 0x4C, $1, $2, $4); }\n| MOVE addr ',' LS\t{ $$ = new Opcode(H_WORD, 0x4D, $1, $2, $4); }\n| MOVE addr ',' LU\t{ $$ = new Opcode(H_WORD, 0x4E, $1, $2, $4); }\n| MOVE RR ',' SP\t{ $$ = new Opcode(H_NONE, 0x4F, $1, $2, $4); }\n\n| LSL RR ',' imm\t{ $$ = new Opcode(H_BYTE, 0x52, $1, $2, $4); }\n| ASR RR ',' imm\t{ $$ = new Opcode(H_BYTE, 0x53, $1, $2, $4); }\n| LSR RR ',' imm\t{ $$ = new Opcode(H_BYTE, 0x54, $1, $2, $4); }\n| LSL LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x55, $1, $2, $4); }\n| ASR LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x56, $1, $2, $4); }\n| LSR LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x57, $1, $2, $4); }\n| ADD LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x58, $1, $2, $4); }\n| SUB LL ',' RR\t{ $$ = new Opcode(H_NONE, 0x59, $1, $2, $4); }\n| MOVE RR ',' addr \t{ $$ = new Opcode(H_WORD, 0x5A, $1, $2, $4); }\n| MOVE R ',' addr \t{ $$ = new Opcode(H_WORD, 0x5B, $1, $2, $4); }\n| MOVE RR ',' oSP \t{ $$ = new Opcode(H_uBW, 0x5C, $1, $2, $4); }\n| MOVE R ',' oSP \t{ $$ = new Opcode(H_uBW, 0x5E, $1, $2, $4); }\n\n| MOVE oSP ',' RR\t{ $$ = new Opcode(H_uBW, 0x60, $1, $2, $4); }\n| MOVE oSP ',' RS\t{ $$ = new Opcode(H_uBW, 0x62, $1, $2, $4); }\n| MOVE oSP ',' RU\t{ $$ = new Opcode(H_uBW, 0x64, $1, $2, $4); }\n| MOVE oSP ',' LL\t{ $$ = new Opcode(H_uBW, 0x66, $1, $2, $4); }\n| MOVE oSP ',' LS\t{ $$ = new Opcode(H_uBW, 0x68, $1, $2, $4); }\n| MOVE oSP ',' LU\t{ $$ = new Opcode(H_uBW, 0x6A, $1, $2, $4); }\n| LEA oSP ',' RR\t{ $$ = new Opcode(H_uBW, 0x6C, $1, $2, $4); }\n| MOVE dRR ',' dLL\t{ $$ = new Opcode(H_NONE, 0x6E, $1, $2, $4); }\n| MOVE RRi ',' LLi\t{ $$ = new Opcode(H_NONE, 0x6F, $1, $2, $4); }\n\n| MUL_IS\t\t{ $$ = new Opcode(H_NONE, 0x70, $1); }\n| MUL_IU\t\t{ $$ = new Opcode(H_NONE, 0x71, $1); }\n| DIV_IS\t\t{ $$ = new Opcode(H_NONE, 0x72, $1); }\n| DIV_IU\t\t{ $$ = new Opcode(H_NONE, 0x73, $1); }\n| MD_STP\t\t{ $$ = new Opcode(H_NONE, 0x74, $1); }\n| MD_FIN\t\t{ $$ = new Opcode(H_NONE, 0x75, $1); }\n| MOD_FIN\t\t{ $$ = new Opcode(H_NONE, 0x76, $1); }\n| EI\t\t\t{ $$ = new Opcode(H_NONE, 0x77, $1); }\n| RETI\t\t\t{ $$ = new Opcode(H_NONE, 0x78, $1); }\n| DI\t\t\t{ $$ = new Opcode(H_NONE, 0x79, $1); }\n\n| ADD RR ',' imm\t{ $$ = new Opcode(H_uQBW, 0xA0, $1, $2, $4); }\n| SUB RR ',' imm\t{ $$ = new Opcode(H_uQBW, 0xB0, $1, $2, $4); }\n| MOVE imm ',' RR\t{ $$ = new Opcode(H_sQBW, 0xC0, $1, $2, $4); }\n| SEQ LL ',' imm \t{ $$ = new Opcode(H_sQBW, 0xD0, $1, $2, $4); }\n| MOVE imm ',' LL\t{ $$ = new Opcode(H_sQBW, 0xE0, $1, $2, $4); }\n;\n\n\/\/ Fx mapped from 8X..EX\n%%\n\n\/\/-----------------------------------------------------------------------------\nvoid Line::Add(Opcode * opc)\n{\n assert(opc);\nLine * l = new Line(opc);\n if (first == 0)\n {\n assert(last == 0);\n first = last = l;\n }\n else\n {\n assert(last->tail == 0);\n last->tail = l;\n last = l;\n }\n PC += opc->GetLength();\n}\n\/\/-----------------------------------------------------------------------------\nSymbol * Symbol::symbols = 0;\nSymbol * Symbol::current = 0;\n\nLine * Line::first = 0;\nLine * Line::last = 0;\n\nvoid Symbol::Add(const char * id, Expression * expr, bool lab, bool reloc)\n{\n for (Symbol * s = symbols; s; s = s->tail)\n {\n if (!strcmp(id, s->identifier))\n {\n fprintf(stderr, \"Error: Symbol %s already defined\\n\", id);\n return;\n }\n\n if (s->tail == 0)\n {\n s->tail = new Symbol(id, expr, lab, reloc);\n return;\n }\n }\n\n symbols = new Symbol(id, expr, lab, reloc);\n}\n\n\/\/-----------------------------------------------------------------------------\nint Operand::GetLength(OP_HOW how)\n{\n \/\/ how may apply to this or the other argument!\n \/\/\n if (offset) return offset->GetLength(how);\n\n if (base != EXPR) return 0;\n assert(expr);\n\n switch(how)\n {\n case H_BYTE:\n case H_PORT: return 1;\n case H_WORD: return 2;\n }\n\n if (expr->UsesName()) return 2; \/\/ not yet known\n\n if (GetValue() < 0) switch(how)\n {\n case H_uBW:\n case H_uQBW: return 2;\n\n case H_sBW: if (GetValue() >= -128) return 1;\n return 2;\n\n case H_sQBW: if (GetValue() >= -8) return 0;\n if (GetValue() >= -128) return 1;\n return 2;\n\n default: fprintf(stderr, \"HOW = %d\\n\", how);\n assert(0 && \"Bad how\");\n }\n\n \/\/ here GetValue() >= 0\n switch(how)\n {\n case H_uBW: if (GetValue() <= 255) return 1;\n return 2;\n\n case H_sBW: if (GetValue() <= 127) return 1;\n return 2;\n\n case H_uQBW: if (GetValue() <= 15) return 0;\n if (GetValue() <= 255) return 1;\n return 2;\n\n case H_sQBW: if (GetValue() <= 7) return 0;\n if (GetValue() <= 127) return 1;\n return 2;\n\n default: fprintf(stderr, \"HOW = %d\\n\", how);\n assert(0 && \"Bad how\");\n }\n}\n\/\/-----------------------------------------------------------------------------\nint Opcode::GetLength() const\n{\nint base_len = 1;\n\n assert(op_text);\n if (*op_text == '.') base_len = 0;\n\nint op1_len = 0;\n if (op_1) op1_len = op_1->GetLength(op_how);\n\nint op2_len = 0;\n if (op_2) op2_len = op_2->GetLength(op_how);\n\n assert(!op1_len || !op2_len);\n return base_len + op1_len + op2_len;\n}\n\/\/-----------------------------------------------------------------------------\nvoid Line::List()\n{\n PC = 0;\n Symbol::Reset();\n\n for (Line * l = first; l; l = l->tail)\n {\n Symbol::Advance(PC);\n assert(l->opcode);\n assert(l->pc == PC);\n PC += l->opcode->List(PC);\n }\n Symbol::Advance(PC);\n fprintf(stderr, \"Bytes = %d (0x%X)\\n\", PC, PC);\n}\n\/\/-----------------------------------------------------------------------------\nvoid Symbol::ListNonlabels()\n{\n for (Symbol * s = symbols; s; s = s->tail)\n {\n if (s->label) continue;\n\n assert(s->identifier);\n fprintf(list, \"%s\\t= %d\\n\",\n s->identifier, s->expr->GetValue() & 0xFFFF);\n }\n fprintf(list, \"\\n\");\n}\n\/\/-----------------------------------------------------------------------------\nvoid Symbol::PrintSymbols()\n{\n for (Symbol * s = symbols; s; s = s->tail)\n {\n if (!s->label) continue;\n\n assert(s->identifier);\n fprintf(sym, \"%4.4X %s\\n\",\n s->expr->GetValue() & 0xFFFF, s->identifier);\n }\n}\n\/\/-----------------------------------------------------------------------------\nint Symbol::GetValue(const char * id)\n{\n for (Symbol * s = symbols; s; s = s->tail)\n {\n assert(s->identifier);\n assert(s->expr);\n if (strcmp(id, s->identifier)) continue;\n return 0xFFFF & Reloc(s->reloc, s->expr->GetValue());\n }\n\n fprintf(stderr, \"Symbol %s not defined\\n\", id);\n assert(0 && \"Symbol Not Defined\");\n return 0;\n}\n\/\/-----------------------------------------------------------------------------\nint Operand::GetValue()\n{\n assert(expr);\n return expr->GetValue();\n}\n\/\/-----------------------------------------------------------------------------\nint Expression::ListBase() const\n{\nint ret = 0;\n\n if (ex) ret += ex->ListBase();\n\n switch(how)\n {\n case EX_NAME:\n assert(name);\n assert(!ex);\n return fprintf(list, \"%s\", name);\n\n case EX_NUMBER:\n assert(!name);\n assert(!ex);\n return fprintf(list, \"%d\", 0xFFFF & number);\n\n case EX_ADD:\n assert(ex);\n ret += fprintf(list, \" + \");\n break;\n\n case EX_SUB:\n assert(ex);\n ret += fprintf(list, \" - \");\n break;\n\n case EX_MULT:\n assert(ex);\n ret += fprintf(list, \" * \");\n break;\n\n case EX_DIV:\n assert(ex);\n ret += fprintf(list, \" \/ \");\n break;\n\n case EX_MOD:\n assert(ex);\n ret += fprintf(list, \" \/ \");\n break;\n\n default: assert(0);\n }\n\n if (name) ret += fprintf(list, \"%s\", name);\n else ret += fprintf(list, \"%d\", number);\n\n return ret;\n}\n\/\/-----------------------------------------------------------------------------\nint Expression::GetValue() const\n{\nint ret;\n\nint my_val = number;\n if (name) my_val = Symbol::GetValue(name);\n\n switch(how)\n {\n case EX_NAME:\n assert(name);\n assert(!ex);\n ret = 0xFFFF & my_val;\n break;\n\n case EX_NUMBER:\n assert(!name);\n assert(!ex);\n ret = 0xFFFF & my_val;\n break;\n\n case EX_ADD:\n assert(ex);\n ret = 0xFFFF & (ex->GetValue() + my_val);\n break;\n\n case EX_SUB:\n assert(ex);\n ret = 0xFFFF & (ex->GetValue() - my_val);\n break;\n\n case EX_MULT:\n assert(ex);\n ret = 0xFFFF & (ex->GetValue() * my_val);\n break;\n\n case EX_DIV:\n assert(ex);\n assert(0xFFFF & my_val);\n ret = 0xFFFF & (ex->GetValue() \/ my_val);\n break;\n\n case EX_MOD:\n assert(ex);\n assert(0xFFFF & my_val);\n ret = 0xFFFF & (ex->GetValue() % my_val);\n break;\n\n default: assert(0);\n }\n\n return ret;\n}\n\/\/-----------------------------------------------------------------------------\nvoid Symbol::Advance(int pc)\n{\n for (; current; current = current->tail)\n {\n if (!current->label) continue;\n\n assert(current->expr);\n int nxt = current->expr->GetValue();\n if (nxt > pc) return;\n\n\n if (nxt == pc)\n {\n assert(current->identifier);\n fprintf(list, \"%s:\\n\", current->identifier);\n continue;\n }\n\n assert(0);\n }\n}\n\/\/-----------------------------------------------------------------------------\nint Opcode::List(int pc)\n{\nint len = 0;\nint ret = 0;\nint real_opcode = GetOpcode(ret);\n\n len += fprintf(list, \" %4.4X: \", 0xFFFF & Reloc(reloc, pc));\n\n assert(op_text);\n if (*op_text != '.')\n {\n len += fprintf(list, \"%2.2X \", real_opcode);\n memory[mem_idx++] = real_opcode;\n }\n\n if (op_1) len += op_1->ListHex(op_how);\n if (op_2) len += op_2->ListHex(op_how);\n\n while (len < 20) len += fprintf(list, \" \");\n\n len += fprintf(list, \"%s \", op_text);\n\n while (len < 22) len += fprintf(list, \" \");\n\n if (op_1) len += op_1->List(op_how);\n if (op_2)\n {\n len += fprintf(list, \", \");\n len += op_2->List(op_how);\n }\n\n fprintf(list, \"\\n\");\n return ret;\n}\n\/\/-----------------------------------------------------------------------------\nint Operand::ListHex(OP_HOW how)\n{\n if (offset) return offset->ListHex(how);\n\n switch(GetLength(how))\n {\n case 0: return 0;\n\n case 1: memory[mem_idx++] = GetValue();\n\t return fprintf(list, \"%2.2X \", GetValue() & 0xFF);\n\n case 2: memory[mem_idx++] = GetValue();\n memory[mem_idx++] = GetValue() >> 8;\n\t return fprintf(list, \"%4.4X \", GetValue() & 0xFFFF);\n\n default: assert(0);\n }\n}\n\/\/-----------------------------------------------------------------------------\nint Operand::List(OP_HOW how)\n{\nint len = 0;\n\n if (offset) len += offset->List(how);\n\n switch(attr)\n {\n case ATT_NONE:\n return len + ListBase(how);\n\n case ATT_OFFSET:\n len += fprintf(list, \"(\");\n len += ListBase(how);\n return len + fprintf(list, \")\");\n\n case ATT_POSTINC:\n len += fprintf(list, \"(\");\n len += ListBase(how);\n return len + fprintf(list, \")+\");\n\n case ATT_PREDEC:\n len += fprintf(list, \"-(\");\n len += ListBase(how);\n return len + fprintf(list, \")\");\n\n case ATT_CONTENT:\n case ATT_PORT:\n case ATT_ADDR:\n len += fprintf(list, \"(\");\n len += ListBase(how);\n return len + fprintf(list, \")\");\n\n case ATT_IMM:\n len += fprintf(list, \"#\");\n return len + ListBase(how);\n\n default: assert(0);\n }\n}\n\/\/-----------------------------------------------------------------------------\nint Operand::ListBase(OP_HOW how)\n{\n if (base != EXPR)\n {\n assert(op_text);\n return fprintf(list, op_text);\n }\n\n if (expr) return expr->ListBase();\n\n switch(GetLength(how))\n {\n case 0: \/\/ quick\n case 1: return fprintf(list, \"%2.2X\", GetValue() & 0x0FF);\n case 2: return fprintf(list, \"%4.4X\", GetValue() & 0x0FFFF);\n }\n\n assert(0);\n}\n\/\/-----------------------------------------------------------------------------\nint Opcode::GetOpcode(int & len) const\n{\n len = GetLength();\n\n switch(op_how)\n {\n case H_BYTE:\n case H_WORD: return op_code;\n case H_NONE: if (len == 1) return op_code;\n if (len == 2)\n {\n assert(op_code & 0x0F1 == 0x61);\n return op_code | 0x01;\n }\n if (len == 3)\n {\n assert(op_code & 0x0F1 == 0x60);\n return op_code;\n }\n\n assert(0);\n case H_PORT: if (len == 2) return op_code;\n assert(0);\n\n case H_sBW:\n case H_uBW: assert((op_code & 0x01) == 0);\n if (len == 2) return op_code | 0x01;\n if (len == 3) return op_code;\n Error();\n assert(0);\n\n case H_uQBW:\n case H_sQBW: assert(op_1);\n assert(op_2);\n assert((op_code & 0x0F) == 0);\n if (len == 3) return 0xF0 | op_code >> 3;\n if (len == 2) return 0xF1 | op_code >> 3;\n\n assert(len == 1);\n if (op_code == 0xC0) \/\/ MOVE #, RR\n\t\t return op_code | op_1->GetValue() & 0x0F;\n if (op_code == 0xE0) \/\/ MOVE #, LL\n\t\t return op_code | op_1->GetValue() & 0x0F;\n\n\t\t return op_code | op_2->GetValue() & 0x0F;\n\n }\n assert(0);\n}\n\/\/-----------------------------------------------------------------------------\nvoid Opcode::Error() const\n{\n fprintf(stderr, \"Error: \");\n if (op_text) fprintf(stderr, \"%s \", op_text);\n fprintf(stderr, \"%X\", op_code);\n fprintf(stderr, \"\\n\");\n}\n\/\/-----------------------------------------------------------------------------\nvoid write_intel_record(FILE * out, int adr, int len)\n{\nchar checksum = 0;\n\n fprintf(out, \":\");\n\n fprintf(out, \"%2.2X\", len & 0xFF);\n checksum += len;\n\n fprintf(out, \"%4.4X\", adr & 0xFFFF);\n checksum += adr >> 8;\n checksum += adr;\n\n if (len == 0) { fprintf(out, \"01\"); checksum ++; } \/\/ end of file\n else { fprintf(out, \"00\"); } \/\/ data\n\n for (int i = adr; i < adr + len; i++)\n {\n fprintf(out, \"%2.2X\", memory[i] & 0xFF);\n checksum += memory[i];\n }\n\n fprintf(out, \"%2.2X\", (-checksum) & 0xFF);\n fprintf(out, \"\\n\");\n}\n\/\/-----------------------------------------------------------------------------\nvoid write_intel_hex(FILE * out)\n{\n for (int i = 0; i < mem_idx; i += 16)\n {\n int len = mem_idx - i;\n if (len > 16) len = 16;\n write_intel_record(out, i, len);\n }\n write_intel_record(out, 0, 0);\n}\n\/\/-----------------------------------------------------------------------------\n","avg_line_length":28.2874880611,"max_line_length":79,"alphanum_fraction":0.441435662} -{"size":124233,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: prog $end\n\n 1 prog: %empty\n\n 2 $@1: %empty\n\n 3 prog: prog $@1 line\n\n 4 $@2: %empty\n\n 5 line: LLAB ':' $@2 line\n\n 6 $@3: %empty\n\n 7 line: LNAME ':' $@3 line\n 8 | ';'\n 9 | inst ';'\n 10 | error ';'\n\n 11 inst: LNAME '=' expr\n 12 | LVAR '=' expr\n 13 | LTYPE0 nonnon\n 14 | LTYPE1 nonrem\n 15 | LTYPE2 rimnon\n 16 | LTYPE3 rimrem\n 17 | LTYPE4 remrim\n 18 | LTYPER nonrel\n 19 | LTYPED spec1\n 20 | LTYPET spec2\n 21 | LTYPEC spec3\n 22 | LTYPEN spec4\n 23 | LTYPES spec5\n 24 | LTYPEM spec6\n 25 | LTYPEI spec7\n 26 | LTYPEXC spec8\n 27 | LTYPEX spec9\n 28 | LTYPERT spec10\n 29 | LTYPEG spec11\n 30 | LTYPEPC spec12\n 31 | LTYPEF spec13\n\n 32 nonnon: %empty\n 33 | ','\n\n 34 rimrem: rim ',' rem\n\n 35 remrim: rem ',' rim\n\n 36 rimnon: rim ','\n 37 | rim\n\n 38 nonrem: ',' rem\n 39 | rem\n\n 40 nonrel: ',' rel\n 41 | rel\n 42 | imm ',' rel\n\n 43 spec1: nam '\/' con ',' imm\n\n 44 spec2: mem ',' imm2\n 45 | mem ',' con ',' imm2\n\n 46 spec3: ',' rom\n 47 | rom\n\n 48 spec4: nonnon\n 49 | nonrem\n\n 50 spec5: rim ',' rem\n 51 | rim ',' rem ':' LLREG\n\n 52 spec6: rim ',' rem\n 53 | rim ',' rem ':' LSREG\n\n 54 spec7: rim ','\n 55 | rim\n 56 | rim ',' rem\n\n 57 spec8: reg ',' rem ',' con\n\n 58 spec9: imm ',' rem ',' reg\n\n 59 spec10: %empty\n 60 | imm\n\n 61 spec11: mem ',' imm\n 62 | mem ',' con ',' imm\n\n 63 spec12: rim ',' rim\n\n 64 spec13: rim ',' rim\n\n 65 rem: reg\n 66 | mem\n\n 67 rom: rel\n 68 | nmem\n 69 | '*' reg\n 70 | '*' omem\n 71 | reg\n 72 | omem\n\n 73 rim: rem\n 74 | imm\n\n 75 rel: con '(' LPC ')'\n 76 | LNAME offset\n 77 | LLAB offset\n\n 78 reg: LBREG\n 79 | LFREG\n 80 | LLREG\n 81 | LMREG\n 82 | LSP\n 83 | LSREG\n 84 | LXREG\n\n 85 imm2: '$' con2\n\n 86 imm: '$' con\n 87 | '$' nam\n 88 | '$' LSCONST\n 89 | '$' LFCONST\n 90 | '$' '(' LFCONST ')'\n 91 | '$' '(' '-' LFCONST ')'\n 92 | '$' '-' LFCONST\n\n 93 mem: omem\n 94 | nmem\n\n 95 omem: con\n 96 | con '(' LLREG ')'\n 97 | con '(' LSP ')'\n 98 | con '(' LSREG ')'\n 99 | con '(' LLREG '*' con ')'\n 100 | con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | '(' LLREG ')'\n 103 | '(' LSP ')'\n 104 | '(' LLREG '*' con ')'\n 105 | '(' LLREG ')' '(' LLREG '*' con ')'\n\n 106 nmem: nam\n 107 | nam '(' LLREG '*' con ')'\n\n 108 nam: LNAME offset '(' pointer ')'\n 109 | LNAME '<' '>' offset '(' LSB ')'\n\n 110 offset: %empty\n 111 | '+' con\n 112 | '-' con\n\n 113 pointer: LSB\n 114 | LSP\n 115 | LFP\n\n 116 con: LCONST\n 117 | LVAR\n 118 | '-' con\n 119 | '+' con\n 120 | '~' con\n 121 | '(' expr ')'\n\n 122 con2: LCONST\n 123 | '-' LCONST\n 124 | LCONST '-' LCONST\n 125 | '-' LCONST '-' LCONST\n\n 126 expr: con\n 127 | expr '+' expr\n 128 | expr '-' expr\n 129 | expr '*' expr\n 130 | expr '\/' expr\n 131 | expr '%' expr\n 132 | expr '<' '<' expr\n 133 | expr '>' '>' expr\n 134 | expr '&' expr\n 135 | expr '^' expr\n 136 | expr '|' expr\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'$' (36) 85 86 87 88 89 90 91 92\n'%' (37) 131\n'&' (38) 134\n'(' (40) 75 90 91 96 97 98 99 100 101 102 103 104 105 107 108 109 121\n')' (41) 75 90 91 96 97 98 99 100 101 102 103 104 105 107 108 109 121\n'*' (42) 69 70 99 100 101 104 105 107 129\n'+' (43) 111 119 127\n',' (44) 33 34 35 36 38 40 42 43 44 45 46 50 51 52 53 54 56 57 58 61\n 62 63 64\n'-' (45) 91 92 112 118 123 124 125 128\n'\/' (47) 43 130\n':' (58) 5 7 51 53\n';' (59) 8 9 10\n'<' (60) 109 132\n'=' (61) 11 12\n'>' (62) 109 133\n'^' (94) 135\n'|' (124) 136\n'~' (126) 120\nerror (256) 10\nLTYPE0 (258) 13\nLTYPE1 (259) 14\nLTYPE2 (260) 15\nLTYPE3 (261) 16\nLTYPE4 (262) 17\nLTYPEC (263) 21\nLTYPED (264) 19\nLTYPEN (265) 22\nLTYPER (266) 18\nLTYPET (267) 20\nLTYPEG (268) 29\nLTYPEPC (269) 30\nLTYPES (270) 23\nLTYPEM (271) 24\nLTYPEI (272) 25\nLTYPEXC (273) 26\nLTYPEX (274) 27\nLTYPERT (275) 28\nLTYPEF (276) 31\nLCONST (277) 116 122 123 124 125\nLFP (278) 115\nLPC (279) 75\nLSB (280) 109 113\nLBREG (281) 78\nLLREG (282) 51 80 96 99 100 101 102 104 105 107\nLSREG (283) 53 83 98 101\nLFREG (284) 79\nLMREG (285) 81\nLXREG (286) 84\nLFCONST (287) 89 90 91 92\nLSCONST (288) 88\nLSP (289) 82 97 103 114\nLNAME (290) 7 11 76 108 109\nLLAB (291) 5 77\nLVAR (292) 12 117\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (56)\n vlevo: 0\nprog (57)\n vlevo: 1 3, vpravo: 0 3\n$@1 (58)\n vlevo: 2, vpravo: 3\nline (59)\n vlevo: 5 7 8 9 10, vpravo: 3 5 7\n$@2 (60)\n vlevo: 4, vpravo: 5\n$@3 (61)\n vlevo: 6, vpravo: 7\ninst (62)\n vlevo: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29\n 30 31, vpravo: 9\nnonnon (63)\n vlevo: 32 33, vpravo: 13 48\nrimrem (64)\n vlevo: 34, vpravo: 16\nremrim (65)\n vlevo: 35, vpravo: 17\nrimnon (66)\n vlevo: 36 37, vpravo: 15\nnonrem (67)\n vlevo: 38 39, vpravo: 14 49\nnonrel (68)\n vlevo: 40 41 42, vpravo: 18\nspec1 (69)\n vlevo: 43, vpravo: 19\nspec2 (70)\n vlevo: 44 45, vpravo: 20\nspec3 (71)\n vlevo: 46 47, vpravo: 21\nspec4 (72)\n vlevo: 48 49, vpravo: 22\nspec5 (73)\n vlevo: 50 51, vpravo: 23\nspec6 (74)\n vlevo: 52 53, vpravo: 24\nspec7 (75)\n vlevo: 54 55 56, vpravo: 25\nspec8 (76)\n vlevo: 57, vpravo: 26\nspec9 (77)\n vlevo: 58, vpravo: 27\nspec10 (78)\n vlevo: 59 60, vpravo: 28\nspec11 (79)\n vlevo: 61 62, vpravo: 29\nspec12 (80)\n vlevo: 63, vpravo: 30\nspec13 (81)\n vlevo: 64, vpravo: 31\nrem (82)\n vlevo: 65 66, vpravo: 34 35 38 39 50 51 52 53 56 57 58 73\nrom (83)\n vlevo: 67 68 69 70 71 72, vpravo: 46 47\nrim (84)\n vlevo: 73 74, vpravo: 34 35 36 37 50 51 52 53 54 55 56 63 64\nrel (85)\n vlevo: 75 76 77, vpravo: 40 41 42 67\nreg (86)\n vlevo: 78 79 80 81 82 83 84, vpravo: 57 58 65 69 71\nimm2 (87)\n vlevo: 85, vpravo: 44 45\nimm (88)\n vlevo: 86 87 88 89 90 91 92, vpravo: 42 43 58 60 61 62 74\nmem (89)\n vlevo: 93 94, vpravo: 44 45 61 62 66\nomem (90)\n vlevo: 95 96 97 98 99 100 101 102 103 104 105, vpravo: 70 72 93\nnmem (91)\n vlevo: 106 107, vpravo: 68 94\nnam (92)\n vlevo: 108 109, vpravo: 43 87 106 107\noffset (93)\n vlevo: 110 111 112, vpravo: 76 77 108 109\npointer (94)\n vlevo: 113 114 115, vpravo: 108\ncon (95)\n vlevo: 116 117 118 119 120 121, vpravo: 43 45 57 62 75 86 95 96\n 97 98 99 100 101 104 105 107 111 112 118 119 120 126\ncon2 (96)\n vlevo: 122 123 124 125, vpravo: 85\nexpr (97)\n vlevo: 126 127 128 129 130 131 132 133 134 135 136, vpravo: 11\n 12 121 127 128 129 130 131 132 133 134 135 136\n\n\nState 0\n\n 0 $accept: . prog $end\n 1 prog: . %empty\n 3 | . prog $@1 line\n\n $v\u00fdchoz\u00ed reduce using rule 1 (prog)\n\n prog p\u0159ej\u00edt do stavu 1\n\n\nState 1\n\n 0 $accept: prog . $end\n 2 $@1: . %empty [error, LTYPE0, LTYPE1, LTYPE2, LTYPE3, LTYPE4, LTYPEC, LTYPED, LTYPEN, LTYPER, LTYPET, LTYPEG, LTYPEPC, LTYPES, LTYPEM, LTYPEI, LTYPEXC, LTYPEX, LTYPERT, LTYPEF, LNAME, LLAB, LVAR, ';']\n 3 prog: prog . $@1 line\n\n $end posunout a p\u0159ej\u00edt do stavu 2\n\n $v\u00fdchoz\u00ed reduce using rule 2 ($@1)\n\n $@1 p\u0159ej\u00edt do stavu 3\n\n\nState 2\n\n 0 $accept: prog $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 3\n\n 3 prog: prog $@1 . line\n 5 line: . LLAB ':' $@2 line\n 7 | . LNAME ':' $@3 line\n 8 | . ';'\n 9 | . inst ';'\n 10 | . error ';'\n 11 inst: . LNAME '=' expr\n 12 | . LVAR '=' expr\n 13 | . LTYPE0 nonnon\n 14 | . LTYPE1 nonrem\n 15 | . LTYPE2 rimnon\n 16 | . LTYPE3 rimrem\n 17 | . LTYPE4 remrim\n 18 | . LTYPER nonrel\n 19 | . LTYPED spec1\n 20 | . LTYPET spec2\n 21 | . LTYPEC spec3\n 22 | . LTYPEN spec4\n 23 | . LTYPES spec5\n 24 | . LTYPEM spec6\n 25 | . LTYPEI spec7\n 26 | . LTYPEXC spec8\n 27 | . LTYPEX spec9\n 28 | . LTYPERT spec10\n 29 | . LTYPEG spec11\n 30 | . LTYPEPC spec12\n 31 | . LTYPEF spec13\n\n error posunout a p\u0159ej\u00edt do stavu 4\n LTYPE0 posunout a p\u0159ej\u00edt do stavu 5\n LTYPE1 posunout a p\u0159ej\u00edt do stavu 6\n LTYPE2 posunout a p\u0159ej\u00edt do stavu 7\n LTYPE3 posunout a p\u0159ej\u00edt do stavu 8\n LTYPE4 posunout a p\u0159ej\u00edt do stavu 9\n LTYPEC posunout a p\u0159ej\u00edt do stavu 10\n LTYPED posunout a p\u0159ej\u00edt do stavu 11\n LTYPEN posunout a p\u0159ej\u00edt do stavu 12\n LTYPER posunout a p\u0159ej\u00edt do stavu 13\n LTYPET posunout a p\u0159ej\u00edt do stavu 14\n LTYPEG posunout a p\u0159ej\u00edt do stavu 15\n LTYPEPC posunout a p\u0159ej\u00edt do stavu 16\n LTYPES posunout a p\u0159ej\u00edt do stavu 17\n LTYPEM posunout a p\u0159ej\u00edt do stavu 18\n LTYPEI posunout a p\u0159ej\u00edt do stavu 19\n LTYPEXC posunout a p\u0159ej\u00edt do stavu 20\n LTYPEX posunout a p\u0159ej\u00edt do stavu 21\n LTYPERT posunout a p\u0159ej\u00edt do stavu 22\n LTYPEF posunout a p\u0159ej\u00edt do stavu 23\n LNAME posunout a p\u0159ej\u00edt do stavu 24\n LLAB posunout a p\u0159ej\u00edt do stavu 25\n LVAR posunout a p\u0159ej\u00edt do stavu 26\n ';' posunout a p\u0159ej\u00edt do stavu 27\n\n line p\u0159ej\u00edt do stavu 28\n inst p\u0159ej\u00edt do stavu 29\n\n\nState 4\n\n 10 line: error . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 30\n\n\nState 5\n\n 13 inst: LTYPE0 . nonnon\n 32 nonnon: . %empty [';']\n 33 | . ','\n\n ',' posunout a p\u0159ej\u00edt do stavu 31\n\n $v\u00fdchoz\u00ed reduce using rule 32 (nonnon)\n\n nonnon p\u0159ej\u00edt do stavu 32\n\n\nState 6\n\n 14 inst: LTYPE1 . nonrem\n 38 nonrem: . ',' rem\n 39 | . rem\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n ',' posunout a p\u0159ej\u00edt do stavu 45\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n nonrem p\u0159ej\u00edt do stavu 48\n rem p\u0159ej\u00edt do stavu 49\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 7\n\n 15 inst: LTYPE2 . rimnon\n 36 rimnon: . rim ','\n 37 | . rim\n 65 rem: . reg\n 66 | . mem\n 73 rim: . rem\n 74 | . imm\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rimnon p\u0159ej\u00edt do stavu 57\n rem p\u0159ej\u00edt do stavu 58\n rim p\u0159ej\u00edt do stavu 59\n reg p\u0159ej\u00edt do stavu 50\n imm p\u0159ej\u00edt do stavu 60\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 8\n\n 16 inst: LTYPE3 . rimrem\n 34 rimrem: . rim ',' rem\n 65 rem: . reg\n 66 | . mem\n 73 rim: . rem\n 74 | . imm\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rimrem p\u0159ej\u00edt do stavu 61\n rem p\u0159ej\u00edt do stavu 58\n rim p\u0159ej\u00edt do stavu 62\n reg p\u0159ej\u00edt do stavu 50\n imm p\u0159ej\u00edt do stavu 60\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 9\n\n 17 inst: LTYPE4 . remrim\n 35 remrim: . rem ',' rim\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n remrim p\u0159ej\u00edt do stavu 63\n rem p\u0159ej\u00edt do stavu 64\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 10\n\n 21 inst: LTYPEC . spec3\n 46 spec3: . ',' rom\n 47 | . rom\n 67 rom: . rel\n 68 | . nmem\n 69 | . '*' reg\n 70 | . '*' omem\n 71 | . reg\n 72 | . omem\n 75 rel: . con '(' LPC ')'\n 76 | . LNAME offset\n 77 | . LLAB offset\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n '*' posunout a p\u0159ej\u00edt do stavu 65\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 66\n LLAB posunout a p\u0159ej\u00edt do stavu 67\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n ',' posunout a p\u0159ej\u00edt do stavu 68\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n spec3 p\u0159ej\u00edt do stavu 69\n rom p\u0159ej\u00edt do stavu 70\n rel p\u0159ej\u00edt do stavu 71\n reg p\u0159ej\u00edt do stavu 72\n omem p\u0159ej\u00edt do stavu 73\n nmem p\u0159ej\u00edt do stavu 74\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 75\n\n\nState 11\n\n 19 inst: LTYPED . spec1\n 43 spec1: . nam '\/' con ',' imm\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n\n spec1 p\u0159ej\u00edt do stavu 76\n nam p\u0159ej\u00edt do stavu 77\n\n\nState 12\n\n 22 inst: LTYPEN . spec4\n 32 nonnon: . %empty [';']\n 33 | . ','\n 38 nonrem: . ',' rem\n 39 | . rem\n 48 spec4: . nonnon\n 49 | . nonrem\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n ',' posunout a p\u0159ej\u00edt do stavu 78\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n $v\u00fdchoz\u00ed reduce using rule 32 (nonnon)\n\n nonnon p\u0159ej\u00edt do stavu 79\n nonrem p\u0159ej\u00edt do stavu 80\n spec4 p\u0159ej\u00edt do stavu 81\n rem p\u0159ej\u00edt do stavu 49\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 13\n\n 18 inst: LTYPER . nonrel\n 40 nonrel: . ',' rel\n 41 | . rel\n 42 | . imm ',' rel\n 75 rel: . con '(' LPC ')'\n 76 | . LNAME offset\n 77 | . LLAB offset\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LNAME posunout a p\u0159ej\u00edt do stavu 82\n LLAB posunout a p\u0159ej\u00edt do stavu 67\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n ',' posunout a p\u0159ej\u00edt do stavu 83\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n nonrel p\u0159ej\u00edt do stavu 85\n rel p\u0159ej\u00edt do stavu 86\n imm p\u0159ej\u00edt do stavu 87\n con p\u0159ej\u00edt do stavu 88\n\n\nState 14\n\n 20 inst: LTYPET . spec2\n 44 spec2: . mem ',' imm2\n 45 | . mem ',' con ',' imm2\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n spec2 p\u0159ej\u00edt do stavu 89\n mem p\u0159ej\u00edt do stavu 90\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 15\n\n 29 inst: LTYPEG . spec11\n 61 spec11: . mem ',' imm\n 62 | . mem ',' con ',' imm\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n spec11 p\u0159ej\u00edt do stavu 91\n mem p\u0159ej\u00edt do stavu 92\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 16\n\n 30 inst: LTYPEPC . spec12\n 63 spec12: . rim ',' rim\n 65 rem: . reg\n 66 | . mem\n 73 rim: . rem\n 74 | . imm\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n spec12 p\u0159ej\u00edt do stavu 93\n rem p\u0159ej\u00edt do stavu 58\n rim p\u0159ej\u00edt do stavu 94\n reg p\u0159ej\u00edt do stavu 50\n imm p\u0159ej\u00edt do stavu 60\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 17\n\n 23 inst: LTYPES . spec5\n 50 spec5: . rim ',' rem\n 51 | . rim ',' rem ':' LLREG\n 65 rem: . reg\n 66 | . mem\n 73 rim: . rem\n 74 | . imm\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n spec5 p\u0159ej\u00edt do stavu 95\n rem p\u0159ej\u00edt do stavu 58\n rim p\u0159ej\u00edt do stavu 96\n reg p\u0159ej\u00edt do stavu 50\n imm p\u0159ej\u00edt do stavu 60\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 18\n\n 24 inst: LTYPEM . spec6\n 52 spec6: . rim ',' rem\n 53 | . rim ',' rem ':' LSREG\n 65 rem: . reg\n 66 | . mem\n 73 rim: . rem\n 74 | . imm\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n spec6 p\u0159ej\u00edt do stavu 97\n rem p\u0159ej\u00edt do stavu 58\n rim p\u0159ej\u00edt do stavu 98\n reg p\u0159ej\u00edt do stavu 50\n imm p\u0159ej\u00edt do stavu 60\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 19\n\n 25 inst: LTYPEI . spec7\n 54 spec7: . rim ','\n 55 | . rim\n 56 | . rim ',' rem\n 65 rem: . reg\n 66 | . mem\n 73 rim: . rem\n 74 | . imm\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n spec7 p\u0159ej\u00edt do stavu 99\n rem p\u0159ej\u00edt do stavu 58\n rim p\u0159ej\u00edt do stavu 100\n reg p\u0159ej\u00edt do stavu 50\n imm p\u0159ej\u00edt do stavu 60\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 20\n\n 26 inst: LTYPEXC . spec8\n 57 spec8: . reg ',' rem ',' con\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n\n spec8 p\u0159ej\u00edt do stavu 101\n reg p\u0159ej\u00edt do stavu 102\n\n\nState 21\n\n 27 inst: LTYPEX . spec9\n 58 spec9: . imm ',' rem ',' reg\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n\n '$' posunout a p\u0159ej\u00edt do stavu 56\n\n spec9 p\u0159ej\u00edt do stavu 103\n imm p\u0159ej\u00edt do stavu 104\n\n\nState 22\n\n 28 inst: LTYPERT . spec10\n 59 spec10: . %empty [';']\n 60 | . imm\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n\n '$' posunout a p\u0159ej\u00edt do stavu 56\n\n $v\u00fdchoz\u00ed reduce using rule 59 (spec10)\n\n spec10 p\u0159ej\u00edt do stavu 105\n imm p\u0159ej\u00edt do stavu 106\n\n\nState 23\n\n 31 inst: LTYPEF . spec13\n 64 spec13: . rim ',' rim\n 65 rem: . reg\n 66 | . mem\n 73 rim: . rem\n 74 | . imm\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n spec13 p\u0159ej\u00edt do stavu 107\n rem p\u0159ej\u00edt do stavu 58\n rim p\u0159ej\u00edt do stavu 108\n reg p\u0159ej\u00edt do stavu 50\n imm p\u0159ej\u00edt do stavu 60\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 24\n\n 7 line: LNAME . ':' $@3 line\n 11 inst: LNAME . '=' expr\n\n ':' posunout a p\u0159ej\u00edt do stavu 109\n '=' posunout a p\u0159ej\u00edt do stavu 110\n\n\nState 25\n\n 5 line: LLAB . ':' $@2 line\n\n ':' posunout a p\u0159ej\u00edt do stavu 111\n\n\nState 26\n\n 12 inst: LVAR . '=' expr\n\n '=' posunout a p\u0159ej\u00edt do stavu 112\n\n\nState 27\n\n 8 line: ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 8 (line)\n\n\nState 28\n\n 3 prog: prog $@1 line .\n\n $v\u00fdchoz\u00ed reduce using rule 3 (prog)\n\n\nState 29\n\n 9 line: inst . ';'\n\n ';' posunout a p\u0159ej\u00edt do stavu 113\n\n\nState 30\n\n 10 line: error ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 10 (line)\n\n\nState 31\n\n 33 nonnon: ',' .\n\n $v\u00fdchoz\u00ed reduce using rule 33 (nonnon)\n\n\nState 32\n\n 13 inst: LTYPE0 nonnon .\n\n $v\u00fdchoz\u00ed reduce using rule 13 (inst)\n\n\nState 33\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 119 | '+' . con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 114\n\n\nState 34\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 118 | '-' . con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 115\n\n\nState 35\n\n 116 con: LCONST .\n\n $v\u00fdchoz\u00ed reduce using rule 116 (con)\n\n\nState 36\n\n 78 reg: LBREG .\n\n $v\u00fdchoz\u00ed reduce using rule 78 (reg)\n\n\nState 37\n\n 80 reg: LLREG .\n\n $v\u00fdchoz\u00ed reduce using rule 80 (reg)\n\n\nState 38\n\n 83 reg: LSREG .\n\n $v\u00fdchoz\u00ed reduce using rule 83 (reg)\n\n\nState 39\n\n 79 reg: LFREG .\n\n $v\u00fdchoz\u00ed reduce using rule 79 (reg)\n\n\nState 40\n\n 81 reg: LMREG .\n\n $v\u00fdchoz\u00ed reduce using rule 81 (reg)\n\n\nState 41\n\n 84 reg: LXREG .\n\n $v\u00fdchoz\u00ed reduce using rule 84 (reg)\n\n\nState 42\n\n 82 reg: LSP .\n\n $v\u00fdchoz\u00ed reduce using rule 82 (reg)\n\n\nState 43\n\n 108 nam: LNAME . offset '(' pointer ')'\n 109 | LNAME . '<' '>' offset '(' LSB ')'\n 110 offset: . %empty ['(']\n 111 | . '+' con\n 112 | . '-' con\n\n '<' posunout a p\u0159ej\u00edt do stavu 116\n '+' posunout a p\u0159ej\u00edt do stavu 117\n '-' posunout a p\u0159ej\u00edt do stavu 118\n\n $v\u00fdchoz\u00ed reduce using rule 110 (offset)\n\n offset p\u0159ej\u00edt do stavu 119\n\n\nState 44\n\n 117 con: LVAR .\n\n $v\u00fdchoz\u00ed reduce using rule 117 (con)\n\n\nState 45\n\n 38 nonrem: ',' . rem\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rem p\u0159ej\u00edt do stavu 120\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 46\n\n 102 omem: '(' . LLREG ')'\n 103 | '(' . LSP ')'\n 104 | '(' . LLREG '*' con ')'\n 105 | '(' . LLREG ')' '(' LLREG '*' con ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 121 | '(' . expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LLREG posunout a p\u0159ej\u00edt do stavu 121\n LSP posunout a p\u0159ej\u00edt do stavu 122\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 124\n\n\nState 47\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 120 | '~' . con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 125\n\n\nState 48\n\n 14 inst: LTYPE1 nonrem .\n\n $v\u00fdchoz\u00ed reduce using rule 14 (inst)\n\n\nState 49\n\n 39 nonrem: rem .\n\n $v\u00fdchoz\u00ed reduce using rule 39 (nonrem)\n\n\nState 50\n\n 65 rem: reg .\n\n $v\u00fdchoz\u00ed reduce using rule 65 (rem)\n\n\nState 51\n\n 66 rem: mem .\n\n $v\u00fdchoz\u00ed reduce using rule 66 (rem)\n\n\nState 52\n\n 93 mem: omem .\n\n $v\u00fdchoz\u00ed reduce using rule 93 (mem)\n\n\nState 53\n\n 94 mem: nmem .\n\n $v\u00fdchoz\u00ed reduce using rule 94 (mem)\n\n\nState 54\n\n 106 nmem: nam . [':', ';', ',']\n 107 | nam . '(' LLREG '*' con ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 126\n\n $v\u00fdchoz\u00ed reduce using rule 106 (nmem)\n\n\nState 55\n\n 95 omem: con . [':', ';', ',']\n 96 | con . '(' LLREG ')'\n 97 | con . '(' LSP ')'\n 98 | con . '(' LSREG ')'\n 99 | con . '(' LLREG '*' con ')'\n 100 | con . '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | con . '(' LLREG ')' '(' LSREG '*' con ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 127\n\n $v\u00fdchoz\u00ed reduce using rule 95 (omem)\n\n\nState 56\n\n 86 imm: '$' . con\n 87 | '$' . nam\n 88 | '$' . LSCONST\n 89 | '$' . LFCONST\n 90 | '$' . '(' LFCONST ')'\n 91 | '$' . '(' '-' LFCONST ')'\n 92 | '$' . '-' LFCONST\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 128\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LFCONST posunout a p\u0159ej\u00edt do stavu 129\n LSCONST posunout a p\u0159ej\u00edt do stavu 130\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 131\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n nam p\u0159ej\u00edt do stavu 132\n con p\u0159ej\u00edt do stavu 133\n\n\nState 57\n\n 15 inst: LTYPE2 rimnon .\n\n $v\u00fdchoz\u00ed reduce using rule 15 (inst)\n\n\nState 58\n\n 73 rim: rem .\n\n $v\u00fdchoz\u00ed reduce using rule 73 (rim)\n\n\nState 59\n\n 36 rimnon: rim . ','\n 37 | rim . [';']\n\n ',' posunout a p\u0159ej\u00edt do stavu 134\n\n $v\u00fdchoz\u00ed reduce using rule 37 (rimnon)\n\n\nState 60\n\n 74 rim: imm .\n\n $v\u00fdchoz\u00ed reduce using rule 74 (rim)\n\n\nState 61\n\n 16 inst: LTYPE3 rimrem .\n\n $v\u00fdchoz\u00ed reduce using rule 16 (inst)\n\n\nState 62\n\n 34 rimrem: rim . ',' rem\n\n ',' posunout a p\u0159ej\u00edt do stavu 135\n\n\nState 63\n\n 17 inst: LTYPE4 remrim .\n\n $v\u00fdchoz\u00ed reduce using rule 17 (inst)\n\n\nState 64\n\n 35 remrim: rem . ',' rim\n\n ',' posunout a p\u0159ej\u00edt do stavu 136\n\n\nState 65\n\n 69 rom: '*' . reg\n 70 | '*' . omem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n reg p\u0159ej\u00edt do stavu 137\n omem p\u0159ej\u00edt do stavu 138\n con p\u0159ej\u00edt do stavu 55\n\n\nState 66\n\n 76 rel: LNAME . offset\n 108 nam: LNAME . offset '(' pointer ')'\n 109 | LNAME . '<' '>' offset '(' LSB ')'\n 110 offset: . %empty [';', '(']\n 111 | . '+' con\n 112 | . '-' con\n\n '<' posunout a p\u0159ej\u00edt do stavu 116\n '+' posunout a p\u0159ej\u00edt do stavu 117\n '-' posunout a p\u0159ej\u00edt do stavu 118\n\n $v\u00fdchoz\u00ed reduce using rule 110 (offset)\n\n offset p\u0159ej\u00edt do stavu 139\n\n\nState 67\n\n 77 rel: LLAB . offset\n 110 offset: . %empty [';']\n 111 | . '+' con\n 112 | . '-' con\n\n '+' posunout a p\u0159ej\u00edt do stavu 117\n '-' posunout a p\u0159ej\u00edt do stavu 118\n\n $v\u00fdchoz\u00ed reduce using rule 110 (offset)\n\n offset p\u0159ej\u00edt do stavu 140\n\n\nState 68\n\n 46 spec3: ',' . rom\n 67 rom: . rel\n 68 | . nmem\n 69 | . '*' reg\n 70 | . '*' omem\n 71 | . reg\n 72 | . omem\n 75 rel: . con '(' LPC ')'\n 76 | . LNAME offset\n 77 | . LLAB offset\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n '*' posunout a p\u0159ej\u00edt do stavu 65\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 66\n LLAB posunout a p\u0159ej\u00edt do stavu 67\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rom p\u0159ej\u00edt do stavu 141\n rel p\u0159ej\u00edt do stavu 71\n reg p\u0159ej\u00edt do stavu 72\n omem p\u0159ej\u00edt do stavu 73\n nmem p\u0159ej\u00edt do stavu 74\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 75\n\n\nState 69\n\n 21 inst: LTYPEC spec3 .\n\n $v\u00fdchoz\u00ed reduce using rule 21 (inst)\n\n\nState 70\n\n 47 spec3: rom .\n\n $v\u00fdchoz\u00ed reduce using rule 47 (spec3)\n\n\nState 71\n\n 67 rom: rel .\n\n $v\u00fdchoz\u00ed reduce using rule 67 (rom)\n\n\nState 72\n\n 71 rom: reg .\n\n $v\u00fdchoz\u00ed reduce using rule 71 (rom)\n\n\nState 73\n\n 72 rom: omem .\n\n $v\u00fdchoz\u00ed reduce using rule 72 (rom)\n\n\nState 74\n\n 68 rom: nmem .\n\n $v\u00fdchoz\u00ed reduce using rule 68 (rom)\n\n\nState 75\n\n 75 rel: con . '(' LPC ')'\n 95 omem: con . [';']\n 96 | con . '(' LLREG ')'\n 97 | con . '(' LSP ')'\n 98 | con . '(' LSREG ')'\n 99 | con . '(' LLREG '*' con ')'\n 100 | con . '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | con . '(' LLREG ')' '(' LSREG '*' con ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 142\n\n $v\u00fdchoz\u00ed reduce using rule 95 (omem)\n\n\nState 76\n\n 19 inst: LTYPED spec1 .\n\n $v\u00fdchoz\u00ed reduce using rule 19 (inst)\n\n\nState 77\n\n 43 spec1: nam . '\/' con ',' imm\n\n '\/' posunout a p\u0159ej\u00edt do stavu 143\n\n\nState 78\n\n 33 nonnon: ',' . [';']\n 38 nonrem: ',' . rem\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n $v\u00fdchoz\u00ed reduce using rule 33 (nonnon)\n\n rem p\u0159ej\u00edt do stavu 120\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 79\n\n 48 spec4: nonnon .\n\n $v\u00fdchoz\u00ed reduce using rule 48 (spec4)\n\n\nState 80\n\n 49 spec4: nonrem .\n\n $v\u00fdchoz\u00ed reduce using rule 49 (spec4)\n\n\nState 81\n\n 22 inst: LTYPEN spec4 .\n\n $v\u00fdchoz\u00ed reduce using rule 22 (inst)\n\n\nState 82\n\n 76 rel: LNAME . offset\n 110 offset: . %empty [';']\n 111 | . '+' con\n 112 | . '-' con\n\n '+' posunout a p\u0159ej\u00edt do stavu 117\n '-' posunout a p\u0159ej\u00edt do stavu 118\n\n $v\u00fdchoz\u00ed reduce using rule 110 (offset)\n\n offset p\u0159ej\u00edt do stavu 144\n\n\nState 83\n\n 40 nonrel: ',' . rel\n 75 rel: . con '(' LPC ')'\n 76 | . LNAME offset\n 77 | . LLAB offset\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LNAME posunout a p\u0159ej\u00edt do stavu 82\n LLAB posunout a p\u0159ej\u00edt do stavu 67\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rel p\u0159ej\u00edt do stavu 145\n con p\u0159ej\u00edt do stavu 88\n\n\nState 84\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 121 | '(' . expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 124\n\n\nState 85\n\n 18 inst: LTYPER nonrel .\n\n $v\u00fdchoz\u00ed reduce using rule 18 (inst)\n\n\nState 86\n\n 41 nonrel: rel .\n\n $v\u00fdchoz\u00ed reduce using rule 41 (nonrel)\n\n\nState 87\n\n 42 nonrel: imm . ',' rel\n\n ',' posunout a p\u0159ej\u00edt do stavu 146\n\n\nState 88\n\n 75 rel: con . '(' LPC ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 147\n\n\nState 89\n\n 20 inst: LTYPET spec2 .\n\n $v\u00fdchoz\u00ed reduce using rule 20 (inst)\n\n\nState 90\n\n 44 spec2: mem . ',' imm2\n 45 | mem . ',' con ',' imm2\n\n ',' posunout a p\u0159ej\u00edt do stavu 148\n\n\nState 91\n\n 29 inst: LTYPEG spec11 .\n\n $v\u00fdchoz\u00ed reduce using rule 29 (inst)\n\n\nState 92\n\n 61 spec11: mem . ',' imm\n 62 | mem . ',' con ',' imm\n\n ',' posunout a p\u0159ej\u00edt do stavu 149\n\n\nState 93\n\n 30 inst: LTYPEPC spec12 .\n\n $v\u00fdchoz\u00ed reduce using rule 30 (inst)\n\n\nState 94\n\n 63 spec12: rim . ',' rim\n\n ',' posunout a p\u0159ej\u00edt do stavu 150\n\n\nState 95\n\n 23 inst: LTYPES spec5 .\n\n $v\u00fdchoz\u00ed reduce using rule 23 (inst)\n\n\nState 96\n\n 50 spec5: rim . ',' rem\n 51 | rim . ',' rem ':' LLREG\n\n ',' posunout a p\u0159ej\u00edt do stavu 151\n\n\nState 97\n\n 24 inst: LTYPEM spec6 .\n\n $v\u00fdchoz\u00ed reduce using rule 24 (inst)\n\n\nState 98\n\n 52 spec6: rim . ',' rem\n 53 | rim . ',' rem ':' LSREG\n\n ',' posunout a p\u0159ej\u00edt do stavu 152\n\n\nState 99\n\n 25 inst: LTYPEI spec7 .\n\n $v\u00fdchoz\u00ed reduce using rule 25 (inst)\n\n\nState 100\n\n 54 spec7: rim . ','\n 55 | rim . [';']\n 56 | rim . ',' rem\n\n ',' posunout a p\u0159ej\u00edt do stavu 153\n\n $v\u00fdchoz\u00ed reduce using rule 55 (spec7)\n\n\nState 101\n\n 26 inst: LTYPEXC spec8 .\n\n $v\u00fdchoz\u00ed reduce using rule 26 (inst)\n\n\nState 102\n\n 57 spec8: reg . ',' rem ',' con\n\n ',' posunout a p\u0159ej\u00edt do stavu 154\n\n\nState 103\n\n 27 inst: LTYPEX spec9 .\n\n $v\u00fdchoz\u00ed reduce using rule 27 (inst)\n\n\nState 104\n\n 58 spec9: imm . ',' rem ',' reg\n\n ',' posunout a p\u0159ej\u00edt do stavu 155\n\n\nState 105\n\n 28 inst: LTYPERT spec10 .\n\n $v\u00fdchoz\u00ed reduce using rule 28 (inst)\n\n\nState 106\n\n 60 spec10: imm .\n\n $v\u00fdchoz\u00ed reduce using rule 60 (spec10)\n\n\nState 107\n\n 31 inst: LTYPEF spec13 .\n\n $v\u00fdchoz\u00ed reduce using rule 31 (inst)\n\n\nState 108\n\n 64 spec13: rim . ',' rim\n\n ',' posunout a p\u0159ej\u00edt do stavu 156\n\n\nState 109\n\n 6 $@3: . %empty\n 7 line: LNAME ':' . $@3 line\n\n $v\u00fdchoz\u00ed reduce using rule 6 ($@3)\n\n $@3 p\u0159ej\u00edt do stavu 157\n\n\nState 110\n\n 11 inst: LNAME '=' . expr\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 158\n\n\nState 111\n\n 4 $@2: . %empty\n 5 line: LLAB ':' . $@2 line\n\n $v\u00fdchoz\u00ed reduce using rule 4 ($@2)\n\n $@2 p\u0159ej\u00edt do stavu 159\n\n\nState 112\n\n 12 inst: LVAR '=' . expr\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 160\n\n\nState 113\n\n 9 line: inst ';' .\n\n $v\u00fdchoz\u00ed reduce using rule 9 (line)\n\n\nState 114\n\n 119 con: '+' con .\n\n $v\u00fdchoz\u00ed reduce using rule 119 (con)\n\n\nState 115\n\n 118 con: '-' con .\n\n $v\u00fdchoz\u00ed reduce using rule 118 (con)\n\n\nState 116\n\n 109 nam: LNAME '<' . '>' offset '(' LSB ')'\n\n '>' posunout a p\u0159ej\u00edt do stavu 161\n\n\nState 117\n\n 111 offset: '+' . con\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 162\n\n\nState 118\n\n 112 offset: '-' . con\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 163\n\n\nState 119\n\n 108 nam: LNAME offset . '(' pointer ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 164\n\n\nState 120\n\n 38 nonrem: ',' rem .\n\n $v\u00fdchoz\u00ed reduce using rule 38 (nonrem)\n\n\nState 121\n\n 102 omem: '(' LLREG . ')'\n 104 | '(' LLREG . '*' con ')'\n 105 | '(' LLREG . ')' '(' LLREG '*' con ')'\n\n '*' posunout a p\u0159ej\u00edt do stavu 165\n ')' posunout a p\u0159ej\u00edt do stavu 166\n\n\nState 122\n\n 103 omem: '(' LSP . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 167\n\n\nState 123\n\n 126 expr: con .\n\n $v\u00fdchoz\u00ed reduce using rule 126 (expr)\n\n\nState 124\n\n 121 con: '(' expr . ')'\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n '|' posunout a p\u0159ej\u00edt do stavu 168\n '^' posunout a p\u0159ej\u00edt do stavu 169\n '&' posunout a p\u0159ej\u00edt do stavu 170\n '<' posunout a p\u0159ej\u00edt do stavu 171\n '>' posunout a p\u0159ej\u00edt do stavu 172\n '+' posunout a p\u0159ej\u00edt do stavu 173\n '-' posunout a p\u0159ej\u00edt do stavu 174\n '*' posunout a p\u0159ej\u00edt do stavu 175\n '\/' posunout a p\u0159ej\u00edt do stavu 176\n '%' posunout a p\u0159ej\u00edt do stavu 177\n ')' posunout a p\u0159ej\u00edt do stavu 178\n\n\nState 125\n\n 120 con: '~' con .\n\n $v\u00fdchoz\u00ed reduce using rule 120 (con)\n\n\nState 126\n\n 107 nmem: nam '(' . LLREG '*' con ')'\n\n LLREG posunout a p\u0159ej\u00edt do stavu 179\n\n\nState 127\n\n 96 omem: con '(' . LLREG ')'\n 97 | con '(' . LSP ')'\n 98 | con '(' . LSREG ')'\n 99 | con '(' . LLREG '*' con ')'\n 100 | con '(' . LLREG ')' '(' LLREG '*' con ')'\n 101 | con '(' . LLREG ')' '(' LSREG '*' con ')'\n\n LLREG posunout a p\u0159ej\u00edt do stavu 180\n LSREG posunout a p\u0159ej\u00edt do stavu 181\n LSP posunout a p\u0159ej\u00edt do stavu 182\n\n\nState 128\n\n 92 imm: '$' '-' . LFCONST\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 118 | '-' . con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LFCONST posunout a p\u0159ej\u00edt do stavu 183\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 115\n\n\nState 129\n\n 89 imm: '$' LFCONST .\n\n $v\u00fdchoz\u00ed reduce using rule 89 (imm)\n\n\nState 130\n\n 88 imm: '$' LSCONST .\n\n $v\u00fdchoz\u00ed reduce using rule 88 (imm)\n\n\nState 131\n\n 90 imm: '$' '(' . LFCONST ')'\n 91 | '$' '(' . '-' LFCONST ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 121 | '(' . expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 184\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LFCONST posunout a p\u0159ej\u00edt do stavu 185\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 124\n\n\nState 132\n\n 87 imm: '$' nam .\n\n $v\u00fdchoz\u00ed reduce using rule 87 (imm)\n\n\nState 133\n\n 86 imm: '$' con .\n\n $v\u00fdchoz\u00ed reduce using rule 86 (imm)\n\n\nState 134\n\n 36 rimnon: rim ',' .\n\n $v\u00fdchoz\u00ed reduce using rule 36 (rimnon)\n\n\nState 135\n\n 34 rimrem: rim ',' . rem\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rem p\u0159ej\u00edt do stavu 186\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 136\n\n 35 remrim: rem ',' . rim\n 65 rem: . reg\n 66 | . mem\n 73 rim: . rem\n 74 | . imm\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rem p\u0159ej\u00edt do stavu 58\n rim p\u0159ej\u00edt do stavu 187\n reg p\u0159ej\u00edt do stavu 50\n imm p\u0159ej\u00edt do stavu 60\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 137\n\n 69 rom: '*' reg .\n\n $v\u00fdchoz\u00ed reduce using rule 69 (rom)\n\n\nState 138\n\n 70 rom: '*' omem .\n\n $v\u00fdchoz\u00ed reduce using rule 70 (rom)\n\n\nState 139\n\n 76 rel: LNAME offset . [';']\n 108 nam: LNAME offset . '(' pointer ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 164\n\n $v\u00fdchoz\u00ed reduce using rule 76 (rel)\n\n\nState 140\n\n 77 rel: LLAB offset .\n\n $v\u00fdchoz\u00ed reduce using rule 77 (rel)\n\n\nState 141\n\n 46 spec3: ',' rom .\n\n $v\u00fdchoz\u00ed reduce using rule 46 (spec3)\n\n\nState 142\n\n 75 rel: con '(' . LPC ')'\n 96 omem: con '(' . LLREG ')'\n 97 | con '(' . LSP ')'\n 98 | con '(' . LSREG ')'\n 99 | con '(' . LLREG '*' con ')'\n 100 | con '(' . LLREG ')' '(' LLREG '*' con ')'\n 101 | con '(' . LLREG ')' '(' LSREG '*' con ')'\n\n LPC posunout a p\u0159ej\u00edt do stavu 188\n LLREG posunout a p\u0159ej\u00edt do stavu 180\n LSREG posunout a p\u0159ej\u00edt do stavu 181\n LSP posunout a p\u0159ej\u00edt do stavu 182\n\n\nState 143\n\n 43 spec1: nam '\/' . con ',' imm\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 189\n\n\nState 144\n\n 76 rel: LNAME offset .\n\n $v\u00fdchoz\u00ed reduce using rule 76 (rel)\n\n\nState 145\n\n 40 nonrel: ',' rel .\n\n $v\u00fdchoz\u00ed reduce using rule 40 (nonrel)\n\n\nState 146\n\n 42 nonrel: imm ',' . rel\n 75 rel: . con '(' LPC ')'\n 76 | . LNAME offset\n 77 | . LLAB offset\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LNAME posunout a p\u0159ej\u00edt do stavu 82\n LLAB posunout a p\u0159ej\u00edt do stavu 67\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rel p\u0159ej\u00edt do stavu 190\n con p\u0159ej\u00edt do stavu 88\n\n\nState 147\n\n 75 rel: con '(' . LPC ')'\n\n LPC posunout a p\u0159ej\u00edt do stavu 188\n\n\nState 148\n\n 44 spec2: mem ',' . imm2\n 45 | mem ',' . con ',' imm2\n 85 imm2: . '$' con2\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '$' posunout a p\u0159ej\u00edt do stavu 191\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n imm2 p\u0159ej\u00edt do stavu 192\n con p\u0159ej\u00edt do stavu 193\n\n\nState 149\n\n 61 spec11: mem ',' . imm\n 62 | mem ',' . con ',' imm\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n imm p\u0159ej\u00edt do stavu 194\n con p\u0159ej\u00edt do stavu 195\n\n\nState 150\n\n 63 spec12: rim ',' . rim\n 65 rem: . reg\n 66 | . mem\n 73 rim: . rem\n 74 | . imm\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rem p\u0159ej\u00edt do stavu 58\n rim p\u0159ej\u00edt do stavu 196\n reg p\u0159ej\u00edt do stavu 50\n imm p\u0159ej\u00edt do stavu 60\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 151\n\n 50 spec5: rim ',' . rem\n 51 | rim ',' . rem ':' LLREG\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rem p\u0159ej\u00edt do stavu 197\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 152\n\n 52 spec6: rim ',' . rem\n 53 | rim ',' . rem ':' LSREG\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rem p\u0159ej\u00edt do stavu 198\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 153\n\n 54 spec7: rim ',' . [';']\n 56 | rim ',' . rem\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n $v\u00fdchoz\u00ed reduce using rule 54 (spec7)\n\n rem p\u0159ej\u00edt do stavu 199\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 154\n\n 57 spec8: reg ',' . rem ',' con\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rem p\u0159ej\u00edt do stavu 200\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 155\n\n 58 spec9: imm ',' . rem ',' reg\n 65 rem: . reg\n 66 | . mem\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rem p\u0159ej\u00edt do stavu 201\n reg p\u0159ej\u00edt do stavu 50\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 156\n\n 64 spec13: rim ',' . rim\n 65 rem: . reg\n 66 | . mem\n 73 rim: . rem\n 74 | . imm\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n 93 mem: . omem\n 94 | . nmem\n 95 omem: . con\n 96 | . con '(' LLREG ')'\n 97 | . con '(' LSP ')'\n 98 | . con '(' LSREG ')'\n 99 | . con '(' LLREG '*' con ')'\n 100 | . con '(' LLREG ')' '(' LLREG '*' con ')'\n 101 | . con '(' LLREG ')' '(' LSREG '*' con ')'\n 102 | . '(' LLREG ')'\n 103 | . '(' LSP ')'\n 104 | . '(' LLREG '*' con ')'\n 105 | . '(' LLREG ')' '(' LLREG '*' con ')'\n 106 nmem: . nam\n 107 | . nam '(' LLREG '*' con ')'\n 108 nam: . LNAME offset '(' pointer ')'\n 109 | . LNAME '<' '>' offset '(' LSB ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n LNAME posunout a p\u0159ej\u00edt do stavu 43\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 46\n '$' posunout a p\u0159ej\u00edt do stavu 56\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n rem p\u0159ej\u00edt do stavu 58\n rim p\u0159ej\u00edt do stavu 202\n reg p\u0159ej\u00edt do stavu 50\n imm p\u0159ej\u00edt do stavu 60\n mem p\u0159ej\u00edt do stavu 51\n omem p\u0159ej\u00edt do stavu 52\n nmem p\u0159ej\u00edt do stavu 53\n nam p\u0159ej\u00edt do stavu 54\n con p\u0159ej\u00edt do stavu 55\n\n\nState 157\n\n 5 line: . LLAB ':' $@2 line\n 7 | . LNAME ':' $@3 line\n 7 | LNAME ':' $@3 . line\n 8 | . ';'\n 9 | . inst ';'\n 10 | . error ';'\n 11 inst: . LNAME '=' expr\n 12 | . LVAR '=' expr\n 13 | . LTYPE0 nonnon\n 14 | . LTYPE1 nonrem\n 15 | . LTYPE2 rimnon\n 16 | . LTYPE3 rimrem\n 17 | . LTYPE4 remrim\n 18 | . LTYPER nonrel\n 19 | . LTYPED spec1\n 20 | . LTYPET spec2\n 21 | . LTYPEC spec3\n 22 | . LTYPEN spec4\n 23 | . LTYPES spec5\n 24 | . LTYPEM spec6\n 25 | . LTYPEI spec7\n 26 | . LTYPEXC spec8\n 27 | . LTYPEX spec9\n 28 | . LTYPERT spec10\n 29 | . LTYPEG spec11\n 30 | . LTYPEPC spec12\n 31 | . LTYPEF spec13\n\n error posunout a p\u0159ej\u00edt do stavu 4\n LTYPE0 posunout a p\u0159ej\u00edt do stavu 5\n LTYPE1 posunout a p\u0159ej\u00edt do stavu 6\n LTYPE2 posunout a p\u0159ej\u00edt do stavu 7\n LTYPE3 posunout a p\u0159ej\u00edt do stavu 8\n LTYPE4 posunout a p\u0159ej\u00edt do stavu 9\n LTYPEC posunout a p\u0159ej\u00edt do stavu 10\n LTYPED posunout a p\u0159ej\u00edt do stavu 11\n LTYPEN posunout a p\u0159ej\u00edt do stavu 12\n LTYPER posunout a p\u0159ej\u00edt do stavu 13\n LTYPET posunout a p\u0159ej\u00edt do stavu 14\n LTYPEG posunout a p\u0159ej\u00edt do stavu 15\n LTYPEPC posunout a p\u0159ej\u00edt do stavu 16\n LTYPES posunout a p\u0159ej\u00edt do stavu 17\n LTYPEM posunout a p\u0159ej\u00edt do stavu 18\n LTYPEI posunout a p\u0159ej\u00edt do stavu 19\n LTYPEXC posunout a p\u0159ej\u00edt do stavu 20\n LTYPEX posunout a p\u0159ej\u00edt do stavu 21\n LTYPERT posunout a p\u0159ej\u00edt do stavu 22\n LTYPEF posunout a p\u0159ej\u00edt do stavu 23\n LNAME posunout a p\u0159ej\u00edt do stavu 24\n LLAB posunout a p\u0159ej\u00edt do stavu 25\n LVAR posunout a p\u0159ej\u00edt do stavu 26\n ';' posunout a p\u0159ej\u00edt do stavu 27\n\n line p\u0159ej\u00edt do stavu 203\n inst p\u0159ej\u00edt do stavu 29\n\n\nState 158\n\n 11 inst: LNAME '=' expr . [';']\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n '|' posunout a p\u0159ej\u00edt do stavu 168\n '^' posunout a p\u0159ej\u00edt do stavu 169\n '&' posunout a p\u0159ej\u00edt do stavu 170\n '<' posunout a p\u0159ej\u00edt do stavu 171\n '>' posunout a p\u0159ej\u00edt do stavu 172\n '+' posunout a p\u0159ej\u00edt do stavu 173\n '-' posunout a p\u0159ej\u00edt do stavu 174\n '*' posunout a p\u0159ej\u00edt do stavu 175\n '\/' posunout a p\u0159ej\u00edt do stavu 176\n '%' posunout a p\u0159ej\u00edt do stavu 177\n\n $v\u00fdchoz\u00ed reduce using rule 11 (inst)\n\n\nState 159\n\n 5 line: . LLAB ':' $@2 line\n 5 | LLAB ':' $@2 . line\n 7 | . LNAME ':' $@3 line\n 8 | . ';'\n 9 | . inst ';'\n 10 | . error ';'\n 11 inst: . LNAME '=' expr\n 12 | . LVAR '=' expr\n 13 | . LTYPE0 nonnon\n 14 | . LTYPE1 nonrem\n 15 | . LTYPE2 rimnon\n 16 | . LTYPE3 rimrem\n 17 | . LTYPE4 remrim\n 18 | . LTYPER nonrel\n 19 | . LTYPED spec1\n 20 | . LTYPET spec2\n 21 | . LTYPEC spec3\n 22 | . LTYPEN spec4\n 23 | . LTYPES spec5\n 24 | . LTYPEM spec6\n 25 | . LTYPEI spec7\n 26 | . LTYPEXC spec8\n 27 | . LTYPEX spec9\n 28 | . LTYPERT spec10\n 29 | . LTYPEG spec11\n 30 | . LTYPEPC spec12\n 31 | . LTYPEF spec13\n\n error posunout a p\u0159ej\u00edt do stavu 4\n LTYPE0 posunout a p\u0159ej\u00edt do stavu 5\n LTYPE1 posunout a p\u0159ej\u00edt do stavu 6\n LTYPE2 posunout a p\u0159ej\u00edt do stavu 7\n LTYPE3 posunout a p\u0159ej\u00edt do stavu 8\n LTYPE4 posunout a p\u0159ej\u00edt do stavu 9\n LTYPEC posunout a p\u0159ej\u00edt do stavu 10\n LTYPED posunout a p\u0159ej\u00edt do stavu 11\n LTYPEN posunout a p\u0159ej\u00edt do stavu 12\n LTYPER posunout a p\u0159ej\u00edt do stavu 13\n LTYPET posunout a p\u0159ej\u00edt do stavu 14\n LTYPEG posunout a p\u0159ej\u00edt do stavu 15\n LTYPEPC posunout a p\u0159ej\u00edt do stavu 16\n LTYPES posunout a p\u0159ej\u00edt do stavu 17\n LTYPEM posunout a p\u0159ej\u00edt do stavu 18\n LTYPEI posunout a p\u0159ej\u00edt do stavu 19\n LTYPEXC posunout a p\u0159ej\u00edt do stavu 20\n LTYPEX posunout a p\u0159ej\u00edt do stavu 21\n LTYPERT posunout a p\u0159ej\u00edt do stavu 22\n LTYPEF posunout a p\u0159ej\u00edt do stavu 23\n LNAME posunout a p\u0159ej\u00edt do stavu 24\n LLAB posunout a p\u0159ej\u00edt do stavu 25\n LVAR posunout a p\u0159ej\u00edt do stavu 26\n ';' posunout a p\u0159ej\u00edt do stavu 27\n\n line p\u0159ej\u00edt do stavu 204\n inst p\u0159ej\u00edt do stavu 29\n\n\nState 160\n\n 12 inst: LVAR '=' expr . [';']\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n '|' posunout a p\u0159ej\u00edt do stavu 168\n '^' posunout a p\u0159ej\u00edt do stavu 169\n '&' posunout a p\u0159ej\u00edt do stavu 170\n '<' posunout a p\u0159ej\u00edt do stavu 171\n '>' posunout a p\u0159ej\u00edt do stavu 172\n '+' posunout a p\u0159ej\u00edt do stavu 173\n '-' posunout a p\u0159ej\u00edt do stavu 174\n '*' posunout a p\u0159ej\u00edt do stavu 175\n '\/' posunout a p\u0159ej\u00edt do stavu 176\n '%' posunout a p\u0159ej\u00edt do stavu 177\n\n $v\u00fdchoz\u00ed reduce using rule 12 (inst)\n\n\nState 161\n\n 109 nam: LNAME '<' '>' . offset '(' LSB ')'\n 110 offset: . %empty ['(']\n 111 | . '+' con\n 112 | . '-' con\n\n '+' posunout a p\u0159ej\u00edt do stavu 117\n '-' posunout a p\u0159ej\u00edt do stavu 118\n\n $v\u00fdchoz\u00ed reduce using rule 110 (offset)\n\n offset p\u0159ej\u00edt do stavu 205\n\n\nState 162\n\n 111 offset: '+' con .\n\n $v\u00fdchoz\u00ed reduce using rule 111 (offset)\n\n\nState 163\n\n 112 offset: '-' con .\n\n $v\u00fdchoz\u00ed reduce using rule 112 (offset)\n\n\nState 164\n\n 108 nam: LNAME offset '(' . pointer ')'\n 113 pointer: . LSB\n 114 | . LSP\n 115 | . LFP\n\n LFP posunout a p\u0159ej\u00edt do stavu 206\n LSB posunout a p\u0159ej\u00edt do stavu 207\n LSP posunout a p\u0159ej\u00edt do stavu 208\n\n pointer p\u0159ej\u00edt do stavu 209\n\n\nState 165\n\n 104 omem: '(' LLREG '*' . con ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 210\n\n\nState 166\n\n 102 omem: '(' LLREG ')' . [':', ';', ',']\n 105 | '(' LLREG ')' . '(' LLREG '*' con ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 211\n\n $v\u00fdchoz\u00ed reduce using rule 102 (omem)\n\n\nState 167\n\n 103 omem: '(' LSP ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 103 (omem)\n\n\nState 168\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n 136 | expr '|' . expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 212\n\n\nState 169\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 135 | expr '^' . expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 213\n\n\nState 170\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 134 | expr '&' . expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 214\n\n\nState 171\n\n 132 expr: expr '<' . '<' expr\n\n '<' posunout a p\u0159ej\u00edt do stavu 215\n\n\nState 172\n\n 133 expr: expr '>' . '>' expr\n\n '>' posunout a p\u0159ej\u00edt do stavu 216\n\n\nState 173\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 127 | expr '+' . expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 217\n\n\nState 174\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 128 | expr '-' . expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 218\n\n\nState 175\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 129 | expr '*' . expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 219\n\n\nState 176\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 130 | expr '\/' . expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 220\n\n\nState 177\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 131 | expr '%' . expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 221\n\n\nState 178\n\n 121 con: '(' expr ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 121 (con)\n\n\nState 179\n\n 107 nmem: nam '(' LLREG . '*' con ')'\n\n '*' posunout a p\u0159ej\u00edt do stavu 222\n\n\nState 180\n\n 96 omem: con '(' LLREG . ')'\n 99 | con '(' LLREG . '*' con ')'\n 100 | con '(' LLREG . ')' '(' LLREG '*' con ')'\n 101 | con '(' LLREG . ')' '(' LSREG '*' con ')'\n\n '*' posunout a p\u0159ej\u00edt do stavu 223\n ')' posunout a p\u0159ej\u00edt do stavu 224\n\n\nState 181\n\n 98 omem: con '(' LSREG . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 225\n\n\nState 182\n\n 97 omem: con '(' LSP . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 226\n\n\nState 183\n\n 92 imm: '$' '-' LFCONST .\n\n $v\u00fdchoz\u00ed reduce using rule 92 (imm)\n\n\nState 184\n\n 91 imm: '$' '(' '-' . LFCONST ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 118 | '-' . con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LFCONST posunout a p\u0159ej\u00edt do stavu 227\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 115\n\n\nState 185\n\n 90 imm: '$' '(' LFCONST . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 228\n\n\nState 186\n\n 34 rimrem: rim ',' rem .\n\n $v\u00fdchoz\u00ed reduce using rule 34 (rimrem)\n\n\nState 187\n\n 35 remrim: rem ',' rim .\n\n $v\u00fdchoz\u00ed reduce using rule 35 (remrim)\n\n\nState 188\n\n 75 rel: con '(' LPC . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 229\n\n\nState 189\n\n 43 spec1: nam '\/' con . ',' imm\n\n ',' posunout a p\u0159ej\u00edt do stavu 230\n\n\nState 190\n\n 42 nonrel: imm ',' rel .\n\n $v\u00fdchoz\u00ed reduce using rule 42 (nonrel)\n\n\nState 191\n\n 85 imm2: '$' . con2\n 122 con2: . LCONST\n 123 | . '-' LCONST\n 124 | . LCONST '-' LCONST\n 125 | . '-' LCONST '-' LCONST\n\n '-' posunout a p\u0159ej\u00edt do stavu 231\n LCONST posunout a p\u0159ej\u00edt do stavu 232\n\n con2 p\u0159ej\u00edt do stavu 233\n\n\nState 192\n\n 44 spec2: mem ',' imm2 .\n\n $v\u00fdchoz\u00ed reduce using rule 44 (spec2)\n\n\nState 193\n\n 45 spec2: mem ',' con . ',' imm2\n\n ',' posunout a p\u0159ej\u00edt do stavu 234\n\n\nState 194\n\n 61 spec11: mem ',' imm .\n\n $v\u00fdchoz\u00ed reduce using rule 61 (spec11)\n\n\nState 195\n\n 62 spec11: mem ',' con . ',' imm\n\n ',' posunout a p\u0159ej\u00edt do stavu 235\n\n\nState 196\n\n 63 spec12: rim ',' rim .\n\n $v\u00fdchoz\u00ed reduce using rule 63 (spec12)\n\n\nState 197\n\n 50 spec5: rim ',' rem . [';']\n 51 | rim ',' rem . ':' LLREG\n\n ':' posunout a p\u0159ej\u00edt do stavu 236\n\n $v\u00fdchoz\u00ed reduce using rule 50 (spec5)\n\n\nState 198\n\n 52 spec6: rim ',' rem . [';']\n 53 | rim ',' rem . ':' LSREG\n\n ':' posunout a p\u0159ej\u00edt do stavu 237\n\n $v\u00fdchoz\u00ed reduce using rule 52 (spec6)\n\n\nState 199\n\n 56 spec7: rim ',' rem .\n\n $v\u00fdchoz\u00ed reduce using rule 56 (spec7)\n\n\nState 200\n\n 57 spec8: reg ',' rem . ',' con\n\n ',' posunout a p\u0159ej\u00edt do stavu 238\n\n\nState 201\n\n 58 spec9: imm ',' rem . ',' reg\n\n ',' posunout a p\u0159ej\u00edt do stavu 239\n\n\nState 202\n\n 64 spec13: rim ',' rim .\n\n $v\u00fdchoz\u00ed reduce using rule 64 (spec13)\n\n\nState 203\n\n 7 line: LNAME ':' $@3 line .\n\n $v\u00fdchoz\u00ed reduce using rule 7 (line)\n\n\nState 204\n\n 5 line: LLAB ':' $@2 line .\n\n $v\u00fdchoz\u00ed reduce using rule 5 (line)\n\n\nState 205\n\n 109 nam: LNAME '<' '>' offset . '(' LSB ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 240\n\n\nState 206\n\n 115 pointer: LFP .\n\n $v\u00fdchoz\u00ed reduce using rule 115 (pointer)\n\n\nState 207\n\n 113 pointer: LSB .\n\n $v\u00fdchoz\u00ed reduce using rule 113 (pointer)\n\n\nState 208\n\n 114 pointer: LSP .\n\n $v\u00fdchoz\u00ed reduce using rule 114 (pointer)\n\n\nState 209\n\n 108 nam: LNAME offset '(' pointer . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 241\n\n\nState 210\n\n 104 omem: '(' LLREG '*' con . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 242\n\n\nState 211\n\n 105 omem: '(' LLREG ')' '(' . LLREG '*' con ')'\n\n LLREG posunout a p\u0159ej\u00edt do stavu 243\n\n\nState 212\n\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n 136 | expr '|' expr . ['|', ';', ')']\n\n '^' posunout a p\u0159ej\u00edt do stavu 169\n '&' posunout a p\u0159ej\u00edt do stavu 170\n '<' posunout a p\u0159ej\u00edt do stavu 171\n '>' posunout a p\u0159ej\u00edt do stavu 172\n '+' posunout a p\u0159ej\u00edt do stavu 173\n '-' posunout a p\u0159ej\u00edt do stavu 174\n '*' posunout a p\u0159ej\u00edt do stavu 175\n '\/' posunout a p\u0159ej\u00edt do stavu 176\n '%' posunout a p\u0159ej\u00edt do stavu 177\n\n $v\u00fdchoz\u00ed reduce using rule 136 (expr)\n\n Conflict between rule 136 and token '|' resolved as reduce (%left '|').\n Conflict between rule 136 and token '^' resolved as shift ('|' < '^').\n Conflict between rule 136 and token '&' resolved as shift ('|' < '&').\n Conflict between rule 136 and token '<' resolved as shift ('|' < '<').\n Conflict between rule 136 and token '>' resolved as shift ('|' < '>').\n Conflict between rule 136 and token '+' resolved as shift ('|' < '+').\n Conflict between rule 136 and token '-' resolved as shift ('|' < '-').\n Conflict between rule 136 and token '*' resolved as shift ('|' < '*').\n Conflict between rule 136 and token '\/' resolved as shift ('|' < '\/').\n Conflict between rule 136 and token '%' resolved as shift ('|' < '%').\n\n\nState 213\n\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 135 | expr '^' expr . ['|', '^', ';', ')']\n 136 | expr . '|' expr\n\n '&' posunout a p\u0159ej\u00edt do stavu 170\n '<' posunout a p\u0159ej\u00edt do stavu 171\n '>' posunout a p\u0159ej\u00edt do stavu 172\n '+' posunout a p\u0159ej\u00edt do stavu 173\n '-' posunout a p\u0159ej\u00edt do stavu 174\n '*' posunout a p\u0159ej\u00edt do stavu 175\n '\/' posunout a p\u0159ej\u00edt do stavu 176\n '%' posunout a p\u0159ej\u00edt do stavu 177\n\n $v\u00fdchoz\u00ed reduce using rule 135 (expr)\n\n Conflict between rule 135 and token '|' resolved as reduce ('|' < '^').\n Conflict between rule 135 and token '^' resolved as reduce (%left '^').\n Conflict between rule 135 and token '&' resolved as shift ('^' < '&').\n Conflict between rule 135 and token '<' resolved as shift ('^' < '<').\n Conflict between rule 135 and token '>' resolved as shift ('^' < '>').\n Conflict between rule 135 and token '+' resolved as shift ('^' < '+').\n Conflict between rule 135 and token '-' resolved as shift ('^' < '-').\n Conflict between rule 135 and token '*' resolved as shift ('^' < '*').\n Conflict between rule 135 and token '\/' resolved as shift ('^' < '\/').\n Conflict between rule 135 and token '%' resolved as shift ('^' < '%').\n\n\nState 214\n\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 134 | expr '&' expr . ['|', '^', '&', ';', ')']\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n '<' posunout a p\u0159ej\u00edt do stavu 171\n '>' posunout a p\u0159ej\u00edt do stavu 172\n '+' posunout a p\u0159ej\u00edt do stavu 173\n '-' posunout a p\u0159ej\u00edt do stavu 174\n '*' posunout a p\u0159ej\u00edt do stavu 175\n '\/' posunout a p\u0159ej\u00edt do stavu 176\n '%' posunout a p\u0159ej\u00edt do stavu 177\n\n $v\u00fdchoz\u00ed reduce using rule 134 (expr)\n\n Conflict between rule 134 and token '|' resolved as reduce ('|' < '&').\n Conflict between rule 134 and token '^' resolved as reduce ('^' < '&').\n Conflict between rule 134 and token '&' resolved as reduce (%left '&').\n Conflict between rule 134 and token '<' resolved as shift ('&' < '<').\n Conflict between rule 134 and token '>' resolved as shift ('&' < '>').\n Conflict between rule 134 and token '+' resolved as shift ('&' < '+').\n Conflict between rule 134 and token '-' resolved as shift ('&' < '-').\n Conflict between rule 134 and token '*' resolved as shift ('&' < '*').\n Conflict between rule 134 and token '\/' resolved as shift ('&' < '\/').\n Conflict between rule 134 and token '%' resolved as shift ('&' < '%').\n\n\nState 215\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 132 | expr '<' '<' . expr\n 133 | . expr '>' '>' expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 244\n\n\nState 216\n\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n 126 expr: . con\n 127 | . expr '+' expr\n 128 | . expr '-' expr\n 129 | . expr '*' expr\n 130 | . expr '\/' expr\n 131 | . expr '%' expr\n 132 | . expr '<' '<' expr\n 133 | . expr '>' '>' expr\n 133 | expr '>' '>' . expr\n 134 | . expr '&' expr\n 135 | . expr '^' expr\n 136 | . expr '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 123\n expr p\u0159ej\u00edt do stavu 245\n\n\nState 217\n\n 127 expr: expr . '+' expr\n 127 | expr '+' expr . ['|', '^', '&', '<', '>', '+', '-', ';', ')']\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n '*' posunout a p\u0159ej\u00edt do stavu 175\n '\/' posunout a p\u0159ej\u00edt do stavu 176\n '%' posunout a p\u0159ej\u00edt do stavu 177\n\n $v\u00fdchoz\u00ed reduce using rule 127 (expr)\n\n Conflict between rule 127 and token '|' resolved as reduce ('|' < '+').\n Conflict between rule 127 and token '^' resolved as reduce ('^' < '+').\n Conflict between rule 127 and token '&' resolved as reduce ('&' < '+').\n Conflict between rule 127 and token '<' resolved as reduce ('<' < '+').\n Conflict between rule 127 and token '>' resolved as reduce ('>' < '+').\n Conflict between rule 127 and token '+' resolved as reduce (%left '+').\n Conflict between rule 127 and token '-' resolved as reduce (%left '-').\n Conflict between rule 127 and token '*' resolved as shift ('+' < '*').\n Conflict between rule 127 and token '\/' resolved as shift ('+' < '\/').\n Conflict between rule 127 and token '%' resolved as shift ('+' < '%').\n\n\nState 218\n\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 128 | expr '-' expr . ['|', '^', '&', '<', '>', '+', '-', ';', ')']\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n '*' posunout a p\u0159ej\u00edt do stavu 175\n '\/' posunout a p\u0159ej\u00edt do stavu 176\n '%' posunout a p\u0159ej\u00edt do stavu 177\n\n $v\u00fdchoz\u00ed reduce using rule 128 (expr)\n\n Conflict between rule 128 and token '|' resolved as reduce ('|' < '-').\n Conflict between rule 128 and token '^' resolved as reduce ('^' < '-').\n Conflict between rule 128 and token '&' resolved as reduce ('&' < '-').\n Conflict between rule 128 and token '<' resolved as reduce ('<' < '-').\n Conflict between rule 128 and token '>' resolved as reduce ('>' < '-').\n Conflict between rule 128 and token '+' resolved as reduce (%left '+').\n Conflict between rule 128 and token '-' resolved as reduce (%left '-').\n Conflict between rule 128 and token '*' resolved as shift ('-' < '*').\n Conflict between rule 128 and token '\/' resolved as shift ('-' < '\/').\n Conflict between rule 128 and token '%' resolved as shift ('-' < '%').\n\n\nState 219\n\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 129 | expr '*' expr . ['|', '^', '&', '<', '>', '+', '-', '*', '\/', '%', ';', ')']\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n $v\u00fdchoz\u00ed reduce using rule 129 (expr)\n\n Conflict between rule 129 and token '|' resolved as reduce ('|' < '*').\n Conflict between rule 129 and token '^' resolved as reduce ('^' < '*').\n Conflict between rule 129 and token '&' resolved as reduce ('&' < '*').\n Conflict between rule 129 and token '<' resolved as reduce ('<' < '*').\n Conflict between rule 129 and token '>' resolved as reduce ('>' < '*').\n Conflict between rule 129 and token '+' resolved as reduce ('+' < '*').\n Conflict between rule 129 and token '-' resolved as reduce ('-' < '*').\n Conflict between rule 129 and token '*' resolved as reduce (%left '*').\n Conflict between rule 129 and token '\/' resolved as reduce (%left '\/').\n Conflict between rule 129 and token '%' resolved as reduce (%left '%').\n\n\nState 220\n\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 130 | expr '\/' expr . ['|', '^', '&', '<', '>', '+', '-', '*', '\/', '%', ';', ')']\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n $v\u00fdchoz\u00ed reduce using rule 130 (expr)\n\n Conflict between rule 130 and token '|' resolved as reduce ('|' < '\/').\n Conflict between rule 130 and token '^' resolved as reduce ('^' < '\/').\n Conflict between rule 130 and token '&' resolved as reduce ('&' < '\/').\n Conflict between rule 130 and token '<' resolved as reduce ('<' < '\/').\n Conflict between rule 130 and token '>' resolved as reduce ('>' < '\/').\n Conflict between rule 130 and token '+' resolved as reduce ('+' < '\/').\n Conflict between rule 130 and token '-' resolved as reduce ('-' < '\/').\n Conflict between rule 130 and token '*' resolved as reduce (%left '*').\n Conflict between rule 130 and token '\/' resolved as reduce (%left '\/').\n Conflict between rule 130 and token '%' resolved as reduce (%left '%').\n\n\nState 221\n\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 131 | expr '%' expr . ['|', '^', '&', '<', '>', '+', '-', '*', '\/', '%', ';', ')']\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n $v\u00fdchoz\u00ed reduce using rule 131 (expr)\n\n Conflict between rule 131 and token '|' resolved as reduce ('|' < '%').\n Conflict between rule 131 and token '^' resolved as reduce ('^' < '%').\n Conflict between rule 131 and token '&' resolved as reduce ('&' < '%').\n Conflict between rule 131 and token '<' resolved as reduce ('<' < '%').\n Conflict between rule 131 and token '>' resolved as reduce ('>' < '%').\n Conflict between rule 131 and token '+' resolved as reduce ('+' < '%').\n Conflict between rule 131 and token '-' resolved as reduce ('-' < '%').\n Conflict between rule 131 and token '*' resolved as reduce (%left '*').\n Conflict between rule 131 and token '\/' resolved as reduce (%left '\/').\n Conflict between rule 131 and token '%' resolved as reduce (%left '%').\n\n\nState 222\n\n 107 nmem: nam '(' LLREG '*' . con ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 246\n\n\nState 223\n\n 99 omem: con '(' LLREG '*' . con ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 247\n\n\nState 224\n\n 96 omem: con '(' LLREG ')' . [':', ';', ',']\n 100 | con '(' LLREG ')' . '(' LLREG '*' con ')'\n 101 | con '(' LLREG ')' . '(' LSREG '*' con ')'\n\n '(' posunout a p\u0159ej\u00edt do stavu 248\n\n $v\u00fdchoz\u00ed reduce using rule 96 (omem)\n\n\nState 225\n\n 98 omem: con '(' LSREG ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 98 (omem)\n\n\nState 226\n\n 97 omem: con '(' LSP ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 97 (omem)\n\n\nState 227\n\n 91 imm: '$' '(' '-' LFCONST . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 249\n\n\nState 228\n\n 90 imm: '$' '(' LFCONST ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 90 (imm)\n\n\nState 229\n\n 75 rel: con '(' LPC ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 75 (rel)\n\n\nState 230\n\n 43 spec1: nam '\/' con ',' . imm\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n\n '$' posunout a p\u0159ej\u00edt do stavu 56\n\n imm p\u0159ej\u00edt do stavu 250\n\n\nState 231\n\n 123 con2: '-' . LCONST\n 125 | '-' . LCONST '-' LCONST\n\n LCONST posunout a p\u0159ej\u00edt do stavu 251\n\n\nState 232\n\n 122 con2: LCONST . [';']\n 124 | LCONST . '-' LCONST\n\n '-' posunout a p\u0159ej\u00edt do stavu 252\n\n $v\u00fdchoz\u00ed reduce using rule 122 (con2)\n\n\nState 233\n\n 85 imm2: '$' con2 .\n\n $v\u00fdchoz\u00ed reduce using rule 85 (imm2)\n\n\nState 234\n\n 45 spec2: mem ',' con ',' . imm2\n 85 imm2: . '$' con2\n\n '$' posunout a p\u0159ej\u00edt do stavu 191\n\n imm2 p\u0159ej\u00edt do stavu 253\n\n\nState 235\n\n 62 spec11: mem ',' con ',' . imm\n 86 imm: . '$' con\n 87 | . '$' nam\n 88 | . '$' LSCONST\n 89 | . '$' LFCONST\n 90 | . '$' '(' LFCONST ')'\n 91 | . '$' '(' '-' LFCONST ')'\n 92 | . '$' '-' LFCONST\n\n '$' posunout a p\u0159ej\u00edt do stavu 56\n\n imm p\u0159ej\u00edt do stavu 254\n\n\nState 236\n\n 51 spec5: rim ',' rem ':' . LLREG\n\n LLREG posunout a p\u0159ej\u00edt do stavu 255\n\n\nState 237\n\n 53 spec6: rim ',' rem ':' . LSREG\n\n LSREG posunout a p\u0159ej\u00edt do stavu 256\n\n\nState 238\n\n 57 spec8: reg ',' rem ',' . con\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 257\n\n\nState 239\n\n 58 spec9: imm ',' rem ',' . reg\n 78 reg: . LBREG\n 79 | . LFREG\n 80 | . LLREG\n 81 | . LMREG\n 82 | . LSP\n 83 | . LSREG\n 84 | . LXREG\n\n LBREG posunout a p\u0159ej\u00edt do stavu 36\n LLREG posunout a p\u0159ej\u00edt do stavu 37\n LSREG posunout a p\u0159ej\u00edt do stavu 38\n LFREG posunout a p\u0159ej\u00edt do stavu 39\n LMREG posunout a p\u0159ej\u00edt do stavu 40\n LXREG posunout a p\u0159ej\u00edt do stavu 41\n LSP posunout a p\u0159ej\u00edt do stavu 42\n\n reg p\u0159ej\u00edt do stavu 258\n\n\nState 240\n\n 109 nam: LNAME '<' '>' offset '(' . LSB ')'\n\n LSB posunout a p\u0159ej\u00edt do stavu 259\n\n\nState 241\n\n 108 nam: LNAME offset '(' pointer ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 108 (nam)\n\n\nState 242\n\n 104 omem: '(' LLREG '*' con ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 104 (omem)\n\n\nState 243\n\n 105 omem: '(' LLREG ')' '(' LLREG . '*' con ')'\n\n '*' posunout a p\u0159ej\u00edt do stavu 260\n\n\nState 244\n\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 132 | expr '<' '<' expr . ['|', '^', '&', '<', '>', ';', ')']\n 133 | expr . '>' '>' expr\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 173\n '-' posunout a p\u0159ej\u00edt do stavu 174\n '*' posunout a p\u0159ej\u00edt do stavu 175\n '\/' posunout a p\u0159ej\u00edt do stavu 176\n '%' posunout a p\u0159ej\u00edt do stavu 177\n\n $v\u00fdchoz\u00ed reduce using rule 132 (expr)\n\n Conflict between rule 132 and token '|' resolved as reduce ('|' < '<').\n Conflict between rule 132 and token '^' resolved as reduce ('^' < '<').\n Conflict between rule 132 and token '&' resolved as reduce ('&' < '<').\n Conflict between rule 132 and token '<' resolved as reduce (%left '<').\n Conflict between rule 132 and token '>' resolved as reduce (%left '>').\n Conflict between rule 132 and token '+' resolved as shift ('<' < '+').\n Conflict between rule 132 and token '-' resolved as shift ('<' < '-').\n Conflict between rule 132 and token '*' resolved as shift ('<' < '*').\n Conflict between rule 132 and token '\/' resolved as shift ('<' < '\/').\n Conflict between rule 132 and token '%' resolved as shift ('<' < '%').\n\n\nState 245\n\n 127 expr: expr . '+' expr\n 128 | expr . '-' expr\n 129 | expr . '*' expr\n 130 | expr . '\/' expr\n 131 | expr . '%' expr\n 132 | expr . '<' '<' expr\n 133 | expr . '>' '>' expr\n 133 | expr '>' '>' expr . ['|', '^', '&', '<', '>', ';', ')']\n 134 | expr . '&' expr\n 135 | expr . '^' expr\n 136 | expr . '|' expr\n\n '+' posunout a p\u0159ej\u00edt do stavu 173\n '-' posunout a p\u0159ej\u00edt do stavu 174\n '*' posunout a p\u0159ej\u00edt do stavu 175\n '\/' posunout a p\u0159ej\u00edt do stavu 176\n '%' posunout a p\u0159ej\u00edt do stavu 177\n\n $v\u00fdchoz\u00ed reduce using rule 133 (expr)\n\n Conflict between rule 133 and token '|' resolved as reduce ('|' < '>').\n Conflict between rule 133 and token '^' resolved as reduce ('^' < '>').\n Conflict between rule 133 and token '&' resolved as reduce ('&' < '>').\n Conflict between rule 133 and token '<' resolved as reduce (%left '<').\n Conflict between rule 133 and token '>' resolved as reduce (%left '>').\n Conflict between rule 133 and token '+' resolved as shift ('>' < '+').\n Conflict between rule 133 and token '-' resolved as shift ('>' < '-').\n Conflict between rule 133 and token '*' resolved as shift ('>' < '*').\n Conflict between rule 133 and token '\/' resolved as shift ('>' < '\/').\n Conflict between rule 133 and token '%' resolved as shift ('>' < '%').\n\n\nState 246\n\n 107 nmem: nam '(' LLREG '*' con . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 261\n\n\nState 247\n\n 99 omem: con '(' LLREG '*' con . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 262\n\n\nState 248\n\n 100 omem: con '(' LLREG ')' '(' . LLREG '*' con ')'\n 101 | con '(' LLREG ')' '(' . LSREG '*' con ')'\n\n LLREG posunout a p\u0159ej\u00edt do stavu 263\n LSREG posunout a p\u0159ej\u00edt do stavu 264\n\n\nState 249\n\n 91 imm: '$' '(' '-' LFCONST ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 91 (imm)\n\n\nState 250\n\n 43 spec1: nam '\/' con ',' imm .\n\n $v\u00fdchoz\u00ed reduce using rule 43 (spec1)\n\n\nState 251\n\n 123 con2: '-' LCONST . [';']\n 125 | '-' LCONST . '-' LCONST\n\n '-' posunout a p\u0159ej\u00edt do stavu 265\n\n $v\u00fdchoz\u00ed reduce using rule 123 (con2)\n\n\nState 252\n\n 124 con2: LCONST '-' . LCONST\n\n LCONST posunout a p\u0159ej\u00edt do stavu 266\n\n\nState 253\n\n 45 spec2: mem ',' con ',' imm2 .\n\n $v\u00fdchoz\u00ed reduce using rule 45 (spec2)\n\n\nState 254\n\n 62 spec11: mem ',' con ',' imm .\n\n $v\u00fdchoz\u00ed reduce using rule 62 (spec11)\n\n\nState 255\n\n 51 spec5: rim ',' rem ':' LLREG .\n\n $v\u00fdchoz\u00ed reduce using rule 51 (spec5)\n\n\nState 256\n\n 53 spec6: rim ',' rem ':' LSREG .\n\n $v\u00fdchoz\u00ed reduce using rule 53 (spec6)\n\n\nState 257\n\n 57 spec8: reg ',' rem ',' con .\n\n $v\u00fdchoz\u00ed reduce using rule 57 (spec8)\n\n\nState 258\n\n 58 spec9: imm ',' rem ',' reg .\n\n $v\u00fdchoz\u00ed reduce using rule 58 (spec9)\n\n\nState 259\n\n 109 nam: LNAME '<' '>' offset '(' LSB . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 267\n\n\nState 260\n\n 105 omem: '(' LLREG ')' '(' LLREG '*' . con ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 268\n\n\nState 261\n\n 107 nmem: nam '(' LLREG '*' con ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 107 (nmem)\n\n\nState 262\n\n 99 omem: con '(' LLREG '*' con ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 99 (omem)\n\n\nState 263\n\n 100 omem: con '(' LLREG ')' '(' LLREG . '*' con ')'\n\n '*' posunout a p\u0159ej\u00edt do stavu 269\n\n\nState 264\n\n 101 omem: con '(' LLREG ')' '(' LSREG . '*' con ')'\n\n '*' posunout a p\u0159ej\u00edt do stavu 270\n\n\nState 265\n\n 125 con2: '-' LCONST '-' . LCONST\n\n LCONST posunout a p\u0159ej\u00edt do stavu 271\n\n\nState 266\n\n 124 con2: LCONST '-' LCONST .\n\n $v\u00fdchoz\u00ed reduce using rule 124 (con2)\n\n\nState 267\n\n 109 nam: LNAME '<' '>' offset '(' LSB ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 109 (nam)\n\n\nState 268\n\n 105 omem: '(' LLREG ')' '(' LLREG '*' con . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 272\n\n\nState 269\n\n 100 omem: con '(' LLREG ')' '(' LLREG '*' . con ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 273\n\n\nState 270\n\n 101 omem: con '(' LLREG ')' '(' LSREG '*' . con ')'\n 116 con: . LCONST\n 117 | . LVAR\n 118 | . '-' con\n 119 | . '+' con\n 120 | . '~' con\n 121 | . '(' expr ')'\n\n '+' posunout a p\u0159ej\u00edt do stavu 33\n '-' posunout a p\u0159ej\u00edt do stavu 34\n LCONST posunout a p\u0159ej\u00edt do stavu 35\n LVAR posunout a p\u0159ej\u00edt do stavu 44\n '(' posunout a p\u0159ej\u00edt do stavu 84\n '~' posunout a p\u0159ej\u00edt do stavu 47\n\n con p\u0159ej\u00edt do stavu 274\n\n\nState 271\n\n 125 con2: '-' LCONST '-' LCONST .\n\n $v\u00fdchoz\u00ed reduce using rule 125 (con2)\n\n\nState 272\n\n 105 omem: '(' LLREG ')' '(' LLREG '*' con ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 105 (omem)\n\n\nState 273\n\n 100 omem: con '(' LLREG ')' '(' LLREG '*' con . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 275\n\n\nState 274\n\n 101 omem: con '(' LLREG ')' '(' LSREG '*' con . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 276\n\n\nState 275\n\n 100 omem: con '(' LLREG ')' '(' LLREG '*' con ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 100 (omem)\n\n\nState 276\n\n 101 omem: con '(' LLREG ')' '(' LSREG '*' con ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 101 (omem)\n","avg_line_length":23.7448394495,"max_line_length":207,"alphanum_fraction":0.5150724848} -{"size":5624,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"\n%require \"3.5\"\n\n%{\n#define YYDEBUG 1\n%}\n\n%code requires {\n#include \"parser-util.h\"\n#include \"debug\/pront.h\"\n#include \n#include \n\nextern int yylex (parser_ctx_t *ctx);\nextern void yyerror(parser_ctx_t *ctx, char *msg);\n\n}\n\n%param { parser_ctx_t *ctx };\n\n%union {\n\tpos_t\t\tpos;\n\t\n\tival_t\t\tival;\n\tstrval_t\tstrval;\n\t\n\tident_t\t\tident;\n\tidents_t\tidents;\n\t\n\tfuncdef_t\tfunc;\n\t\n\texpr_t\t\texpr;\n\texprs_t\t\texprs;\n\t\n\tstmt_t\t\tstmt;\n\tstmts_t\t\tstmts;\n\t\n\tstrval_t\tgarbage;\n}\n\n%token TKN_AUTO \"auto\" TKN_FUNC \"func\"\n%token TKN_IF \"if\" TKN_ELSE \"else\" TKN_WHILE \"while\" TKN_RETURN \"return\" TKN_ASM \"asm\"\n%token TKN_THEN \"then\"\n%token TKN_LPAR \"(\" TKN_RPAR \")\" TKN_LBRAC \"{\" TKN_RBRAC \"}\" TKN_LSBRAC \"[\" TKN_RSBRAC \"]\"\n%token TKN_SEMI \";\" TKN_COLON \":\" TKN_COMMA \",\"\n\n%token TKN_IVAL\n%token TKN_STRVAL\n%token TKN_IDENT\n%token TKN_GARBAGE\n\n%token TKN_ADD \"+\" TKN_SUB \"-\" TKN_ASSIGN \"=\" TKN_AMP \"&\"\n%token TKN_MUL \"*\" TKN_DIV \"\/\" TKN_REM \"%\"\n%token TKN_NOT \"!\" TKN_INV \"~\" TKN_XOR \"^\" TKN_OR \"|\"\n%token TKN_SHL \"<<\" TKN_SHR \">>\"\n%token TKN_LT \"<\" TKN_LE \"<=\" TKN_GT \">\" TKN_GE \">=\" TKN_EQ \"==\" TKN_NE \"!=\"\n\n%type opt_idents\n%type idents\n%type funcdef\n%type expr\n%type opt_exprs\n%type exprs\n\n%type stmts\n%type stmt\n%type inline_asm\n\n%type vardecls\n\n\/\/ Precedence: lowest.\n\n%right \"=\"\n\n%left \"||\"\n%left \"&&\"\n\n%left \"|\"\n%left \"^\"\n\/\/%left \"&\"\n\n%left \"==\" \"!=\"\n%left \"<\" \">\" \"<=\" \">=\"\n%left \"<<\" \">>\"\n\n%left \"+\" \/\/\"-\"\n%left \"%\" \"\/\" \/\/\"*\"\n\n%right \"!\" \"~\" \"*\" \"&\" \"-\"\n\n%precedence \"(\" \"[\"\n\n%precedence \"then\"\n%precedence \"else\"\n\n\/\/ Precedence: highest.\n\n%%\nlibrary:\t\tglobal library\n|\t\t\t\t%empty;\n\nglobal:\t\t\tfuncdef {function_added(ctx, &$1);}\n|\t\t\t\tvardecls;\n\nfuncdef:\t\t\"func\" TKN_IDENT \"(\" opt_idents \")\"\n\t\t\t\t\"{\" stmts \"}\"\t\t\t\t\t\t\t\t{$$=funcdef_decl(&$2, &$4, &$7);};\nvardecls:\t\t\"auto\" idents \";\"\t\t\t\t\t\t\t{$$=$2;};\n\nopt_idents:\t\tidents\t\t\t\t\t\t\t\t\t\t{$$=$1;}\n|\t\t\t\t%empty\t\t\t\t\t\t\t\t\t\t{$$=idents_empty();};\nidents:\t\t\tidents \",\" TKN_IDENT\t\t\t\t\t\t{$$=idents_cat (&$1, &$3);}\n|\t\t\t\tTKN_IDENT\t\t\t\t\t\t\t\t\t{$$=idents_one (&$1);};\nstmts:\t\t\tstmts stmt\t\t\t\t\t\t\t\t\t{$$=stmts_cat (&$1, &$2);}\n|\t\t\t\t%empty\t\t\t\t\t\t\t\t\t\t{$$=stmts_empty ();};\nstmt:\t\t\t\"{\" stmts \"}\" {$$=stmt_multi (&$2);}\n|\t\t\t\t\"if\" \"(\" expr \")\" stmt\t\t%prec \"then\" {$$=stmt_if (&$3, &$5, NULL);}\n|\t\t\t\t\"if\" \"(\" expr \")\" stmt\n\t\t\t\t\"else\" stmt {$$=stmt_if (&$3, &$5, &$7);}\n|\t\t\t\t\"while\" \"(\" expr \")\" stmt {$$=stmt_while (&$3, &$5);}\n|\t\t\t\t\"return\" \";\" {$$=stmt_ret (NULL);}\n|\t\t\t\t\"return\" expr \";\" {$$=stmt_ret (&$2);}\n|\t\t\t\tvardecls {$$=stmt_var (&$1);}\n|\t\t\t\texpr \";\" {$$=stmt_expr (&$1);}\n|\t\t\t\tinline_asm \";\" {$$=$1;};\n\nopt_exprs:\t\texprs\n|\t\t\t\t%empty;\nexprs:\t\t\texpr \",\" exprs\n|\t\t\t\texpr;\nexpr:\t\t\tTKN_IVAL\t\t\t\t\t\t\t\t\t{$$=expr_icnst(&$1);}\n|\t\t\t\tTKN_STRVAL\t\t\t\t\t\t\t\t\t{$$=expr_scnst(&$1);}\n|\t\t\t\tTKN_IDENT\t\t\t\t\t\t\t\t\t{$$=expr_ident(&$1);}\n|\t\t\t\texpr \"(\" opt_exprs \")\"\t\t\t\t\t\t{$$=expr_call (&$1, &$3);}\n|\t\t\t\texpr \"[\" expr \"]\"\t\t\t\t\t\t\t{$$=expr_math2(OP_INDEX, &$1, &$3);}\n|\t\t\t\t\"(\" expr \")\"\t\t\t\t\t\t\t\t{$$=$2;}\n\n|\t\t\t\t\"-\" expr\t\t\t\t\t\t\t\t\t{$$=expr_math1(OP_0_MINUS, &$2);}\n|\t\t\t\t\"!\" expr\t\t\t\t\t\t\t\t\t{$$=expr_math1(OP_LOGIC_NOT, &$2);}\n|\t\t\t\t\"~\" expr\t\t\t\t\t\t\t\t\t{$$=expr_math1(OP_BIT_NOT, &$2);}\n|\t\t\t\t\"&\" expr\t\t\t\t\t\t\t\t\t{$$=expr_math1(OP_ADROF, &$2);}\n|\t\t\t\t\"*\" expr\t\t\t\t\t\t\t\t\t{$$=expr_math1(OP_DEREF, &$2);}\n\n|\t\t\t\texpr \"*\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_MUL, &$1, &$3);}\n|\t\t\t\texpr \"\/\" expr\t\t\t\t%prec \"*\"\t\t{$$=expr_math2(OP_DIV, &$1, &$3);}\n|\t\t\t\texpr \"%\" expr\t\t\t\t%prec \"*\"\t\t{$$=expr_math2(OP_MOD, &$1, &$3);}\n\n|\t\t\t\texpr \"+\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_ADD, &$1, &$3);}\n|\t\t\t\texpr \"-\" expr\t\t\t\t%prec \"+\"\t\t{$$=expr_math2(OP_SUB, &$1, &$3);}\n\n|\t\t\t\texpr \"<\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_LT, &$1, &$3);}\n|\t\t\t\texpr \"<=\" expr\t\t\t\t%prec \"<\"\t\t{$$=expr_math2(OP_LE, &$1, &$3);}\n|\t\t\t\texpr \">\" expr\t\t\t\t%prec \"<\"\t\t{$$=expr_math2(OP_GT, &$1, &$3);}\n|\t\t\t\texpr \">=\" expr\t\t\t\t%prec \"<\"\t\t{$$=expr_math2(OP_GE, &$1, &$3);}\n\n|\t\t\t\texpr \"==\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_NE, &$1, &$3);}\n|\t\t\t\texpr \"!=\" expr\t\t\t\t%prec \"==\"\t\t{$$=expr_math2(OP_EQ, &$1, &$3);}\n\n|\t\t\t\texpr \"&\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_BIT_AND, &$1, &$3);}\n|\t\t\t\texpr \"^\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_BIT_XOR, &$1, &$3);}\n|\t\t\t\texpr \"|\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_BIT_OR, &$1, &$3);}\n|\t\t\t\texpr \"<<\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_SHIFT_L, &$1, &$3);}\n|\t\t\t\texpr \">>\" expr\t\t\t\t%prec \"<<\"\t\t{$$=expr_math2(OP_SHIFT_R, &$1, &$3);}\n\n|\t\t\t\texpr \"&&\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_LOGIC_AND, &$1, &$3);}\n|\t\t\t\texpr \"||\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_LOGIC_OR, &$1, &$3);}\n|\t\t\t\texpr \"=\" expr\t\t\t\t\t\t\t\t{$$=expr_math2(OP_ASSIGN, &$1, &$3);};\n\ninline_asm:\t\t\"asm\" \"(\" TKN_STRVAL\n\t\t\t\t\":\" opt_asm_regs\n\t\t\t\t\":\" opt_asm_regs\n\t\t\t\t\":\" opt_asm_strs \")\"\n|\t\t\t\t\"asm\" \"(\" TKN_STRVAL\n\t\t\t\t\":\" opt_asm_regs\n\t\t\t\t\":\" opt_asm_regs \")\"\n|\t\t\t\t\"asm\" \"(\" TKN_STRVAL\n\t\t\t\t\":\" opt_asm_regs \")\"\n|\t\t\t\t\"asm\" \"(\" TKN_STRVAL \")\" {$$=stmt_iasm(&$3, NULL, NULL, NULL);};\n\nopt_asm_strs:\tasm_strs\n|\t\t\t\t%empty;\nasm_strs:\t\tTKN_STRVAL \",\" asm_strs\n|\t\t\t\tTKN_STRVAL;\nopt_asm_regs:\tasm_regs\n|\t\t\t\t%empty;\nasm_regs:\t\tTKN_STRVAL \"(\" expr \")\" \",\" asm_regs\n|\t\t\t\tTKN_STRVAL \"(\" expr \")\";\n%%\n\nvoid *make_copy(void *mem, size_t size) {\n\tif (!mem) return NULL;\n\tvoid *copy = malloc(size);\n\tmemcpy(copy, mem, size);\n\treturn copy;\n}\n","avg_line_length":28.841025641,"max_line_length":96,"alphanum_fraction":0.4829302987} -{"size":288,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"local-02.hac\":4:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tkeyword: chan [4:1..4]\n#STATE#\t! [4:5]\nin state #STATE#, possible rules are:\n\tbase_chan_type: CHANNEL . data_type_ref_list_optional_in_parens (#RULE#)\nacceptable tokens are: \n\t'(' (shift)\n","avg_line_length":24.0,"max_line_length":74,"alphanum_fraction":0.7118055556} -{"size":521,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"supply-11.hac\":5:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(process-prototype) [4:1..22]\n#STATE#\t{ [4:24]\n#STATE#\tkeyword: prs [5:1..3]\n#STATE#\t< [5:5]\n#STATE#\tlist<(inst-ref-expr)>: ... [0:0]\n#STATE#\t! [5:6]\nin state #STATE#, possible rules are:\n\tmember_index_expr_list_in_angles: '<' member_index_expr_pair . '>' (#RULE#)\n\t | '<' member_index_expr_pair . '|' member_index_expr_pair '>' (#RULE#)\nacceptable tokens are: \n\t'>' (shift)\n\t'|' (shift)\n","avg_line_length":28.9444444444,"max_line_length":104,"alphanum_fraction":0.6065259117} -{"size":534,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"Parse error: base reference of function call must be an id_expr, but got: (index-expr) at [8:6..10]\nAt: \"bad-loop-03.hac\":8:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (instance-decl) ... [6:1--7:8]\n#STATE#\t( [8:1]\n#STATE#\t; [8:2]\n#STATE#\tidentifier: i [8:3]\n#STATE#\t: [8:4]\n#STATE#\t(range) [8:12..20]\n#STATE#\t; [8:21]\nin state #STATE#, possible rules are:\n\tloop_instantiation: '(' ';' ID ':' range . ':' instance_management_list ')' (#RULE#)\nacceptable tokens are: \n\t':' (shift)\n","avg_line_length":29.6666666667,"max_line_length":99,"alphanum_fraction":0.638576779} -{"size":638,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"103.hac\":9:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (process-definition) ... [6:1..17]\n#STATE#\t(null) \n#STATE#\t(template-formal-decl-list-pair) [8:10..17]\n#STATE#\tkeyword: defproc [9:1..7]\n#STATE#\tidentifier: bar [9:9..11]\n#STATE#\t( [9:12]\n#STATE#\tlist<(port-formal-decl)>: (port-formal-decl) ... [9:13..20]\n#STATE#\t< [9:21]\nin state #STATE#, possible rules are:\n\toptional_port_formal_decl_list_in_parens: '(' port_formal_decl_list . ')' (#RULE#)\n\tport_formal_decl_list: port_formal_decl_list . ';' port_formal_decl (#RULE#)\nacceptable tokens are: \n\t')' (shift)\n\t';' (shift)\n","avg_line_length":31.9,"max_line_length":84,"alphanum_fraction":0.6755485893} -{"size":492,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"inv-01.hac\":6:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defproc [3:1..7]\n#STATE#\tidentifier: inv [3:9..11]\n#STATE#\tlist<(port-formal-decl)>: (port-formal-decl) ... [3:12..22]\n#STATE#\t{ [3:24]\n#STATE#\tkeyword: prs [4:1..3]\n#STATE#\t{ [4:5]\n#STATE#\t(unknown)\n#STATE#\t} [6:1]\nin state #STATE#, possible rules are:\n\tprs_literal_base: prs_internal_optional . relative_member_index_expr (#RULE#)\nacceptable tokens are: \n\tID (shift)\n","avg_line_length":25.8947368421,"max_line_length":79,"alphanum_fraction":0.6727642276} -{"size":814,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: S $end\n\n 1 S: %empty\n 2 | 'a' S\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'a' (97) 2\nerror (256)\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (4)\n vlevo: 0\nS (5)\n vlevo: 1 2, vpravo: 0 2\n\n\nState 0\n\n 0 $accept: . S $end\n 1 S: . %empty [$end]\n 2 | . 'a' S\n\n 'a' posunout a p\u0159ej\u00edt do stavu 1\n\n $v\u00fdchoz\u00ed reduce using rule 1 (S)\n\n S p\u0159ej\u00edt do stavu 2\n\n\nState 1\n\n 1 S: . %empty [$end]\n 2 | . 'a' S\n 2 | 'a' . S\n\n 'a' posunout a p\u0159ej\u00edt do stavu 1\n\n $v\u00fdchoz\u00ed reduce using rule 1 (S)\n\n S p\u0159ej\u00edt do stavu 3\n\n\nState 2\n\n 0 $accept: S . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 4\n\n\nState 3\n\n 2 S: 'a' S .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (S)\n\n\nState 4\n\n 0 $accept: S $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n","avg_line_length":11.7971014493,"max_line_length":46,"alphanum_fraction":0.5405405405} -{"size":266,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"019.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(enum-declaration) [3:1..8]\n#STATE#\t, [3:9]\nin state #STATE#, possible rules are:\n\tprototype_declaration: declare_enum . ';' (#RULE#)\nacceptable tokens are: \n\t';' (shift)\n","avg_line_length":22.1666666667,"max_line_length":52,"alphanum_fraction":0.6766917293} -{"size":2825,"ext":"bison","lang":"Bison","max_stars_count":161.0,"content":"Gramatika\n\n 0 $accept: E $end\n\n 1 E: T E2\n\n 2 E2: '+' T E2\n 3 | %empty\n\n 4 T: F T2\n\n 5 T2: '*' F T2\n 6 | %empty\n\n 7 F: '(' E ')'\n 8 | id\n\n\nTermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$end (0) 0\n'(' (40) 7\n')' (41) 7\n'*' (42) 5\n'+' (43) 2\nerror (256)\nid (258) 8\n\n\nNetermin\u00e1ly s pravidly, ve kter\u00fdch se objevuj\u00ed\n\n$accept (8)\n vlevo: 0\nE (9)\n vlevo: 1, vpravo: 0 7\nE2 (10)\n vlevo: 2 3, vpravo: 1 2\nT (11)\n vlevo: 4, vpravo: 1 2\nT2 (12)\n vlevo: 5 6, vpravo: 4 5\nF (13)\n vlevo: 7 8, vpravo: 4 5\n\n\nState 0\n\n 0 $accept: . E $end\n 1 E: . T E2\n 4 T: . F T2\n 7 F: . '(' E ')'\n 8 | . id\n\n id posunout a p\u0159ej\u00edt do stavu 1\n '(' posunout a p\u0159ej\u00edt do stavu 2\n\n E p\u0159ej\u00edt do stavu 3\n T p\u0159ej\u00edt do stavu 4\n F p\u0159ej\u00edt do stavu 5\n\n\nState 1\n\n 8 F: id .\n\n $v\u00fdchoz\u00ed reduce using rule 8 (F)\n\n\nState 2\n\n 1 E: . T E2\n 4 T: . F T2\n 7 F: . '(' E ')'\n 7 | '(' . E ')'\n 8 | . id\n\n id posunout a p\u0159ej\u00edt do stavu 1\n '(' posunout a p\u0159ej\u00edt do stavu 2\n\n E p\u0159ej\u00edt do stavu 6\n T p\u0159ej\u00edt do stavu 4\n F p\u0159ej\u00edt do stavu 5\n\n\nState 3\n\n 0 $accept: E . $end\n\n $end posunout a p\u0159ej\u00edt do stavu 7\n\n\nState 4\n\n 1 E: T . E2\n 2 E2: . '+' T E2\n 3 | . %empty [$end, ')']\n\n '+' posunout a p\u0159ej\u00edt do stavu 8\n\n $v\u00fdchoz\u00ed reduce using rule 3 (E2)\n\n E2 p\u0159ej\u00edt do stavu 9\n\n\nState 5\n\n 4 T: F . T2\n 5 T2: . '*' F T2\n 6 | . %empty [$end, '+', ')']\n\n '*' posunout a p\u0159ej\u00edt do stavu 10\n\n $v\u00fdchoz\u00ed reduce using rule 6 (T2)\n\n T2 p\u0159ej\u00edt do stavu 11\n\n\nState 6\n\n 7 F: '(' E . ')'\n\n ')' posunout a p\u0159ej\u00edt do stavu 12\n\n\nState 7\n\n 0 $accept: E $end .\n\n $v\u00fdchoz\u00ed p\u0159ijmout\n\n\nState 8\n\n 2 E2: '+' . T E2\n 4 T: . F T2\n 7 F: . '(' E ')'\n 8 | . id\n\n id posunout a p\u0159ej\u00edt do stavu 1\n '(' posunout a p\u0159ej\u00edt do stavu 2\n\n T p\u0159ej\u00edt do stavu 13\n F p\u0159ej\u00edt do stavu 5\n\n\nState 9\n\n 1 E: T E2 .\n\n $v\u00fdchoz\u00ed reduce using rule 1 (E)\n\n\nState 10\n\n 5 T2: '*' . F T2\n 7 F: . '(' E ')'\n 8 | . id\n\n id posunout a p\u0159ej\u00edt do stavu 1\n '(' posunout a p\u0159ej\u00edt do stavu 2\n\n F p\u0159ej\u00edt do stavu 14\n\n\nState 11\n\n 4 T: F T2 .\n\n $v\u00fdchoz\u00ed reduce using rule 4 (T)\n\n\nState 12\n\n 7 F: '(' E ')' .\n\n $v\u00fdchoz\u00ed reduce using rule 7 (F)\n\n\nState 13\n\n 2 E2: . '+' T E2\n 2 | '+' T . E2\n 3 | . %empty [$end, ')']\n\n '+' posunout a p\u0159ej\u00edt do stavu 8\n\n $v\u00fdchoz\u00ed reduce using rule 3 (E2)\n\n E2 p\u0159ej\u00edt do stavu 15\n\n\nState 14\n\n 5 T2: . '*' F T2\n 5 | '*' F . T2\n 6 | . %empty [$end, '+', ')']\n\n '*' posunout a p\u0159ej\u00edt do stavu 10\n\n $v\u00fdchoz\u00ed reduce using rule 6 (T2)\n\n T2 p\u0159ej\u00edt do stavu 16\n\n\nState 15\n\n 2 E2: '+' T E2 .\n\n $v\u00fdchoz\u00ed reduce using rule 2 (E2)\n\n\nState 16\n\n 5 T2: '*' F T2 .\n\n $v\u00fdchoz\u00ed reduce using rule 5 (T2)\n","avg_line_length":13.0184331797,"max_line_length":46,"alphanum_fraction":0.4902654867} -{"size":642,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"flavor-02.hac\":12:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (instance-decl) ... [7:1--8:11]\n#STATE#\t(process-prototype) [10:1..31]\n#STATE#\t{ [10:33]\n#STATE#\tkeyword: prs [11:1..3]\n#STATE#\t(null) \n#STATE#\t{ [11:5]\n#STATE#\t(prs-literal) [12:2..10]\n#STATE#\t& [12:12]\n#STATE#\t(null) \n#STATE#\t(prs-literal) [12:14]\n#STATE#\t< [12:15]\n#STATE#\tlist<(expr)>: int: 10 ... [12:16..21]\n#STATE#\t: [12:22]\nin state #STATE#, possible rules are:\n\tprs_literal_params_in_angles_optional: '<' prs_literal_params_optional . ';' generic_attribute_list '>' (#RULE#)\nacceptable tokens are: \n\t';' (shift)\n","avg_line_length":27.9130434783,"max_line_length":114,"alphanum_fraction":0.6448598131} -{"size":475,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"001.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: typedef [3:1..7]\n#STATE#\tparamtype: pbool [3:9..13]\nin state #STATE#, possible rules are:\n\ttype_alias: optional_export optional_template_specification TYPEDEF . physical_type_ref ID ';' (#RULE#)\nacceptable tokens are: \n\tID (shift)\n\tSCOPE (shift)\n\tCHANNEL (shift)\n\tINT_TYPE (shift)\n\tBOOL_TYPE (shift)\n\tEINT_TYPE (shift)\n\tEBOOL_TYPE (shift)\n","avg_line_length":23.75,"max_line_length":105,"alphanum_fraction":0.72} -{"size":494,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"file-expand-03.hac\":7:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(imported-root-list) [4:1--5:20]\n#STATE#\t(type-ref) [7:1..4]\n#STATE#\tlist<(declaration-id)>: (declaration-id): identifier: error ... [7:6..10]\n#STATE#\tidentifier: here [7:12..15]\nin state #STATE#, possible rules are:\n\ttype_instance_declaration: type_id instance_id_list . ';' (#RULE#)\n\tinstance_id_list: instance_id_list . ',' instance_id_item (#RULE#)\nacceptable tokens are: \n\t',' (shift)\n\t';' (shift)\n","avg_line_length":32.9333333333,"max_line_length":81,"alphanum_fraction":0.6902834008} -{"size":359,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"cpp-line-02-a.hac-cpp\":5:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (instance-decl) ... [5:1..6]\n#STATE#\t(type-ref) [5:1..4]\n#STATE#\tdatatype: bool [5:6..9]\nin state #STATE#, possible rules are:\n\ttype_instance_declaration: type_id . instance_id_list ';' (#RULE#)\nacceptable tokens are: \n\tID (shift)\n","avg_line_length":27.6153846154,"max_line_length":68,"alphanum_fraction":0.6824512535} -{"size":450,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"007.hac\":3:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\t(null) \n#STATE#\tkeyword: defchan [3:1..7]\n#STATE#\tidentifier: mychan [3:9..14]\n#STATE#\t<: [3:16]\n#STATE#\t(chan-type) [3:19..28]\n#STATE#\t( [3:30]\n#STATE#\t(type-ref) [3:31..33]\n#STATE#\t) [3:34]\nin state #STATE#, possible rules are:\n\tport_formal_decl: port_physical_type_ref . port_formal_id_list (#RULE#)\nacceptable tokens are: \n\tID (shift)\n","avg_line_length":23.6842105263,"max_line_length":73,"alphanum_fraction":0.6666666667} -{"size":7788,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"%%\n\nDefinitions\n : ExtendedAttributeList Definition Definitions\n | \u03b5\n ;\n\nDefinition\n : CallbackOrInterfaceOrMixin\n | Namespace\n | Partial\n | Dictionary\n | Enum\n | Typedef\n | IncludesStatement\n ;\nArgumentNameKeyword\n : attribute\n | callback\n | const\n | deleter\n | dictionary\n | enum\n | getter\n | includes\n | inherit\n | interface\n | iterable\n | maplike\n | namespace\n | partial\n | required\n | setlike\n | setter\n | static\n | stringifier\n | typedef\n | unrestricted\n ;\nCallbackOrInterfaceOrMixin\n : callback CallbackRestOrInterface\n | interface InterfaceOrMixin\n ;\nCallbackRestOrInterface\n : CallbackRest\n | interface InterfaceRest\n ;\nInterfaceOrMixin\n : InterfaceRest\n | MixinRest\n ;\nInterfaceRest\n : IDENTIFIER Inheritance '{' InterfaceMembers '}' ';'\n ;\nPartial\n : partial PartialDefinition\n ;\nPartialDefinition\n : interface PartialInterfaceOrPartialMixin\n | PartialDictionary\n | Namespace\n ;\nPartialInterfaceOrPartialMixin\n : PartialInterfaceRest\n | MixinRest\n ;\nPartialInterfaceRest\n : IDENTIFIER '{' InterfaceMembers '}' ';'\n ;\nInterfaceMembers\n : ExtendedAttributeList InterfaceMember InterfaceMembers\n | \u03b5\n ;\nInterfaceMember\n : Const\n | Operation\n | Stringifier\n | StaticMember\n | Iterable\n | ReadOnlyMember\n | ReadWriteAttribute\n | ReadWriteMaplike\n | ReadWriteSetlike\n ;\nInheritance\n : ':' IDENTIFIER\n | \u03b5\n ;\nMixinRest\n : mixin IDENTIFIER '{' MixinMembers '}' ';'\n ;\nMixinMembers\n : ExtendedAttributeList MixinMember MixinMembers\n | \u03b5\n ;\nMixinMember\n : Const\n | RegularOperation\n | Stringifier\n | ReadOnly AttributeRest\n ;\nIncludesStatement\n : IDENTIFIER includes IDENTIFIER ';'\n ;\nConst\n : const ConstType IDENTIFIER '=' ConstValue ';'\n ;\nConstValue\n : BooleanLiteral\n | FloatLiteral\n | INTEGER\n | null\n ;\nBooleanLiteral\n : true\n | false\n ;\nFloatLiteral\n : FLOAT\n | \"-Infinity\"\n | \"Infinity\"\n | \"NaN\"\n ;\nConstType\n : PrimitiveType Null\n | IDENTIFIER Null\n ;\nReadOnlyMember\n : readonly ReadOnlyMemberRest\n ;\nReadOnlyMemberRest\n : AttributeRest\n | ReadWriteMaplike\n | ReadWriteSetlike\n ;\nReadWriteAttribute\n : inherit ReadOnly AttributeRest\n | AttributeRest\n ;\nAttributeRest\n : attribute TypeWithExtendedAttributes AttributeName ';'\n ;\nAttributeName\n : AttributeNameKeyword\n | IDENTIFIER\n ;\nAttributeNameKeyword\n : required\n ;\nReadOnly\n : readonly\n | \u03b5\n ;\nDefaultValue\n : ConstValue\n | STRING\n | '[' ']'\n ;\nOperation\n : RegularOperation\n | SpecialOperation\n ;\nRegularOperation\n : ReturnType OperationRest\n ;\nSpecialOperation\n : Special RegularOperation\n ;\nSpecial\n : getter\n | setter\n | deleter\n ;\nOperationRest\n : OptionalIdentifier '(' ArgumentList ')' ';'\n ;\nOptionalIdentifier\n : IDENTIFIER\n | \u03b5\n ;\nArgumentList\n : Argument Arguments\n | \u03b5\n ;\nArguments\n : ',' Argument Arguments\n | \u03b5\n ;\nArgument\n : ExtendedAttributeList ArgumentRest\n ;\nArgumentRest\n : optional TypeWithExtendedAttributes ArgumentName Default\n | Type Ellipsis ArgumentName\n ;\nArgumentName\n : ArgumentNameKeyword\n | IDENTIFIER\n ;\nEllipsis\n : \"...\"\n | \u03b5\n ;\nReturnType\n : Type\n | void\n ;\nStringifier\n : stringifier StringifierRest\n ;\nStringifierRest\n : ReadOnly AttributeRest\n | RegularOperation\n | ';'\n ;\nStaticMember\n : static StaticMemberRest\n ;\nStaticMemberRest\n : ReadOnly AttributeRest\n | RegularOperation\n ;\nIterable\n : iterable '<' TypeWithExtendedAttributes OptionalType '>' ';'\n ;\nOptionalType\n : ',' TypeWithExtendedAttributes\n | \u03b5\n ;\nReadWriteMaplike\n : MaplikeRest\n ;\nMaplikeRest\n : maplike '<' TypeWithExtendedAttributes ',' TypeWithExtendedAttributes '>' ';'\n ;\nReadWriteSetlike\n : SetlikeRest\n ;\nSetlikeRest\n : setlike '<' TypeWithExtendedAttributes '>' ';'\n ;\nNamespace\n : namespace IDENTIFIER '{' NamespaceMembers '}' ';'\n ;\nNamespaceMembers\n : ExtendedAttributeList NamespaceMember NamespaceMembers\n | \u03b5\n ;\nNamespaceMember\n : RegularOperation\n | readonly AttributeRest\n ;\nDictionary\n : dictionary IDENTIFIER Inheritance '{' DictionaryMembers '}' ';'\n ;\nDictionaryMembers\n : DictionaryMember DictionaryMembers\n | \u03b5\n ;\nDictionaryMember\n : ExtendedAttributeList DictionaryMemberRest\n ;\nDictionaryMemberRest\n : required TypeWithExtendedAttributes IDENTIFIER Default ';'\n | Type IDENTIFIER Default ';'\n ;\nPartialDictionary\n : dictionary IDENTIFIER '{' DictionaryMembers '}' ';'\n ;\nDefault\n : '=' DefaultValue\n | \u03b5\n ;\nEnum\n : enum IDENTIFIER '{' EnumValueList '}' ';'\n ;\nEnumValueList\n : STRING EnumValueListComma\n ;\nEnumValueListComma\n : ',' EnumValueListString\n | \u03b5\n ;\nEnumValueListString\n : STRING EnumValueListComma\n | \u03b5\n ;\nCallbackRest\n : IDENTIFIER '=' ReturnType '(' ArgumentList ')' ';'\n ;\nTypedef\n : typedef TypeWithExtendedAttributes IDENTIFIER ';'\n ;\nType\n : SingleType\n | UnionType Null\n ;\nTypeWithExtendedAttributes\n : ExtendedAttributeList Type\n ;\nSingleType\n : NonAnyType\n | any\n ;\nUnionType\n : '(' UnionMemberType or UnionMemberType UnionMemberTypes ')'\n ;\nUnionMemberType\n : ExtendedAttributeList NonAnyType\n | UnionType Null\n ;\nUnionMemberTypes\n : or UnionMemberType UnionMemberTypes\n | \u03b5\n ;\nNonAnyType\n : PromiseType \u03b5\n | PrimitiveType Null\n | StringType Null\n | IDENTIFIER Null\n | sequence '<' TypeWithExtendedAttributes '>' Null\n | object Null\n | symbol Null\n | Error Null\n | BufferRelatedType Null\n | FrozenArray '<' TypeWithExtendedAttributes '>' Null\n | RecordType Null\n ;\nPrimitiveType\n : UnsignedIntegerType\n | UnrestrictedFloatType\n | boolean\n | byte\n | octet\n ;\nUnrestrictedFloatType\n : unrestricted FloatType\n | FloatType\n ;\nFloatType\n : FLOAT\n | double\n ;\nUnsignedIntegerType\n : unsigned IntegerType\n | IntegerType\n ;\nIntegerType\n : short\n | long OptionalLong\n ;\nOptionalLong\n : long\n | \u03b5\n ;\nStringType\n : \"ByteString\"\n | \"DOMString\"\n | \"USVString\"\n ;\nPromiseType\n : Promise '<' ReturnType '>'\n ;\nRecordType\n : record '<' StringType ',' TypeWithExtendedAttributes '>'\n ;\nNull\n : '?'\n | \u03b5\n ;\nBufferRelatedType\n : ArrayBuffer\n | DataView\n | Int8Array\n | Int16Array\n | Int32Array\n | Uint8Array\n | Uint16Array\n | Uint32Array\n | Uint8ClampedArray\n | Float32Array\n | Float64Array\n ;\nExtendedAttributeList\n : '[' ExtendedAttribute ExtendedAttributes ']'\n | \u03b5\n ;\nExtendedAttributes\n : ',' ExtendedAttribute ExtendedAttributes\n | \u03b5\n ;\nExtendedAttribute\n : '(' ExtendedAttributeInner ')' ExtendedAttributeRest\n | '[' ExtendedAttributeInner ']' ExtendedAttributeRest\n | '{' ExtendedAttributeInner '}' ExtendedAttributeRest\n | Other ExtendedAttributeRest\n ;\nExtendedAttributeRest\n : ExtendedAttribute\n | \u03b5\n ;\nExtendedAttributeInner\n : '(' ExtendedAttributeInner ')' ExtendedAttributeInner\n | '[' ExtendedAttributeInner ']' ExtendedAttributeInner\n | '{' ExtendedAttributeInner '}' ExtendedAttributeInner\n | OtherOrComma ExtendedAttributeInner\n | \u03b5\n ;\nOther\n : INTEGER\n | FLOAT\n | IDENTIFIER\n | STRING\n | OTHER\n | '-'\n | \"-Infinity\"\n | '.'\n | \"...\"\n | ':'\n | ';'\n | '<'\n | '='\n | '>'\n | '?'\n | \"ByteString\"\n | \"DOMString\"\n | FrozenArray\n | \"Infinity\"\n | \"NaN\"\n | \"USVString\"\n | any\n | boolean\n | byte\n | double\n | false\n | FLOAT\n | long\n | null\n | object\n | octet\n | or\n | optional\n | sequence\n | short\n | true\n | unsigned\n | void\n | ArgumentNameKeyword\n | BufferRelatedType\n ;\nOtherOrComma\n : Other\n | ','\n ;\nIdentifierList\n : IDENTIFIER Identifiers\n ;\nIdentifiers\n : ',' IDENTIFIER Identifiers\n | \u03b5\n ;\nExtendedAttributeNoArgs\n : IDENTIFIER\n ;\nExtendedAttributeArgList\n : IDENTIFIER '(' ArgumentList ')'\n ;\nExtendedAttributeIdent\n : IDENTIFIER '=' IDENTIFIER\n ;\nExtendedAttributeIdentList\n : IDENTIFIER '=' '(' IdentifierList ')'\n ;\nExtendedAttributeNamedArgList\n : IDENTIFIER '=' IDENTIFIER '(' ArgumentList ')'\n ;\n","avg_line_length":16.3270440252,"max_line_length":81,"alphanum_fraction":0.6913199795} -{"size":433,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"At: \"bad-loop-04.hac\":8:\nparse error: syntax error\nparser stacks:\nstate\tvalue\n#STATE#\t(null) \n#STATE#\tlist<(root_item)>: (instance-decl) ... [6:1--7:8]\n#STATE#\t( [8:1]\n#STATE#\t; [8:2]\n#STATE#\tidentifier: i [8:3]\n#STATE#\t: [8:4]\n#STATE#\t(range) [8:6..17]\n#STATE#\t; [8:18]\nin state #STATE#, possible rules are:\n\tloop_instantiation: '(' ';' ID ':' range . ':' instance_management_list ')' (#RULE#)\nacceptable tokens are: \n\t':' (shift)\n","avg_line_length":25.4705882353,"max_line_length":86,"alphanum_fraction":0.6166281755} -{"size":14607,"ext":"bison","lang":"Bison","max_stars_count":null,"content":"%token TOKEN_EOF\n%token TOKEN_IDENT\n%token TOKEN_ERROR\n\/\/ Literals\n%token TOKEN_NUMBER\n%token TOKEN_STRING_LITERAL\n%token TOKEN_CHAR_LITERAL\n\/\/ Types\n%token TOKEN_INTEGER \n%token TOKEN_ARRAY\n%token TOKEN_BOOLEAN \n%token TOKEN_CHAR\n%token TOKEN_STRING\n\/\/ Key Words\n%token TOKEN_ELSE \n%token TOKEN_FALSE \n%token TOKEN_FOR \n%token TOKEN_FUNCTION \n%token TOKEN_IF \n%token TOKEN_PRINT \n%token TOKEN_RETURN \n%token TOKEN_TRUE \n%token TOKEN_VOID\n%token TOKEN_AUTO\n\/\/ Bracket Types\n%token TOKEN_LEFTPARAND\n%token TOKEN_RIGHTPARAND\n%token TOKEN_LEFTSQUARE\n%token TOKEN_RIGHTSQUARE\n%token TOKEN_LEFTCURLY\n%token TOKEN_RIGHTCURLY\n\/\/ Operations\n%token TOKEN_INCREMENT\n%token TOKEN_DECREMENT \n%token TOKEN_ADD\n%token TOKEN_SUBTRACT \n%token TOKEN_EXPONENT \n%token TOKEN_MULTIPLY\n%token TOKEN_DIVIDE\n%token TOKEN_MODULUS\n%token TOKEN_ASSIGNMENT\n\/\/ Compare and Contrast\n%token TOKEN_GT\n%token TOKEN_GE\n%token TOKEN_LT\n%token TOKEN_LE\n%token TOKEN_EQ\n%token TOKEN_NEQ\n\/\/ Logic\n%token TOKEN_AND\n%token TOKEN_OR\n%token TOKEN_NOT\n\/\/ Other\n%token TOKEN_SEMICOLON\n%token TOKEN_COLON\n%token TOKEN_COMMA\n\n%union\n{\n\tstruct decl *decl;\n\tstruct stmt *stmt;\n\tstruct expr *expr;\n\tstruct param_list *param_list;\n\tstruct type *type;\n\tchar* ident;\n\tint number;\t\n};\n\n%type prog decls decl decl_assignment decl_function assign no_assign no_assign_arr\n%type stmt stmts match unmatch stmt_other stmt_eds\n%type expr exprs exprs_more expr_for add_sub mult_div_mod exp comp logic negative postfix group brackets bracket array_elements elements elements_more atomic\n%type type type_func array_assign array_arg \n%type no_assigns no_assigns_more\n%type ident\n%type number\n\n%{\n\t#include \n\t#include \n\t#include \n\n\t#include \"decl.h\"\n\t#include \"stmt.h\"\n\t#include \"expr.h\"\n\t#include \"type.h\"\n\t#include \"param_list.h\"\n\n\textern int yylex();\n\textern char *yytext;\n\textern int yylineno;\n\n\tint yyerror();\n\n\tstruct decl* parser_result;\n%}\n\n%%\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ DECL GRAMMAR\n\/\/ format\n\/\/ - decl_create(name, type, value, code, next)\n\/\/ name: name of declaration\n\/\/ type: type of declaration\n\/\/ value: if an expression\n\/\/ code: if a function\n\/\/ next: pointer to the next declaration in the program\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/ program is a set of declarations\nprog: decls \t\t{ parser_result = $1; }\n\t| %empty\t\t{ parser_result = NULL; }\n\t;\n\n\/\/ can either have one or many declarations\ndecls: decl \t\t{ $$ = $1; }\n\t | decl decls { $$ = $1, $1->next = $2; }\n\t ;\n\n\/\/ global variable or global function declarations or function prototypes\ndecl: decl_assignment { $$ = $1; }\n | decl_function { $$ = $1; }\n ;\n\n\/\/ declaration for global variable\ndecl_assignment: assign TOKEN_SEMICOLON { $$ = $1; }\n\t | no_assign TOKEN_SEMICOLON { $$ = $1; }\n\n\/\/ declaration for function\ndecl_function: ident TOKEN_COLON TOKEN_FUNCTION type_func TOKEN_LEFTPARAND no_assigns TOKEN_RIGHTPARAND TOKEN_SEMICOLON\t{ $$ = decl_create($1, type_create(TYPE_PROTO, $4, $6, 0), 0, 0, 0); }\n\t | ident TOKEN_COLON TOKEN_FUNCTION type_func TOKEN_LEFTPARAND no_assigns TOKEN_RIGHTPARAND TOKEN_ASSIGNMENT TOKEN_LEFTCURLY stmts TOKEN_RIGHTCURLY\t{ $$ = decl_create($1, type_create(TYPE_FUNCTION, $4, $6, 0), 0, $10, 0); }\n\t | ident TOKEN_COLON TOKEN_FUNCTION type_func TOKEN_LEFTPARAND no_assigns TOKEN_RIGHTPARAND TOKEN_ASSIGNMENT TOKEN_LEFTCURLY TOKEN_RIGHTCURLY { $$ = decl_create($1, type_create(TYPE_FUNCTION, $4, $6, 0), 0, 0, 0); }\n\t ;\n\n\/\/ assignment of global and local variables (other than an array)\nassign: ident TOKEN_COLON type TOKEN_ASSIGNMENT expr \t\t\t\t { $$ = decl_create(strdup($1), $3, $5, 0, 0); }\n | ident TOKEN_COLON array_assign\t\t\t\t\t\t\t\t { $$ = decl_create(strdup($1), $3, 0, 0, 0); }\n\t | ident TOKEN_COLON array_assign TOKEN_ASSIGNMENT array_elements { $$ = decl_create(strdup($1), $3, $5, 0, 0); \/*printf(\"DECL ARRAY ELEMENTS\\n\");*\/ }\n\t ;\n\n\/\/ variable declaration without assignment\nno_assign: ident TOKEN_COLON type \t\t\t{ $$ = decl_create($1, $3, 0, 0, 0); }\n\t\t ;\n\n\/\/ an unassigned array without a size definition for use only in array arguments\nno_assign_arr: ident TOKEN_COLON array_arg { $$ = decl_create($1, $3, 0, 0, 0); }\n ;\n\n\/\/ multiple arguments or var declarations without assignment (like function args)\nno_assigns: no_assign \t\t\t\t\t\t{ $$ = param_list_create($1->name, $1->type, 0); }\n | no_assign_arr \t\t\t\t\t{ $$ = param_list_create($1->name, $1->type, 0); }\n\t\t | no_assign no_assigns_more \t\t{ $$ = param_list_create($1->name, $1->type, 0), $$->next = $2; }\n\t\t | no_assign_arr no_assigns_more { $$ = param_list_create($1->name, $1->type, 0), $$->next = $2; }\n\t\t | %empty \t\t\t\t\t\t\t{ $$ = 0; }\n\t\t ;\n\n\/\/ are we using more than one function arg\nno_assigns_more: TOKEN_COMMA no_assign no_assigns_more \t { $$ = param_list_create($2->name, $2->type, 0), $$->next = $3; }\n | TOKEN_COMMA no_assign_arr no_assigns_more { $$ = param_list_create($2->name, $2->type, 0), $$->next = $3; }\n\t\t\t | TOKEN_COMMA no_assign \t\t\t\t\t { $$ = param_list_create($2->name, $2->type, 0); }\n\t\t\t | TOKEN_COMMA no_assign_arr \t\t\t { $$ = param_list_create($2->name, $2->type, 0); }\n\t\t\t ;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ STMT GRAMMAR\n\/\/ format\n\/\/ - stmt_create(kind, decl, init_expr, expr, next_expr, body, else_body, next)\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/ 1 or more statements\nstmts: stmt { $$ = $1; }\n | stmt stmts { $$ = $1, $1->next = $2; }\n ;\n\n\/\/ statements (stmt) such as if-else, loops, return statements\nstmt: match\t\t{ $$ = $1; }\n\t| unmatch { $$ = $1; }\n\t;\n\n\/\/ matched statement\nmatch: TOKEN_IF TOKEN_LEFTPARAND expr TOKEN_RIGHTPARAND match TOKEN_ELSE match \t\t\t\t\t\t\t\t\t\t\t { $$ = stmt_create(STMT_IF_ELSE, 0, 0, $3, 0, $5, $7, 0); }\n\t | TOKEN_FOR TOKEN_LEFTPARAND expr_for TOKEN_SEMICOLON expr_for TOKEN_SEMICOLON expr_for TOKEN_RIGHTPARAND match { $$ = stmt_create(STMT_FOR, 0, $3, $5, $7, $9, 0, 0); }\n\t | stmt_other \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t { $$ = $1; }\n\t ;\n\n\/\/ unmatched statement\nunmatch: TOKEN_IF TOKEN_LEFTPARAND expr TOKEN_RIGHTPARAND stmt \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t { $$ = stmt_create(STMT_IF_ELSE, 0, 0, $3, 0, $5, 0, 0); }\n\t | TOKEN_IF TOKEN_LEFTPARAND expr TOKEN_RIGHTPARAND match TOKEN_ELSE unmatch \t\t\t\t\t\t\t\t\t\t { $$ = stmt_create(STMT_IF_ELSE, 0, 0, $3, 0, $5, $7, 0); }\n\t | TOKEN_FOR TOKEN_LEFTPARAND expr_for TOKEN_SEMICOLON expr_for TOKEN_SEMICOLON expr_for TOKEN_RIGHTPARAND unmatch { $$ = stmt_create(STMT_FOR, 0, $3, $5, $7, $9, 0, 0); }\n\t ;\n\n\/\/ other statement: return, print, some other statements, expressions, or declarations\nstmt_other: TOKEN_RETURN expr TOKEN_SEMICOLON \t{ $$ = stmt_create(STMT_RETURN, 0, 0, $2, 0, 0, 0, 0); }\n\t\t | TOKEN_RETURN TOKEN_SEMICOLON\t\t{ $$ = stmt_create(STMT_RETURN, 0, 0, expr_create(TYPE_VOID, 0, 0), 0, 0, 0, 0); }\n\t\t | TOKEN_PRINT exprs TOKEN_SEMICOLON { $$ = stmt_create(STMT_PRINT, 0, 0, $2, 0, 0, 0, 0); }\n\t\t | stmt_eds { $$ = $1; }\n ;\n\n\/\/ expr or decl or statements\nstmt_eds: TOKEN_LEFTCURLY stmts TOKEN_RIGHTCURLY { $$ = stmt_create(STMT_BLOCK, 0, 0, 0, 0, $2, 0, 0); }\n\t\t| expr TOKEN_SEMICOLON { $$ = stmt_create(STMT_EXPR, 0, 0, $1, 0, 0, 0, 0); }\n\t\t| decl_assignment { $$ = stmt_create(STMT_DECL, $1, 0, 0, 0, 0, 0, 0); } \/\/ may need to be null vals instead\n\t\t;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ TYPE GRAMMAR\n\/\/\n\/\/ format\n\/\/ - type_create(kind, subtype, params, size)\n\/\/ current issues:\n\/\/ - make the array_assign semantics into a decl or expression creation of some sort so we can account for the array size\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/ atomic types\n\/\/ definitions (type) representing abstract types like integer, string, and array\ntype: TOKEN_INTEGER \t\t\t\t\t\t\t{ $$ = type_create(TYPE_INTEGER, 0, 0, 0); }\n\t| TOKEN_BOOLEAN\t\t\t\t\t\t\t\t{ $$ = type_create(TYPE_BOOLEAN, 0, 0, 0); }\n\t| TOKEN_CHAR \t\t\t\t\t\t\t\t{ $$ = type_create(TYPE_CHARACTER, 0, 0, 0); }\n\t| TOKEN_STRING \t\t\t\t\t\t\t\t{ $$ = type_create(TYPE_STRING, 0, 0, 0); }\n\t| TOKEN_AUTO { $$ = type_create(TYPE_AUTO, 0, 0, 0); }\n\t;\n\n\/\/ function return type, can be any of the regular types or nothing (void)\ntype_func: type \t\t\t\t\t\t\t\t{ $$ = $1; }\n | TOKEN_VOID\t\t\t\t\t\t\t{ $$ = type_create(TYPE_VOID, 0, 0, 0);}\n ;\n\n\/\/ array usage: \"a: array[5] integer = {1,2,3,4,5};\"\narray_assign: TOKEN_ARRAY TOKEN_LEFTSQUARE number TOKEN_RIGHTSQUARE type { $$ = type_create(TYPE_ARRAY, $5, 0, $3); }\n | TOKEN_ARRAY TOKEN_LEFTSQUARE number TOKEN_RIGHTSQUARE array_assign { $$ = type_create(TYPE_ARRAY, $5, 0, $3); }\n\t ;\n\n\/\/ array usage as a function argument: printarray: function void (a: array [] array [] integer, size: integer)\narray_arg: TOKEN_ARRAY TOKEN_LEFTSQUARE TOKEN_RIGHTSQUARE type { $$ = type_create(TYPE_ARRAY, $4, 0, 0); }\n | TOKEN_ARRAY TOKEN_LEFTSQUARE TOKEN_RIGHTSQUARE array_arg { $$ = type_create(TYPE_ARRAY, $4, 0, 0); }\n ;\n\n\/\/ array element declarations\narray_elements: TOKEN_LEFTCURLY elements TOKEN_RIGHTCURLY { $$ = $2; \/*printf(\"ARRAY ELEMENTS\\n\");*\/ }\n\t\t\t | TOKEN_LEFTCURLY elements_more TOKEN_RIGHTCURLY { $$ = $2; \/*printf(\"ARRAY ELEMENTS MORE\\n\");*\/ }\n\t\t\t ;\n\n\/\/ array element literals, 1D\nelements: atomic \t\t\t\t\t { $$ = $1; \/*printf(\"ARRAY ELEMENT ATOMIC\\n\");*\/ }\n\t\t| atomic TOKEN_COMMA elements { $$ = $1, $1->next = $3; \/*printf(\"ARRAY ELEMENT ATOMIC COMMA\\n\");*\/ }\n\t\t;\n\n\/\/ array element literals, 2D+\nelements_more: TOKEN_LEFTCURLY elements TOKEN_RIGHTCURLY { $$ = $2; \/*printf(\"2D ARRAY ELEMENT\\n\");*\/ }\n \t\t\t | TOKEN_LEFTCURLY elements TOKEN_RIGHTCURLY TOKEN_COMMA elements_more { $$ = $2, $2->right = $5; \/*printf(\"2D ARRAY ELEMENT MORE\\n\");*\/ }\n \t\t\t ;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ EXPR GRAMMAR\n\/\/\n\/\/ format\n\/\/ - expr_create(kind, left, right)\n\/\/ current issues:\n\/\/ - duplication of different tokens followed by some atomic doesn't sound good\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/ for loop expression ( could be something like for (i=0;i<5;i++) or (;;) )\nexpr_for: expr { $$ = $1; }\n | %empty { $$ = 0; }\n ;\n\n\/\/ multiple expressions for either print statements or function calls, or nothing at all\nexprs: exprs_more { $$ = $1; }\n | %empty { $$ = 0; }\n ;\n\n\/\/ multiple expressions for either print statements or function calls\nexprs_more: expr \t\t\t\t\t\t{ $$ = $1; }\n\t | expr TOKEN_COMMA exprs_more { $$ = $1, $1->next = $3; }\n\t ;\n \n\/\/ assignment expression\nexpr: expr TOKEN_ASSIGNMENT add_sub\t{ $$ = expr_create(EXPR_ASSIGN, $1, $3); }\n | add_sub \t{ $$ = $1; }\n ;\n\n\/\/ operations: addition, subtraction\nadd_sub: add_sub TOKEN_ADD mult_div_mod \t\t{ $$ = expr_create(EXPR_ADD, $1, $3); }\n | add_sub TOKEN_SUBTRACT mult_div_mod\t{ $$ = expr_create(EXPR_SUB, $1, $3); }\n | mult_div_mod { $$ = $1; }\n ;\n\n\/\/ operations: multiply, divide, modulus\nmult_div_mod: mult_div_mod TOKEN_MULTIPLY exp\t{ $$ = expr_create(EXPR_MUL, $1, $3); }\n | mult_div_mod TOKEN_DIVIDE exp\t\t\t\t{ $$ = expr_create(EXPR_DIV, $1, $3); }\n | mult_div_mod TOKEN_MODULUS exp\t\t\t\t{ $$ = expr_create(EXPR_MOD, $1, $3); }\n | exp \t\t\t\t\t\t\t\t\t\t{ $$ = $1; }\n ;\n\n\/\/ operations: exponent\nexp: exp TOKEN_EXPONENT comp \t{ $$ = expr_create(EXPR_EXP, $1, $3); }\n | comp \t\t\t\t\t\t{ $$ = $1; }\n ;\n\n\/\/ comparison operators: >, >=, <, <=, ==, !=\ncomp: comp TOKEN_GE logic \t\t{ $$ = expr_create(EXPR_GE, $1, $3); }\n | comp TOKEN_GT logic \t\t{ $$ = expr_create(EXPR_GT, $1, $3); }\n | comp TOKEN_LE logic \t\t{ $$ = expr_create(EXPR_LE, $1, $3); }\n | comp TOKEN_LT logic \t\t{ $$ = expr_create(EXPR_LT, $1, $3); }\n | comp TOKEN_EQ logic \t\t{ $$ = expr_create(EXPR_EQ, $1, $3); }\n | comp TOKEN_NEQ logic \t\t{ $$ = expr_create(EXPR_NEQ, $1, $3); }\n | logic \t\t\t\t\t{ $$ = $1; }\n ; \n\n\/\/ logic operators: &&, || \nlogic: logic TOKEN_AND negative \t{ $$ = expr_create(EXPR_AND, $1, $3); }\n | logic TOKEN_OR negative \t{ $$ = expr_create(EXPR_OR, $1, $3); }\n | negative \t\t\t\t\t{ $$ = $1; }\n\n\/\/ unary negation, logical not: ! -\nnegative: TOKEN_NOT postfix\t\t\t{ $$ = expr_create(EXPR_NOT, 0, $2); }\n | TOKEN_SUBTRACT postfix { $$ = expr_create(EXPR_NEG, 0, $2); }\n | postfix \t\t\t\t\t{ $$ = $1; }\n ;\n\n\/\/ postfix increment, decrement: ++ --\npostfix: postfix TOKEN_INCREMENT { $$ = expr_create(EXPR_INCR, $1, 0); }\n\t | postfix TOKEN_DECREMENT { $$ = expr_create(EXPR_DECR, $1, 0); }\n\t | group \t\t\t\t\t{ $$ = $1; }\n\t ;\n\n\/\/ grouping: (), [], function call f()\ngroup: TOKEN_LEFTPARAND expr TOKEN_RIGHTPARAND \t\t\t{ $$ = expr_create(EXPR_GROUP, 0, $2); \t\t\t\t\t }\n | ident TOKEN_LEFTPARAND exprs TOKEN_RIGHTPARAND { $$ = expr_create(EXPR_FUNCCALL, expr_create_name($1), $3); \/*printf(\"FUNC CALL\\n\");*\/ }\n | ident brackets { $$ = expr_create(EXPR_ARRELEM, expr_create_name($1), $2); \/*printf(\"ARRAY INDEX\\n\");*\/ }\n | atomic \t\t\t\t\t\t\t\t\t\t\t{ $$ = $1; }\n ;\n\n\/\/ one set of brackets or multiple in a row\nbrackets: bracket \t\t\t\t\t\t\t\t\t\t{ $$ = $1; }\n\t | bracket brackets \t\t\t\t\t\t\t{ $$ = $1, $1->next = $2; \/*printf(\"MULTIDIM\\n\");*\/ }\n\t ;\n\n\/\/ bracket set with some expression in between\nbracket: TOKEN_LEFTSQUARE expr TOKEN_RIGHTSQUARE \t\t{ $$ = $2; \/*printf(\"BRACKET\\n\");*\/ }\n ;\n\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\/\/ LITERALS AND ATOMICS\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/\/ what could be to the right of an equals sign or function type\natomic: number \t\t\t\t\t{ $$ = expr_create_integer_literal($1); \t\t }\n | ident \t\t\t\t\t{ $$ = expr_create_name($1); }\n | TOKEN_STRING_LITERAL\t{ $$ = expr_create_string_literal(strdup(yytext)); \/*printf(\"STRING LITERAL %s\\n\",strdup(yytext));*\/ }\n | TOKEN_CHAR_LITERAL\t\t{ $$ = expr_create_char_literal(yytext[1]); \/*printf(\"CHARACTER LITERAL %s\\n\",strdup(yytext));*\/ }\n | TOKEN_TRUE \t\t\t\t{ $$ = expr_create_boolean_literal(1); \t\t }\n | TOKEN_FALSE\t\t\t\t{ $$ = expr_create_boolean_literal(0); \t\t }\n ;\n\n\/\/ integer literal for either a definition or array size?\nnumber: TOKEN_NUMBER\t{ $$ = atoi(yytext); \/*printf(\"NUMBER %d\\n\", atoi(yytext));*\/ }\n\t ;\n\n\/\/ identifier\nident: TOKEN_IDENT\t\t{ $$ = strdup(yytext); \/*printf(\"IDENTIFIER %s\\n\", strdup(yytext));*\/ }\n ;\n\n%%\n\nint yyerror(char const *s)\n{\n\tprintf(\"parse error: failed on line %d, %s\\n\",yylineno,s);\n\texit(1);\n} ","avg_line_length":39.4783783784,"max_line_length":232,"alphanum_fraction":0.6063531184}