aboutsummaryrefslogtreecommitdiffstats
path: root/universal_parser.c
Commit message (Collapse)AuthorAgeFilesLines
* Manage `rb_strterm_t` without imemoNobuyoshi Nakada2023-10-141-2/+0
|
* Directly free structure managed by imemo tmpbufyui-knk2023-09-221-2/+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.
* C structs cannot have two definitions卜部昌平2023-08-251-0/+2
| | | | Not allowed even the definitions are identical.
* Remove uneeded fix2int and rational_raw property for Universal ParserS-H-GAMELINKS2023-08-111-2/+0
|
* Remove uneeded int2big property for Universal ParserS-H-GAMELINKS2023-08-051-1/+0
|
* Move some macro for universal parserS-H-GAMELINKS2023-07-091-17/+0
|
* Remove ISASCII definitionalitaso3452023-07-091-2/+0
| | | | The ISASCII definition was moved to parse.y( https://github.com/ruby/ruby/pull/8029 ), but the old definition wasn't removed.
* Remove `st_functions_t`Nobuyoshi Nakada2023-06-241-3/+2
|
* [Feature #19719] Universal Parseryui-knk2023-06-121-0/+400
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.