⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fincyacc.output

📁 FinC is Fava in C! A C-like syntax language. It s designed to apply to embededd system.
💻 OUTPUT
📖 第 1 页 / 共 5 页
字号:
    V_STRING	shift, and go to state 33state 18    identifier  ->  IDENTIFIER .   (rule 67)    $default	reduce using rule 67 (identifier)state 19    input  ->  input decl .   (rule 2)    $default	reduce using rule 2 (input)state 20    decl  ->  decl_global .   (rule 4)    $default	reduce using rule 4 (decl)state 21    decl_global  ->  decl_variable .   (rule 9)    $default	reduce using rule 9 (decl_global)state 22    decl  ->  decl_struct .   (rule 3)    $default	reduce using rule 3 (decl)state 23    decl  ->  decl_function .   (rule 5)    $default	reduce using rule 5 (decl)state 24    decl  ->  decl_import .   (rule 6)    $default	reduce using rule 6 (decl)state 25    decl  ->  decl_pkg .   (rule 7)    $default	reduce using rule 7 (decl)state 26    decl_variable  ->  type . declarator_list ';'   (rule 11)    decl_variable  ->  type . identifier '[' V_INT ']'   (rule 12)    decl_variable  ->  type . identifier '[' ']'   (rule 13)    decl_variable  ->  type . error   (rule 14)    decl_variable  ->  type . declarator_list error   (rule 15)    decl_function  ->  type . identifier @2 '(' decl_param_type_list ')' statement_block   (rule 32)    error	shift, and go to state 34    IDENTIFIER	shift, and go to state 18    declarator_list	go to state 35    declarator	go to state 36    identifier	go to state 37state 27    type  ->  type_list .   (rule 51)    type_list  ->  type_list . type_basic   (rule 54)    VOID	shift, and go to state 4    CHAR	shift, and go to state 5    SHORT	shift, and go to state 6    INT 	shift, and go to state 7    FLOAT	shift, and go to state 8    DOUBLE	shift, and go to state 9    POINTER	shift, and go to state 10    STRING	shift, and go to state 11    BOOL	shift, and go to state 12    NATIVE	shift, and go to state 14    STATIC	shift, and go to state 15    UNSIGNED	shift, and go to state 16    $default	reduce using rule 51 (type)    type_basic	go to state 38state 28    type_list  ->  type_basic .   (rule 53)    $default	reduce using rule 53 (type_list)state 29    type  ->  identifier .   (rule 52)    $default	reduce using rule 52 (type)state 30    decl_import  ->  IMPORT V_STRING . ';'   (rule 43)    decl_import  ->  IMPORT V_STRING . error   (rule 44)    error	shift, and go to state 39    ';' 	shift, and go to state 40state 31    decl_struct  ->  STRUCT error .   (rule 22)    $default	reduce using rule 22 (decl_struct)state 32    decl_struct  ->  STRUCT identifier . @1 '{' decl_field_list '}' ';'   (rule 21)    $default	reduce using rule 20 (@1)    @1  	go to state 41state 33    decl_pkg  ->  PACKAGE V_STRING . @3 '{' decl_pkg_func_list '}' ';'   (rule 46)    $default	reduce using rule 45 (@3)    @3  	go to state 42state 34    decl_variable  ->  type error .   (rule 14)    $default	reduce using rule 14 (decl_variable)state 35    decl_variable  ->  type declarator_list . ';'   (rule 11)    decl_variable  ->  type declarator_list . error   (rule 15)    declarator_list  ->  declarator_list . ',' declarator   (rule 16)    error	shift, and go to state 43    ';' 	shift, and go to state 44    ',' 	shift, and go to state 45state 36    declarator_list  ->  declarator .   (rule 17)    $default	reduce using rule 17 (declarator_list)state 37    decl_variable  ->  type identifier . '[' V_INT ']'   (rule 12)    decl_variable  ->  type identifier . '[' ']'   (rule 13)    declarator  ->  identifier .   (rule 18)    declarator  ->  identifier . ASSIGN expr_assign   (rule 19)    decl_function  ->  type identifier . @2 '(' decl_param_type_list ')' statement_block   (rule 32)    ASSIGN	shift, and go to state 46    '[' 	shift, and go to state 47    '(' 	reduce using rule 31 (@2)    $default	reduce using rule 18 (declarator)    @2  	go to state 48state 38    type_list  ->  type_list type_basic .   (rule 54)    $default	reduce using rule 54 (type_list)state 39    decl_import  ->  IMPORT V_STRING error .   (rule 44)    $default	reduce using rule 44 (decl_import)state 40    decl_import  ->  IMPORT V_STRING ';' .   (rule 43)    $default	reduce using rule 43 (decl_import)state 41    decl_struct  ->  STRUCT identifier @1 . '{' decl_field_list '}' ';'   (rule 21)    '{' 	shift, and go to state 49state 42    decl_pkg  ->  PACKAGE V_STRING @3 . '{' decl_pkg_func_list '}' ';'   (rule 46)    '{' 	shift, and go to state 50state 43    decl_variable  ->  type declarator_list error .   (rule 15)    $default	reduce using rule 15 (decl_variable)state 44    decl_variable  ->  type declarator_list ';' .   (rule 11)    $default	reduce using rule 11 (decl_variable)state 45    declarator_list  ->  declarator_list ',' . declarator   (rule 16)    IDENTIFIER	shift, and go to state 18    declarator	go to state 51    identifier	go to state 52state 46    declarator  ->  identifier ASSIGN . expr_assign   (rule 19)    V_TRUE	shift, and go to state 53    V_FALSE	shift, and go to state 54    V_NULL	shift, and go to state 55    ADDR_OF	shift, and go to state 56    CONTENT_OF	shift, and go to state 57    PLUS	shift, and go to state 58    SUB 	shift, and go to state 59    IDENTIFIER	shift, and go to state 18    V_INT	shift, and go to state 60    V_FLOAT	shift, and go to state 61    V_STRING	shift, and go to state 62    '(' 	shift, and go to state 63    identifier	go to state 64    literal	go to state 65    expr_assign	go to state 66    expr_condition	go to state 67    expr_logic_or	go to state 68    expr_logic_and	go to state 69    expr_equality	go to state 70    expr_relational	go to state 71    expr_additive	go to state 72    expr_multiplicative	go to state 73    expr_cast	go to state 74    expr_unary	go to state 75    expr_postfix	go to state 76    expr_primary	go to state 77state 47    decl_variable  ->  type identifier '[' . V_INT ']'   (rule 12)    decl_variable  ->  type identifier '[' . ']'   (rule 13)    V_INT	shift, and go to state 78    ']' 	shift, and go to state 79state 48    decl_function  ->  type identifier @2 . '(' decl_param_type_list ')' statement_block   (rule 32)    '(' 	shift, and go to state 80state 49    decl_struct  ->  STRUCT identifier @1 '{' . decl_field_list '}' ';'   (rule 21)    VOID	shift, and go to state 4    CHAR	shift, and go to state 5    SHORT	shift, and go to state 6    INT 	shift, and go to state 7    FLOAT	shift, and go to state 8    DOUBLE	shift, and go to state 9    POINTER	shift, and go to state 10    STRING	shift, and go to state 11    BOOL	shift, and go to state 12    NATIVE	shift, and go to state 14    STATIC	shift, and go to state 15    UNSIGNED	shift, and go to state 16    IDENTIFIER	shift, and go to state 18    decl_field_list	go to state 81    decl_field_declarator	go to state 82    type	go to state 83    type_list	go to state 27    type_basic	go to state 28    identifier	go to state 29state 50    decl_pkg  ->  PACKAGE V_STRING @3 '{' . decl_pkg_func_list '}' ';'   (rule 46)    VOID	shift, and go to state 4    CHAR	shift, and go to state 5    SHORT	shift, and go to state 6    INT 	shift, and go to state 7    FLOAT	shift, and go to state 8    DOUBLE	shift, and go to state 9    POINTER	shift, and go to state 10    STRING	shift, and go to state 11    BOOL	shift, and go to state 12    NATIVE	shift, and go to state 14    STATIC	shift, and go to state 15    UNSIGNED	shift, and go to state 16    IDENTIFIER	shift, and go to state 18    decl_pkg_func_list	go to state 84    decl_pkg_func	go to state 85    type	go to state 86    type_list	go to state 27    type_basic	go to state 28    identifier	go to state 29state 51    declarator_list  ->  declarator_list ',' declarator .   (rule 16)    $default	reduce using rule 16 (declarator_list)state 52    declarator  ->  identifier .   (rule 18)    declarator  ->  identifier . ASSIGN expr_assign   (rule 19)    ASSIGN	shift, and go to state 46    $default	reduce using rule 18 (declarator)state 53    literal  ->  V_TRUE .   (rule 71)    $default	reduce using rule 71 (literal)state 54    literal  ->  V_FALSE .   (rule 72)    $default	reduce using rule 72 (literal)state 55    literal  ->  V_NULL .   (rule 73)    $default	reduce using rule 73 (literal)state 56    expr_unary  ->  ADDR_OF . '(' expr_unary ')'   (rule 103)    expr_unary  ->  ADDR_OF . error   (rule 105)    expr_unary  ->  ADDR_OF . '(' error   (rule 106)    expr_unary  ->  ADDR_OF . '(' expr_unary error   (rule 107)    error	shift, and go to state 87    '(' 	shift, and go to state 88state 57    expr_unary  ->  CONTENT_OF . '(' expr_unary ')'   (rule 104)    expr_unary  ->  CONTENT_OF . error   (rule 108)    expr_unary  ->  CONTENT_OF . '(' error   (rule 109)    expr_unary  ->  CONTENT_OF . '(' expr_unary error   (rule 110)    error	shift, and go to state 89    '(' 	shift, and go to state 90state 58    expr_unary  ->  PLUS . expr_cast   (rule 101)    V_TRUE	shift, and go to state 53    V_FALSE	shift, and go to state 54    V_NULL	shift, and go to state 55    ADDR_OF	shift, and go to state 56    CONTENT_OF	shift, and go to state 57    PLUS	shift, and go to state 58    SUB 	shift, and go to state 59    IDENTIFIER	shift, and go to state 18    V_INT	shift, and go to state 60    V_FLOAT	shift, and go to state 61    V_STRING	shift, and go to state 62    '(' 	shift, and go to state 63    identifier	go to state 64    literal	go to state 65    expr_cast	go to state 91    expr_unary	go to state 92    expr_postfix	go to state 76    expr_primary	go to state 77state 59    expr_unary  ->  SUB . expr_cast   (rule 102)    V_TRUE	shift, and go to state 53    V_FALSE	shift, and go to state 54    V_NULL	shift, and go to state 55    ADDR_OF	shift, and go to state 56    CONTENT_OF	shift, and go to state 57    PLUS	shift, and go to state 58    SUB 	shift, and go to state 59    IDENTIFIER	shift, and go to state 18    V_INT	shift, and go to state 60    V_FLOAT	shift, and go to state 61    V_STRING	shift, and go to state 62    '(' 	shift, and go to state 63    identifier	go to state 64    literal	go to state 65    expr_cast	go to state 93    expr_unary	go to state 92    expr_postfix	go to state 76    expr_primary	go to state 77state 60    literal  ->  V_INT .   (rule 69)    $default	reduce using rule 69 (literal)state 61    literal  ->  V_FLOAT .   (rule 70)    $default	reduce using rule 70 (literal)state 62    literal  ->  V_STRING .   (rule 68)    $default	reduce using rule 68 (literal)state 63    expr_cast  ->  '(' . type ')' expr_cast   (rule 99)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -