Skip to content

Instantly share code, notes, and snippets.

View LItterBoy-GB's full-sized avatar

Javalitterboy LItterBoy-GB

View GitHub Profile
@LItterBoy-GB
LItterBoy-GB / node2ruby.c
Last active January 25, 2022 07:36 — forked from fate0/node2ruby.c
turn ruby ast to ruby source code
/**********************************************************************
node2ruby.c - ruby node tree to ruby source code
Copyright (C) 2017 fate0
//在 iseq.c 中实现 rb_iseq_nex
VALUE
rb_iseq_nex(NODE *node, VALUE name, VALUE path, VALUE absolute_path,
VALUE parent, enum iseq_type type)