summaryrefslogtreecommitdiff
path: root/rubyparser.h
AgeCommit message (Collapse)Author
2024-01-12Remove reference counter from rb_parser_configyui-knk
It's allocated outside of parser then no need to track reference count in rb_parser_config.
2024-01-12Statically allocate parser configyui-knk
2024-01-09Introduce NODE_SYM to manage symbol literalyui-knk
`:sym` was managed by `NODE_LIT` with `Symbol` object. This commit introduces `NODE_SYM` so that 1. Symbol literal is detectable from AST Node 2. Reduce dependency on ruby object
2024-01-07Remove unneeded rb_parser_config_struct struct properties for Universal ParserS-H-GAMELINKS
2024-01-07Introduce Numeric Node'sS-H-GAMELINKS
2024-01-02Introduce NODE_FILEyui-knk
`__FILE__` was managed by `NODE_STR` with `String` object. This commit introduces `NODE_FILE` and `struct rb_parser_string` so that 1. `__FILE__` is detectable from AST Node 2. Reduce dependency ruby object
2023-12-29Introduce NODE_LINEyui-knk
`__LINE__` was managed by `NODE_LIT` with `Integer` object. This commit introduces `NODE_LINE` so that 1. `__LINE__` is detectable from AST Node 2. Reduce dependency ruby object
2023-12-28Add errno_ptr property for Universal Parseryui-knk
2023-12-28Add ary_modify property for Universal Parseryui-knk
2023-12-08Fix typo in a comment [ci skip]Nobuyoshi Nakada
2023-10-30Embed `rb_args_info` in `rb_node_args_t`Nobuyoshi Nakada
2023-10-25Remove unused macroyui-knk
`struct RNode_OP_ASGN22` was removed by 37a783a.
2023-10-20Expand OP_ASGN1 nd_args to nd_index and nd_rvalueyui-knk
ARGSCAT has been used for nd_args to hold index and rvalue, because there was limitation on the number of members for Node. We can easily change structure of node now, let's expand it.
2023-10-20Add printf format attributes to `rb_parser_config_t`Nobuyoshi Nakada
2023-10-15Remove not used fields from STRyui-knk
2023-10-15Remove not used fields from XSTRyui-knk
2023-10-15Remove not used fields from LITyui-knk
2023-10-15Remove not used fields from MATCHyui-knk
2023-10-14Delete heredoc line mark referencesNobuyoshi Nakada
2023-10-14Manage `rb_strterm_t` without imemoNobuyoshi Nakada
2023-10-11Extract NODE_FL_NEWLINE access to macroyui-knk
2023-10-10Remove not used fields from DEFNyui-knk
2023-10-08Remove not used fields from EVSTRyui-knk
2023-10-07Remove not used fields from asgn nodesyui-knk
2023-10-06Remove not used fields from MATCH3yui-knk
2023-10-06Remove not used fields from YIELDyui-knk
2023-10-06Remove not used fields from ZLISTyui-knk
2023-10-06Remove `NODE_VALUES`Nobuyoshi Nakada
This node type was added for the multi-value experiment back in 2004. The feature itself was removed after a few years, but this is its remnant.
2023-10-05Chain nodes to exit onlyNobuyoshi Nakada
2023-10-05Differentiate `NODE_BREAK`/`NODE_NEXT`/`NODE_RETURN`Nobuyoshi Nakada
2023-10-05Remove unused nodes in NODE_RETURN and NODE_REDONobuyoshi Nakada
2023-10-05Move internal NODE_DEF_TEMP to parse.yNobuyoshi Nakada
2023-10-05Remove not used fields from colon nodesyui-knk
2023-10-04Remove not used fields from variable nodesyui-knk
2023-10-02Remove not used fields from call nodesyui-knk
2023-10-01Use rb_node_args_t and rb_node_args_aux_t instead of NODEyui-knk
2023-10-01Use rb_node_opt_arg_t and rb_node_kw_arg_t instead of NODEyui-knk
2023-09-30Remove not used fields from FOR_MASGNyui-knk
2023-09-30Remove not used fields from OP_ASGN_AND, OP_ASGN_ORyui-knk
2023-09-30Remove not used fields from HASHyui-knk
2023-09-30Remove not used fields from BEGINyui-knk
2023-09-30Remove not used fields from ERRORyui-knk
2023-09-30Remove not used fields from ITER, FORyui-knk
2023-09-30Remove not used fields from MODULE, SCLASSyui-knk
2023-09-30Remove not used fields from ONCEyui-knk
2023-09-30Expand pattern_info struct into ARYPTN Node and FNDPTN Nodeyui-knk
2023-09-30Remove not used fields from ARYPTN, FNDPTNyui-knk
2023-09-30Remove not used fields from argument nodesyui-knk
2023-09-30Remove not used fields from NTH_REF, BACK_REFyui-knk
2023-09-30Remove not used fields from ERRINFOyui-knk