Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove not used fields from variable nodes | yui-knk | 2023-10-04 | 1 | -14/+0 |
| | |||||
* | Remove not used fields from call nodes | yui-knk | 2023-10-02 | 1 | -10/+0 |
| | |||||
* | Use rb_node_args_t and rb_node_args_aux_t instead of NODE | yui-knk | 2023-10-01 | 1 | -1/+1 |
| | |||||
* | Use rb_node_opt_arg_t and rb_node_kw_arg_t instead of NODE | yui-knk | 2023-10-01 | 1 | -4/+4 |
| | |||||
* | Remove not used fields from FOR_MASGN | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Remove not used fields from OP_ASGN_AND, OP_ASGN_OR | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Remove not used fields from HASH | yui-knk | 2023-09-30 | 1 | -1/+0 |
| | |||||
* | Remove not used fields from BEGIN | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Remove not used fields from ERROR | yui-knk | 2023-09-30 | 1 | -4/+0 |
| | |||||
* | Remove not used fields from ITER, FOR | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Remove not used fields from MODULE, SCLASS | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Remove not used fields from ONCE | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Expand pattern_info struct into ARYPTN Node and FNDPTN Node | yui-knk | 2023-09-30 | 1 | -14/+6 |
| | |||||
* | Remove not used fields from ARYPTN, FNDPTN | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Remove not used fields from argument nodes | yui-knk | 2023-09-30 | 1 | -10/+0 |
| | |||||
* | Remove not used fields from NTH_REF, BACK_REF | yui-knk | 2023-09-30 | 1 | -4/+0 |
| | |||||
* | Remove not used fields from ERRINFO | yui-knk | 2023-09-30 | 1 | -4/+0 |
| | |||||
* | Remove not used fields from POSTEXE | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Remove not used fields from DEFINED | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Remove not used fields from AND, OR | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Remove not used fields from LAMBDA | yui-knk | 2023-09-30 | 1 | -2/+0 |
| | |||||
* | Change NODE DEF_TEMP nd_cval to `struct lex_context` | yui-knk | 2023-09-29 | 1 | -11/+0 |
| | |||||
* | Merge NODE_DEF_TEMP and NODE_DEF_TEMP2 | yui-knk | 2023-09-29 | 1 | -9/+1 |
| | |||||
* | Remove not used fields from CASE, CASE2, CASE3 | yui-knk | 2023-09-29 | 1 | -3/+0 |
| | |||||
* | Remove not used fields from ALIAS, VALIAS, UNDEF | yui-knk | 2023-09-29 | 1 | -4/+0 |
| | |||||
* | Remove not used fields from DOT2, DOT3, FLIP2, FLIP3 | yui-knk | 2023-09-29 | 1 | -4/+0 |
| | |||||
* | Merge RNode_OP_ASGN2 and RNode_OP_ASGN22 | yui-knk | 2023-09-29 | 1 | -7/+1 |
| | |||||
* | Remove not used fields from SELF, NIL, TRUE, FALSE | yui-knk | 2023-09-29 | 1 | -14/+0 |
| | |||||
* | Change RNode structure from union to struct | yui-knk | 2023-09-28 | 1 | -92/+1031 |
| | | | | | | | | | | | | | | | | | | | | | | | All kind of AST nodes use same struct RNode, which has u1, u2, u3 union members for holding different kind of data. This has two problems. 1. Low flexibility of data structure Some nodes, for example NODE_TRUE, don’t use u1, u2, u3. On the other hand, NODE_OP_ASGN2 needs more than three union members. However they use same structure definition, need to allocate three union members for NODE_TRUE and need to separate NODE_OP_ASGN2 into another node. This change removes the restriction so make it possible to change data structure by each node type. 2. No compile time check for union member access It’s developer’s responsibility for using correct member for each node type when it’s union. This change clarifies which node has which type of fields and enables compile time check. This commit also changes node_buffer_elem_struct buf management to handle different size data with alignment. | ||||
* | Directly free structure managed by imemo tmpbuf | yui-knk | 2023-09-22 | 1 | -4/+0 |
| | | | | | | | | | NODE_ARGS, NODE_ARYPTN, NODE_FNDPTN manage memory of their structure by imemo tmpbuf Object. However rb_ast_struct has reference to NODE. Then these memory can be freed directly when rb_ast_struct is freed. This commit reduces parser's dependency on CRuby functions. | ||||
* | Replace only use of `snprintf` in parser | Nobuyoshi Nakada | 2023-08-25 | 1 | -5/+0 |
| | |||||
* | Remove SCRIPT_LINES__ related member functions | Nobuyoshi Nakada | 2023-08-25 | 1 | -3/+0 |
| | |||||
* | define back snprintf | 卜部昌平 | 2023-08-25 | 1 | -0/+3 |
| | |||||
* | #include <stdarg.h> for va_list | 卜部昌平 | 2023-08-25 | 1 | -0/+2 |
| | |||||
* | snprintf could be defined | 卜部昌平 | 2023-08-25 | 1 | -0/+1 |
| | | | | include/ruby/subst.h has `#define snprintf` which breaks here. | ||||
* | VALUE is already defined | 卜部昌平 | 2023-08-25 | 1 | -0/+2 |
| | | | | This header is needed only when outside of the project | ||||
* | do not redefine a typedef | 卜部昌平 | 2023-08-25 | 1 | -0/+3 |
| | | | | duplicated typedef declaration was not allowed in C99. | ||||
* | Remove nd_entry from NODE_GASGN and NODE_GVAR | yui-knk | 2023-08-23 | 1 | -1/+0 |
| | | | | | | | After a0f12a0258e4020bd657ee80b7d8f22bd33ea223 NODE_GASGN and NODE_GVAR hold same value on both nd_vid and nd_entry. This commit stops setting value to nd_entry and makes to use only nd_vid. | ||||
* | Remove uneeded fix2int and rational_raw property for Universal Parser | S-H-GAMELINKS | 2023-08-11 | 1 | -2/+0 |
| | |||||
* | Remove uneeded int2big property for Universal Parser | S-H-GAMELINKS | 2023-08-05 | 1 | -1/+0 |
| | |||||
* | Move some macro for universal parser | S-H-GAMELINKS | 2023-07-09 | 1 | -10/+0 |
| | |||||
* | Move ISASCII defination to parse.y | S-H-GAMELINKS | 2023-07-08 | 1 | -1/+0 |
| | |||||
* | Remove `st_functions_t` | Nobuyoshi Nakada | 2023-06-24 | 1 | -3/+0 |
| | |||||
* | Specify int bitfield as signed int bitfield | yui-knk | 2023-06-17 | 1 | -2/+2 |
| | | | | | | | | sunc treats int bitfield as unsigned int. This commit will fix build failure on sunc. * http://rubyci.s3.amazonaws.com/solaris10-sunc/ruby-master/log/20230617T100003Z.fail.html.gz * http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20230617T090011Z.fail.html.gz | ||||
* | Replace parser & node compile_option from Hash to bit field | yui-knk | 2023-06-17 | 1 | -1/+2 |
| | | | | This commit reduces dependency to CRuby object. | ||||
* | [Feature #19719] Universal Parser | yui-knk | 2023-06-12 | 1 | -0/+642 |
Introduce Universal Parser mode for the parser. This commit includes these changes: * Introduce `UNIVERSAL_PARSER` macro. All of CRuby related functions are passed via `struct rb_parser_config_struct` when this macro is enabled. * Add CI task with 'cppflags=-DUNIVERSAL_PARSER' for ubuntu. |